<#include "/jeecms_sys/head.html"/>
<@s.m "global.position"/>: <@s.m "cmsSite.function"/> - <@s.m "global.add"/>
" onclick="this.form.action='v_';" class="return-button"/>
<#assign localeDefault><@s.m "cmsSite.locale.default"/> <#assign domainExist><@s.m "cmsSite.error.domainExist"/> <@p.form id="jvForm" action="o_" labelWidth="12"> <@p.text colspan="1" width="50" label="" name="name" style="width:260px" required="true" class="required" maxlength="100"/> <@p.text colspan="1" width="50" label="cmsSite.shortName" name="shortName" required="true" class="required" maxlength="100"/><@> <@p.text colspan="1" width="50" label="cmsSite.domain" name="domain" required="true" maxlength="50" vld="{required:true,remote:'v_',messages:{remote:'${domainExist}'}}"/> <@p.text colspan="1" width="50" label="cmsSite.path" name="path" required="true" class="required" maxlength="20" help=""/><@> <@p.text colspan="1" width="50" label="cmsSite.domainAlias" name="domainAlias" style="width:200px" maxlength="255" help=""/> <@p.text colspan="1" width="50" label="cmsSite.domainRedirect" name="domainRedirect" style="width:200px" maxlength="255" help=""/><@> <@ colspan="1" width="50" label="cmsSite.relativePath" name="relativePath" value="false" list={"true":"global.true","false":"global.false"} required="true" help=""/> <@ colspan="1" width="50" label="cmsSite.protocol" name="protocol" value="http://" list=["http://","https://"] required="true"/><@> <@ colspan="1" width="50" label="cmsSite.dynamicSuffix" name="dynamicSuffix" list=[".jhtml",".htm"] required="true" help=""/> <@ colspan="1" width="50" label="cmsSite.staticSuffix" name="staticSuffix" list=[".html",".shtml"] required="true"/><@> <@ colspan="1" width="50" label="cmsSite.staticDir"> <@p.text name="staticDir" maxlength="50"/> <@ colspan="1" width="50" label="cmsSite.staticIndex" name="staticIndex" value="false" list={"true":"global.true","false":"global.false"} required="true"/><@> <@p.text colspan="1" width="50" label="cmsSite.localeAdmin" name="localeAdmin" value=localeDefault required="true" class="required" maxlength="10"/> <@p.text colspan="1" width="50" label="cmsSite.localeFront" name="localeFront" value=localeDefault required="true" class="required" maxlength="10"/><@> <@ colspan="1" width="50" label="cmsSite.ftp.upload"> <@ name="uploadFtpId" list=ftpList listKey="id" listValue="name" headerKey="" headerValue="global.none"/> <@ colspan="1" width="50" label="cmsSite.resycleOn" name="resycleOn" value="true" list={"true":"global.true","false":"global.false"} required="true"/><@> <@p.text colspan="1" width="50" label="cmsSite.finalStep" name="finalStep" value="2" required="true" class="required digits"/> <@ colspan="1" width="50" label="cmsSite.afterCheck" name="afterCheck" value="2" list={"1":"cmsSite.afterCheck.1","2":"cmsSite.afterCheck.2","3":"cmsSite.afterCheck.3"} required="required"/><@> <@ colspan="2"> <@p.submit code="global.submit"/>   <@p.reset code="global.reset"/>