Subversion Repositories wimsdev

Rev

Rev 9544 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !if $wims_class=
  2.   !read adm/language lang/names.phtml
  3. !else
  4.   !read adm/class/classlang names.phtml
  5.   !set modu_lang=$moduclass_lang
  6. !endif
  7. !if $(module_title_$modu_lang)!=
  8.   !set module_title=$(module_title_$modu_lang)
  9. !endif
  10. !read lang/names.phtml.$modu_lang
  11.  
  12. !header1
  13.  
  14. !read adm/title.phtml 1\
  15. WIMS $httpd_HTTP_HOST\
  16. $title_title
  17.  
  18. !if $toomany=yes
  19.  !read lang/toomany.phtml.$modu_lang
  20.  !goto end
  21. !endif
  22.  
  23. !if $error!=$empty
  24.  <div class="wims_msg alert">
  25.  !read lang/msg.phtml.$modu_lang
  26.  </div>
  27.  <p>
  28.  !href module=$module&cmd=reply&step=0 $name_restart
  29.  </p>
  30.  !goto end
  31. !endif
  32.  
  33. !if $step=$empty or $step=0
  34.  !set password=
  35.  !set passsup=
  36.   $name_warning
  37.  !form reply
  38.  <input type="hidden" name="step" value="1" />
  39.  <ul>
  40.  <li>$name_name_forum
  41.   <input size="$titlelim" name="title" value="$title" />
  42. </li><li>
  43. $wims_name_Description (< $desclim $name_characters) :
  44.   <textarea cols="65" rows="5" name="description">$description</textarea>
  45. </li><li>
  46. $name_name_owner
  47.   <input size="$suplim" name="supervisor" value="$supervisor" />
  48. </li><li>
  49. $wims_name_email
  50.   <input size="$emaillim" name="email" value="$email" /> <br />
  51.   ($name_warning1)
  52. </li><li>
  53. $name_choosepass1
  54.   <input size="16" type="password" name="passsup" /> <br />
  55.   ($name_instruction). <br />
  56.   $name_help1
  57. </li><li>
  58. $name_choosepass2
  59.   <input size="16" type="password" name="password" /> <br />
  60.   ($name_instruction). <br />
  61.   $name_help2</li></ul>
  62.  <p class="wimscenter wimsform">
  63.  <input type="submit" value="$name_continue" />
  64.  </p>
  65.  
  66.  !formend
  67.  
  68.  !goto end
  69. !endif
  70.  
  71. !if $step=1
  72.  $name_hello, $supervisor!<p>
  73.  !read lang/names.phtml.$modu_lang step1
  74.  
  75.  !form reply
  76.  <p><input type="hidden" name="step" value="2" />
  77.   $name_ownerpass
  78.  </p><p><input type="password" name="passsup" /> </p>
  79.  !if $pword!=$empty
  80.  <p>
  81.   $name_forumpass
  82.   <input type="password" name="password" />
  83.   </p>
  84.  !endif
  85.  <p class="wimscenter wimsform"><input type="submit" value="$name_continue" /></p>
  86.  
  87.  !formend
  88.  !goto end1
  89. !endif
  90.  
  91. !if $step=2
  92.  $name_hello, $supervisor!<p>
  93. !read lang/names.phtml.$modu_lang step2
  94.  !form reply
  95.  <input type="hidden" name="step" value="3" />
  96.  <p class="wimscenter">$name_code : <input size="16" name="typecode" /></p>
  97.  <p class="wimscenter"><input type="submit" value="$name_continue" /></p>
  98.  
  99.  !formend
  100.  <p>
  101.  $name_warning2
  102.  </p>
  103.  !goto end1
  104. !endif
  105.  
  106. !if $step=3
  107.  $name_hello, $supervisor!<p>
  108. !read lang/names.phtml.$modu_lang step3
  109.  !goto end
  110. !endif
  111.  
  112. :end1
  113. <p>
  114. !set wims_ref_class=wims_secondary_button
  115. !href module=$module&cmd=reply&step=0 $wims_name_giveup
  116. </p>
  117. :end
  118. !tail
  119.  
  120. !set step=
  121.  
  122.