<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="CSEasyScriptSectionTitle.aspx.vb" Inherits="CSEasyScript.CSEasyScriptSectionTitle" %>
<%@ register tagprefix="ex" namespace="Exact.Web.UI.Controls" assembly="Exact.Web.UI.Controls" %>

<html>
<head>
	<meta name="save" content="history" />
	<link rel="stylesheet" type="text/css" href="Exact.css" />
</head>
<body>

	<ep:form id="frm" runat="server">
        <ex:InputField runat="server" ID="SectionID" CreateClientControl="True" Hidden="True" ValidationAs="Guid" />
		<ex:InputField runat="server" ID="RemoveTranslation" CreateClientControl="True" Hidden="True" ValidationAs="Int" />

        <ex:CardControl runat="server" ID="Card" Action="Show" Customizable="false">

            <ex:Header runat="server" ID="hdr">
            </ex:Header>

            <ex:ButtonBar runat="server" ID="Buttons">
                <ex:Button runat="server" ID="btnSave" ButtonStyle="Save" OnClick="SysSubmit(1);" />
				<ex:Button runat="server" ID="btnDelete" ButtonStyle="Delete" OnClick="SysSet('RemoveTranslation', 1); SysSubmit(1);" />
                <ex:Button runat="server" ID="btnClose" ButtonStyle="Close" />
            </ex:ButtonBar>

            <ex:bcerrormessages runat="server" id="errMsg" />
              
			<ex:cardrow runat="server" id="Cardrow2">
				<ex:cardcolumn runat="server" id="Cardcolumn2">
					<ex:cardsection runat="server" id="csTitle" caption="Title" captionid="10189" showheader="false">
			            <ex:cardfield runat="server" id="cfTitle" caption="Title" captionid="10189">
				            <ex:inputfield runat="server" id="Caption" InputSize="50" /> <ex:literal runat="server" id="CaptionCurrentLanguage" htmlencoded="false" />
			            </ex:cardfield>
					</ex:cardsection>

					<ex:cardsection runat="server" id="csLanguages" showheader="false">
						<ex:cardfield runat="server" id="cfLanguages" showlabel="false">
							<ex:literal runat="server" id="litLanguages" caption="Add the translations of this term into other languages" captionid="37195" /><br /><br />
							<ex:listview runat="server" id="lstLanguages" showpagesize="false" autopostback="true" scrollbar="None" >
								<ex:listviewcolumn id="colLanguage" caption="Language" captionid="1675" width="40%" />
								<ex:listviewcolumn id="colTranslation" caption="Translation" captionid="316" width="60%" />
							</ex:listview>
						</ex:cardfield>
					</ex:cardsection>
				</ex:cardcolumn>
			</ex:cardrow>

        </ex:CardControl>
    </ep:form>
</body>
</html>
