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