Subversion Repositories wimsdev

Rev

Rev 5894 | Rev 5953 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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