Rev 7462 | Rev 8892 | 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"> |
7451 | bpr | 15 | !read lang/msg.phtml.$moduclass_lang |
5874 | bpr | 16 | </div> |
7143 | bpr | 17 | !set wims_ref_class=wims_button |
18 | <p class="wimscenter"> |
||
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 | !set ch_$job=checked |
||
7462 | bpr | 30 | <fieldset class="property_fields halfwidth blockcenter"> |
31 | <legend>$wims_name_Password</legend> |
||
32 | <div class="field box"> |
||
33 | $name_passwdtype |
||
34 | <br /> |
||
35 | <input type="radio" name="job" $ch_user value="user" id="job" /> |
||
36 | <label for="job2">$name_userpasswd</label> |
||
4828 | guerimand | 37 | !if $part!=$empty and $job=part |
7462 | bpr | 38 | <br /> |
39 | <input type="radio" name="job" $ch_part value="part" id="job2" /> |
||
40 | <label for="job2">$name_partpasswd</label> |
||
41 | <div class="formHelp"><span class="tt">$part</span> ($name_warning1)</div> |
||
4828 | guerimand | 42 | !endif |
7462 | bpr | 43 | <br /> |
44 | <input type="radio" name="job" $ch_class value="class" id="job3" /> |
||
45 | <label for="job3">$name_classpasswd</label> |
||
8170 | bpr | 46 | <div class="formHelp">$name_warning1.</div> |
7462 | bpr | 47 | </div> |
4828 | guerimand | 48 | !else |
7451 | bpr | 49 | <fieldset class="property_fields halfwidth blockcenter"> |
50 | <legend> |
||
8170 | bpr | 51 | !if $class_type>0 and $job=class |
52 | $(name_$(job)passwdt) |
||
53 | !else |
||
54 | $(name_$(job)passwdt) |
||
55 | !if $job=part |
||
56 | <span class="tt">$part</span> |
||
57 | !endif |
||
4828 | guerimand | 58 | !endif |
7451 | bpr | 59 | </legend> |
6235 | bpr | 60 | <input type="hidden" name="job" value="$job" /> |
23 | reyssat | 61 | !endif |
62 | !else |
||
7451 | bpr | 63 | <input type="hidden" name="job" value="user" /> |
64 | <fieldset class="property_fields halfwidth blockcenter"> |
||
23 | reyssat | 65 | !endif |
4828 | guerimand | 66 | !if $job=user or $job=none |
7451 | bpr | 67 | <div class="field box"> |
68 | <label for="old">$name_actualpasswd</label> |
||
69 | <input type="password" size="16" name="old" id="old" /> |
||
70 | </div> |
||
4828 | guerimand | 71 | !endif |
7451 | bpr | 72 | <div class="field box"> |
73 | <label for="pw1">$name_newpasswd</label> |
||
7462 | bpr | 74 | <input type="password" size="16" name="pw1" id="pw1" required="required"/> |
7451 | bpr | 75 | </div> |
76 | <div class="field box"> |
||
77 | <label for="pw2">$name_newpasswd2</label> |
||
7462 | bpr | 78 | <input type="password" size="16" name="pw2" id="pw2" required="required"/> |
7451 | bpr | 79 | </div> |
80 | <div class="wimscenter wimsform"> |
||
6235 | bpr | 81 | <input type="submit" value="$wims_name_tosave" /> |
7451 | bpr | 82 | </div> |
83 | </fieldset> |
||
5953 | bpr | 84 | |
6146 | bpr | 85 | <p class="small">$name_jetable |
3075 | bpr | 86 | !set wims_ref_class=wims_button_help |
87 | !href target=wims_mhelp cmd=help $wims_name_help |
||
5874 | bpr | 88 | </p> |
5926 | bpr | 89 | |
90 | !formend |
||
2134 | bpr | 91 | <p> |
92 | $name_alphanumer |
||
23 | reyssat | 93 | !if $wims_user=supervisor |
2134 | bpr | 94 | ($name_emptypasswd). |
23 | reyssat | 95 | !endif |
3075 | bpr | 96 | </p> |
23 | reyssat | 97 | !endif |
98 | :end |
||
99 | !tail |
||
100 | |||
101 | !distribute item $ into job,pw1,pw2,old |
||
102 |