Subversion Repositories wimsdev

Rev

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

  1. !read adm/class/class.lang names.phtml
  2.  
  3. !read adm/css.phtml
  4. !header1
  5.  
  6. !read adm/class/classname.phtml $wims_classname\
  7. $wims_institutionname
  8.  
  9. !read adm/title.phtml 1\
  10. $classname\
  11. $module_title
  12.  
  13. !if $error!=$empty
  14.  <p></p>
  15.  !read lang/msg.phtml.$moduclass_lang
  16. <p></p>
  17.  !href module=home $wims_name_back2
  18. . <p></p>
  19.  !goto end
  20. !endif
  21.  
  22. !form reply
  23.  
  24. !if $wims_user=supervisor
  25.  !default job=user
  26.  !if $job=none
  27.   $name_passwdtype :
  28.   <ul>
  29.    !set ch_$job=checked
  30.    <li><input type="radio" name="job" $ch_user value="user"> $name_userpasswd</li>
  31.    !if $part!=$empty and $job=part
  32.     <li><input type="radio" name="job" $ch_part value="part"> $name_partpasswd <tt>$part</tt> ($name_warning1).</li>
  33.    !endif
  34.    <li><input type="radio" name="job" $ch_class value="class"> $name_classpasswd ($name_warning1).</li>
  35.   </ul>
  36.   $table_header
  37.  
  38.  !else
  39.    $table_header
  40.     $table_tr
  41.      <th colspan="2" align="center">
  42.       $(name_$(job)passwd)
  43.       !if $job=part
  44.        <tt>$part</tt>
  45.       !endif
  46.       <input type="hidden" name="job" value="$job">
  47.      </th>
  48.     </tr>
  49.  !endif
  50. !else
  51.  <input type="hidden" name="job" value="user">
  52.  $table_header
  53. !endif
  54.  !if $job=user or $job=none
  55.   $table_tr
  56.    <td align="right">$name_actualpasswd</td>
  57.    <td><input type="password" size="16" name="old"></td>
  58.   </tr>
  59.  !endif
  60.  $table_tr
  61.   <td align="right">$name_newpasswd</td>
  62.   <td><input type="password" size="42" name="pw1"></td>
  63.  </tr>
  64.  $table_tr
  65.   <td align="right">$name_newpasswd2</td>
  66.   <td><input type="password" size="42" name="pw2"></td>
  67.  </tr>
  68.  $table_tr
  69.   <td colspan="2" align="center"><input type="submit" value="$wims_name_tosave"></td>
  70.  </tr>
  71. $table_end
  72.  <p></p>
  73. <small>$name_jetable
  74. !set wims_ref_class=wims_button_help
  75. !href target=wims_mhelp cmd=help $wims_name_help
  76. </small>
  77. </form>
  78. <p>
  79. $name_alphanumer
  80. !if $wims_user=supervisor
  81.  ($name_emptypasswd).
  82. !endif
  83. </p>
  84. !endif
  85. :end
  86. !tail
  87.  
  88. !distribute item $ into job,pw1,pw2,old
  89.  
  90.