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