Roxen.git / server / config_interface / sites / new_site.html

version» Context lines:

Roxen.git/server/config_interface/sites/new_site.html:1: + <trans-reg project="roxen_config"/> + <topmenu base="../" selected='sites'/>    -  + <content> + <cv-leftside></cv-leftside> + <cv-split> + <subtablist><st-page> + <br /> + <blockquote> +  + <define variable='var.common'> + <font color='&usr.warncolor;'>&var.error;<br /></font> +  <b><translate id="269">Site name:</translate></b> +  <input name="name" value="&form.name;" /><br /> +  <blockquote> +  <translate id="270"> + The name of the configuration must contain characters + other than space and tab, it should not end with + ~, and it must not be 'CVS', 'Global Variables' or + 'global variables', nor the name of an existing + configuration, and the character '/' cannot be + used. This name will show up in the sites menu, a + lowercased, filesystem-friendly version will become + the virtual server's configuration file name as well + as the name of its log file directory. + </translate> + </blockquote> +  + <translate id="248" variable="var.create_txt">Create new site</translate> + <translate id="271" variable="var.template_txt">with template</translate> +  + <submit-gbutton2 width='230' align_icon='right' icon_src='/internal-roxen-next' + name="new_with_template">&var.create_txt; &var.template_txt;</submit-gbutton2> + <br /> + <submit-gbutton2 width='230' align_icon='right' icon_src='/internal-roxen-next' + name="new">&var.create_txt;</submit-gbutton2> + <br /> + <cf-cancel/> + </define> +  + <if variable="form.name"> +  <define variable="var.error" preparse="1"><insert file='verify_site_name.pike' nocache='1' /></define> +  <if not="1" variable='var.error is error'> +  <if variable='form.new_with_template..x'> +  <define variable="form.name" preparse="1"><insert file='encode_form_name.pike' /></define> +  <redirect to='create_site_with_template.pike?name=&form.name:http;'/> +  </if> +  <if variable='form.new..x'> +  <insert file='create_site.pike'/> +  <redirect to='site.html/&form.name:http;/' /> +  </if> +  <else> +  <eval>&var.common:none;</eval> +  </else> +  <true/> +  </if> + </if> + <if variable='var.error is error'><define variable="var.error" preparse="1"><translate id="296">Illegal site name</translate></define><set variable="var.go" value='1' /></if> + <if not="1" variable='form.name'><set variable="var.go" value='1' /></if> + <if variable='var.go'> +  <eval>&var.common:none;</eval> + </if> +  + </st-page> + </subtablist> + </cv-split> + </content>