Subversion Repositories wimsdev

Rev

Rev 3049 | Rev 3909 | 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.  
  7. !read adm/title.phtml 1\
  8. $wims_classname - $wims_institutionname\
  9. $module_title
  10.  
  11. !if $error!=$empty
  12.  <p></p>
  13.  !read lang/msg.phtml.$moduclass_lang
  14. <p></p>
  15.  !href module=home $wims_name_back2
  16. . <p></p>
  17.  !goto end
  18. !endif
  19.  
  20. !form reply
  21.  
  22. !if $wims_user=supervisor
  23.  $name_passwdtype: <ul>
  24.  !default job=user
  25.  !set ch_$job=checked
  26.  <li><input type=radio name="job" $ch_user value=user> $name_persopasswd
  27.  </li>
  28.  !if $part!=$empty and $job=part
  29.   <li><input type=radio name="job" $ch_part value=part> $name_partpasswd
  30.   <tt>$part</tt> ($name_warning1).</li>
  31.  !endif
  32.  <li><input type=radio name="job" $ch_class value=class> $name_classpasswd
  33.  ($name_warning1).
  34.  </li>
  35.  </ul>
  36. !else
  37.  <input type=hidden name="job" value=user>
  38. !endif
  39. <table>
  40. <tr><td align=right>$name_actualpasswd</td>
  41.         <td><input type=password size=16 name="old"></td></tr>
  42. <tr><td align="right">$name_newpasswd</td>
  43.         <td><input type=password size=42 name="pw1"></td></tr>
  44. <tr><td align="right">$name_newpasswd2</td>
  45.         <td><input type=password size=42 name="pw2"></td></tr>
  46. </table>
  47. <input type=submit value="$wims_name_tosave"> <p></p>
  48. <small>$name_jetable
  49. !set wims_ref_class=wims_button_help
  50. !href target=wims_mhelp cmd=help $wims_name_help
  51. </small>
  52. </form>
  53. <p>
  54. $name_alphanumer
  55. !if $wims_user=supervisor
  56.  ($name_emptypasswd).
  57. !endif
  58. </p>
  59. !endif
  60. :end
  61. !tail
  62.  
  63. !distribute item $ into job,pw1,pw2,old
  64.  
  65.