ae32b32000-11-27Martin Nilsson <trans-reg project="roxen_config"/>
f32b2a2000-08-19Per Hedbor <topmenu base="../" selected='sites'/>
98fbf81999-10-18Per Hedbor  <content>
f32b2a2000-08-19Per Hedbor <cv-leftside></cv-leftside>
e777572000-02-27Per Hedbor <cv-split>
f32b2a2000-08-19Per Hedbor <subtablist><st-page>
9e4a012000-04-06Per Hedbor <br />
e777572000-02-27Per Hedbor <blockquote>
dd2f1d1999-11-17Per Hedbor 
8ce0072000-09-12Per Hedbor <define variable='var.common'>
f32b2a2000-08-19Per Hedbor <font color='&usr.warncolor;'>&usr.warncolor;&var.error;<br /></font> <b><translate id="269">Site name:</translate></b>
cc75f52000-10-21Martin Nilsson  <input name="name" value="&form.name;" />&form.name;<br />
f32b2a2000-08-19Per Hedbor  <blockquote> <translate id="270">
e3aab72000-07-25Andreas Lange 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>
dd2f1d1999-11-17Per Hedbor 
e3aab72000-07-25Andreas Lange <translate id="248" variable="var.create_txt">Create new site</translate> <translate id="271" variable="var.template_txt">with template</translate>
7aab021999-11-02Per Hedbor 
cc8a332001-02-07Per Hedbor <submit-gbutton2 width='230' align_icon='right' icon_src='&usr.next;'
cc75f52000-10-21Martin Nilsson name="new_with_template">&usr.next;&var.create_txt; &var.template_txt;</submit-gbutton2>
b349a02000-08-21Andreas Lange <br />
cc8a332001-02-07Per Hedbor <submit-gbutton2 width='230' align_icon='right' icon_src='&usr.next;'
cc75f52000-10-21Martin Nilsson name="new">&usr.next;&var.create_txt;</submit-gbutton2>
b349a02000-08-21Andreas Lange <br />
2d5a7f2002-04-18Anders Johansson <cf-cancel href="./"/>
8ce0072000-09-12Per Hedbor </define>
f32b2a2000-08-19Per Hedbor 
8ce0072000-09-12Per Hedbor <if variable="form.name">
cc75f52000-10-21Martin Nilsson  <define variable="var.error" preparse="1"><insert file='verify_site_name.pike' nocache='1' /></define> <if not="1" variable='var.error is error'>
8ce0072000-09-12Per Hedbor  <if variable='form.new_with_template..x'>
cc75f52000-10-21Martin Nilsson  <define variable="form.name" preparse="1"><insert file='encode_form_name.pike' /></define>
8ce0072000-09-12Per Hedbor  <redirect to='create_site_with_template.pike?name=&form.name:http;'/>&form.name:http; </if> <if variable='form.new..x'> <insert file='create_site.pike'/> <redirect to='site.html/&form.name:http;/' />&form.name:http; </if> <else> <eval>&var.common:none;</eval> </else> <true/> </if> </if>
cc75f52000-10-21Martin Nilsson <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>
8ce0072000-09-12Per Hedbor <if variable='var.go'> <eval>&var.common:none;</eval>
f32b2a2000-08-19Per Hedbor </if>
7aab021999-11-02Per Hedbor 
e777572000-02-27Per Hedbor </st-page> </subtablist> </cv-split>
98fbf81999-10-18Per Hedbor </content>