<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="configuration.aspx.cs" Inherits="PirTickets.configuration1" ViewStateEncryptionMode="Never"  %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 179px;
        }
        .style3
        {
            width: 329px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <h2>System Configuration</h2>
<table>
<tr><td class="style3">
Site Title:
    </td><td>
        <asp:TextBox ID="txtHeader" runat="server" MaxLength="100" 
            Width="308px"></asp:TextBox></td></tr>
<tr><td class="style3">
    Company Name:</td><td>
        <asp:TextBox ID="txtcompanyName" runat="server" MaxLength="100" 
            Width="264px"></asp:TextBox></td></tr>
<tr><td class="style3">
    Admin Email:</td><td>
        <asp:TextBox ID="txtAdminEmail" runat="server" MaxLength="100" 
            Width="383px"></asp:TextBox></td></tr>
<tr><td class="style3">
    Address:</td><td>
        <asp:TextBox ID="txtAddress1" runat="server" MaxLength="100" 
            Width="225px"></asp:TextBox></td></tr>
<tr><td class="style3">
    Region:</td><td>
        <asp:TextBox ID="txtRegion" runat="server" MaxLength="100" 
            Width="167px" ontextchanged="txtHeader3_TextChanged"></asp:TextBox></td></tr>
<tr><td class="style3">
    City:</td><td>
        <asp:TextBox ID="txtCity" runat="server" MaxLength="100" 
            Width="135px"></asp:TextBox></td></tr>
<tr><td class="style3">
    Postcode:</td><td>
        <asp:TextBox ID="txtPostcode" runat="server" MaxLength="100" 
            Width="115px"></asp:TextBox></td></tr>
<tr><td class="style3">
    Tel:</td><td>
        <asp:TextBox ID="txtTel" runat="server" MaxLength="100" 
            Width="195px"></asp:TextBox></td></tr>
<tr><td class="style3">
    URL:</td><td>
        <asp:TextBox ID="txtUrl" runat="server" MaxLength="100" 
            Width="383px"></asp:TextBox></td></tr>
<tr><td class="style3">
    Company Reg No.</td><td>
        <asp:TextBox ID="txtCompanyReg" runat="server" MaxLength="100" 
            Width="169px"></asp:TextBox></td></tr>
<tr><td class="style3">
    VAT No. (UK)</td><td>
        <asp:TextBox ID="txtVatNo" runat="server" MaxLength="100" 
            Width="172px"></asp:TextBox></td></tr>
<tr><td class="style3">
    Sales Tax Rate:</td><td>
        <asp:TextBox ID="txtVAT" runat="server" MaxLength="6" Width="47px"></asp:TextBox>
        %<asp:RangeValidator ID="RangeValidator1" runat="server" 
            ControlToValidate="txtVAT" ErrorMessage="Out of Range" MaximumValue="100" 
            MinimumValue="0" Type="Currency"></asp:RangeValidator>
    </td></tr>
<tr><td class="style3">
    Currency Symbol</td><td>
        <asp:TextBox ID="txtCurrSymb" runat="server" MaxLength="3" Width="47px"></asp:TextBox>
    </td></tr>
<tr><td class="style3">
    Sales Tax Name</td><td>
        <asp:TextBox ID="txtSalesTaxName" runat="server" Width="277px"></asp:TextBox>
    </td></tr>
<tr><td class="style3">
    Mail Server</td><td>
        <asp:TextBox ID="txtMailserver" runat="server" MaxLength="100" 
            Width="383px"></asp:TextBox></td></tr>
<tr><td class="style3">
    Mail Username</td><td>
        <asp:TextBox ID="txtUsername" runat="server" MaxLength="30" 
            Width="223px"></asp:TextBox></td></tr>
<tr><td class="style3">
    Mail Password</td><td>
        <asp:TextBox ID="txtPassword" runat="server" MaxLength="30" 
            Width="166px"></asp:TextBox></td></tr>
<tr><td class="style3">
    Notify Technicians</td><td>
        <asp:RadioButtonList ID="rbNotify" runat="server" RepeatDirection="Horizontal">
            <asp:ListItem Selected="True" Value="1">Yes</asp:ListItem>
            <asp:ListItem Value="0">No</asp:ListItem>
        </asp:RadioButtonList>
    </td></tr>
<tr><td class="style3">
    Enforce Peer Review:</td><td>
        <asp:RadioButtonList ID="rbPeerReview" runat="server" 
            RepeatDirection="Horizontal">
            <asp:ListItem Selected="True" Value="1">Yes</asp:ListItem>
            <asp:ListItem Value="0">No</asp:ListItem>
        </asp:RadioButtonList>
    </td></tr>
<tr><td class="style3">
    PC Repair Mode:</td><td>
        <asp:RadioButtonList ID="rbPCMode" runat="server" 
            RepeatDirection="Horizontal">
            <asp:ListItem Selected="True" Value="1">Yes</asp:ListItem>
            <asp:ListItem Value="0">No</asp:ListItem>
        </asp:RadioButtonList>
    </td></tr>
<tr><td class="style3">
    SMS Service Username</td><td>
        <asp:TextBox ID="txtSMSUsername" runat="server" MaxLength="30" Width="220px"></asp:TextBox>
        Trailblazer uses the Intellisoftware sms service.
        <asp:HyperLink ID="HyperLink2" runat="server" 
            NavigateUrl="http://www.intellisoftware.co.uk">www.intellisoftware.co.uk</asp:HyperLink>
    </td></tr>
<tr><td class="style3">
    SMS Password</td><td>
        <asp:TextBox ID="txtSMSPassword" runat="server" MaxLength="30" Width="224px"></asp:TextBox>
    </td></tr>
<tr><td class="style3">
    Licence Key</td><td>
        <asp:TextBox ID="txtLicence" runat="server" MaxLength="50" Width="217px"></asp:TextBox>
    </td></tr>
<tr><td class="style3">
    Comment length on printouts:</td><td>
        <asp:TextBox ID="txtTruncate" runat="server" MaxLength="4" 
            style="margin-left: 0px"></asp:TextBox>
        Chars<asp:RangeValidator ID="RangeValidator2" runat="server" 
            ControlToValidate="txtTruncate" ErrorMessage="Out of Range" MaximumValue="9999" 
            MinimumValue="0" SetFocusOnError="True"></asp:RangeValidator>
    </td></tr>
    <tr><td valign="top" class="style3">

        Front Page Text:</td><td>
            <telerik:RadEditor ID="txtFrontPage" Runat="server" Height="321px" 
                Width="557px" Skin="Simple" BorderStyle="Solid">
                <Content>
</Content>
            </telerik:RadEditor>
        </td></tr>
    <tr><td valign="top" class="style3">

        SideBar Text:</td><td>
            <telerik:RadEditor ID="txtSideBar" Runat="server" Height="320px" Width="557px" 
                Skin="Simple" BorderStyle="Solid">
                <Content>
</Content>
            </telerik:RadEditor></td></tr>
    <tr><td class="style3">

        &nbsp;</td><td>&nbsp;</td></tr>
    <tr><td class="style3">

        &nbsp;</td><td>
            <asp:Button ID="Button1" runat="server" Text="Save" onclick="Button1_Click" 
                Width="64px" />
            <asp:Button ID="Button2" runat="server" Text="Cancel" />
        </td></tr>
</asp:Content>
