Rev 4039 | Rev 5485 | 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 |
3075 | bpr | 16 | <p></p> |
2134 | bpr | 17 | !href module=home $wims_name_back2 |
3075 | bpr | 18 | . <p></p> |
23 | reyssat | 19 | !goto end |
20 | !endif |
||
21 | |||
22 | !form reply |
||
23 | |||
24 | !if $wims_user=supervisor |
||
25 | !default job=user |
||
4828 | guerimand | 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> |
||
23 | reyssat | 49 | !endif |
50 | !else |
||
3909 | bpr | 51 | <input type="hidden" name="job" value="user"> |
4828 | guerimand | 52 | $table_header |
23 | reyssat | 53 | !endif |
4828 | guerimand | 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> |
||
2134 | bpr | 73 | <small>$name_jetable |
3075 | bpr | 74 | !set wims_ref_class=wims_button_help |
75 | !href target=wims_mhelp cmd=help $wims_name_help |
||
23 | reyssat | 76 | </small> |
77 | </form> |
||
2134 | bpr | 78 | <p> |
79 | $name_alphanumer |
||
23 | reyssat | 80 | !if $wims_user=supervisor |
2134 | bpr | 81 | ($name_emptypasswd). |
23 | reyssat | 82 | !endif |
3075 | bpr | 83 | </p> |
23 | reyssat | 84 | !endif |
85 | :end |
||
86 | !tail |
||
87 | |||
88 | !distribute item $ into job,pw1,pw2,old |
||
89 |