Rev 10228 | Rev 10630 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8892 | czzmrn | 1 | !if $(module_title_$moduclass_lang)!=$empty |
2 | !set module_title=$(module_title_$moduclass_lang) |
||
3 | !endif |
||
2191 | bpr | 4 | !read adm/class/class.lang names.phtml |
5 | |||
1170 | bpr | 6 | !read adm/css.phtml |
1051 | bpr | 7 | !header1 |
8 | |||
4039 | bpr | 9 | !read adm/class/classname.phtml $wims_classname\ |
4024 | bpr | 10 | $wims_institutionname |
23 | reyssat | 11 | |
1343 | bpr | 12 | !read adm/title.phtml 1\ |
4024 | bpr | 13 | $classname\ |
2134 | bpr | 14 | $module_title |
23 | reyssat | 15 | |
16 | !if $error!=$empty |
||
10228 | bpr | 17 | <div class="wims_msg alert"> |
7451 | bpr | 18 | !read lang/msg.phtml.$moduclass_lang |
5874 | bpr | 19 | </div> |
7143 | bpr | 20 | !set wims_ref_class=wims_button |
21 | <p class="wimscenter"> |
||
2134 | bpr | 22 | !href module=home $wims_name_back2 |
5485 | bpr | 23 | </p> |
23 | reyssat | 24 | !goto end |
25 | !endif |
||
26 | |||
27 | !form reply |
||
28 | |||
29 | !if $wims_user=supervisor |
||
30 | !default job=user |
||
4828 | guerimand | 31 | !if $job=none |
32 | !set ch_$job=checked |
||
7462 | bpr | 33 | <fieldset class="property_fields halfwidth blockcenter"> |
34 | <legend>$wims_name_Password</legend> |
||
35 | <div class="field box"> |
||
36 | $name_passwdtype |
||
37 | <br /> |
||
38 | <input type="radio" name="job" $ch_user value="user" id="job" /> |
||
39 | <label for="job2">$name_userpasswd</label> |
||
4828 | guerimand | 40 | !if $part!=$empty and $job=part |
7462 | bpr | 41 | <br /> |
42 | <input type="radio" name="job" $ch_part value="part" id="job2" /> |
||
43 | <label for="job2">$name_partpasswd</label> |
||
44 | <div class="formHelp"><span class="tt">$part</span> ($name_warning1)</div> |
||
4828 | guerimand | 45 | !endif |
7462 | bpr | 46 | <br /> |
47 | <input type="radio" name="job" $ch_class value="class" id="job3" /> |
||
48 | <label for="job3">$name_classpasswd</label> |
||
8170 | bpr | 49 | <div class="formHelp">$name_warning1.</div> |
7462 | bpr | 50 | </div> |
4828 | guerimand | 51 | !else |
7451 | bpr | 52 | <fieldset class="property_fields halfwidth blockcenter"> |
53 | <legend> |
||
8170 | bpr | 54 | !if $class_type>0 and $job=class |
55 | $(name_$(job)passwdt) |
||
56 | !else |
||
57 | $(name_$(job)passwdt) |
||
58 | !if $job=part |
||
59 | <span class="tt">$part</span> |
||
60 | !endif |
||
4828 | guerimand | 61 | !endif |
7451 | bpr | 62 | </legend> |
6235 | bpr | 63 | <input type="hidden" name="job" value="$job" /> |
23 | reyssat | 64 | !endif |
65 | !else |
||
7451 | bpr | 66 | <input type="hidden" name="job" value="user" /> |
67 | <fieldset class="property_fields halfwidth blockcenter"> |
||
23 | reyssat | 68 | !endif |
4828 | guerimand | 69 | !if $job=user or $job=none |
7451 | bpr | 70 | <div class="field box"> |
71 | <label for="old">$name_actualpasswd</label> |
||
72 | <input type="password" size="16" name="old" id="old" /> |
||
73 | </div> |
||
4828 | guerimand | 74 | !endif |
7451 | bpr | 75 | <div class="field box"> |
76 | <label for="pw1">$name_newpasswd</label> |
||
7462 | bpr | 77 | <input type="password" size="16" name="pw1" id="pw1" required="required"/> |
7451 | bpr | 78 | </div> |
79 | <div class="field box"> |
||
80 | <label for="pw2">$name_newpasswd2</label> |
||
7462 | bpr | 81 | <input type="password" size="16" name="pw2" id="pw2" required="required"/> |
7451 | bpr | 82 | </div> |
83 | <div class="wimscenter wimsform"> |
||
6235 | bpr | 84 | <input type="submit" value="$wims_name_tosave" /> |
10442 | bpr | 85 | !set wims_ref_class=wims_button wims_secondary_button |
9499 | bpr | 86 | !href module=home $wims_name_giveup |
7451 | bpr | 87 | </div> |
88 | </fieldset> |
||
5953 | bpr | 89 | |
6146 | bpr | 90 | <p class="small">$name_jetable |
3075 | bpr | 91 | !set wims_ref_class=wims_button_help |
92 | !href target=wims_mhelp cmd=help $wims_name_help |
||
5874 | bpr | 93 | </p> |
5926 | bpr | 94 | |
95 | !formend |
||
2134 | bpr | 96 | <p> |
97 | $name_alphanumer |
||
23 | reyssat | 98 | !if $wims_user=supervisor |
2134 | bpr | 99 | ($name_emptypasswd). |
23 | reyssat | 100 | !endif |
3075 | bpr | 101 | </p> |
23 | reyssat | 102 | !endif |
103 | :end |
||
104 | !tail |
||
105 | |||
106 | !distribute item $ into job,pw1,pw2,old |
||
107 |