Rev 10980 | Rev 11251 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | !form reply |
||
6235 | bpr | 3 | <input type="hidden" name="job" value="$job" /> |
7447 | bpr | 4 | |
5125 | bpr | 5 | !if $auth_method notitemof $auth_method_list |
5138 | bpr | 6 | !if $login=$empty |
7447 | bpr | 7 | <div class="wimscenter">$name_addteacher</div> |
5125 | bpr | 8 | !else |
7447 | bpr | 9 | <div class="wimscenter">$wims_name_modteacher <span class="tt wims_login">$login</span></div> |
5125 | bpr | 10 | !endif |
7447 | bpr | 11 | <fieldset class="property_fields halfwidth blockcenter"> |
7909 | bpr | 12 | <legend>$wims_name_properties</legend> |
7447 | bpr | 13 | <div class="field box"> |
5125 | bpr | 14 | !if $login=$empty |
11236 | bpr | 15 | !set tmp_require=required="required" |
10979 | bpr | 16 | <label for="login">$wims_name_Login</label> |
11236 | bpr | 17 | <input size="30" name="login" value="" id="login" $tmp_require/> |
5125 | bpr | 18 | !else |
11236 | bpr | 19 | !set tmp_require=$empty |
10979 | bpr | 20 | <strong>$wims_name_Login</strong> |
7447 | bpr | 21 | <span class="tt wims_login">$login</span> |
5125 | bpr | 22 | !endif |
7447 | bpr | 23 | </div> |
24 | <div class="field box"> |
||
25 | <label for="pass">$wims_name_Password</label> |
||
11236 | bpr | 26 | <input type="password" size="30" name="pass" value="" id="pass" $tmp_require /> |
7447 | bpr | 27 | </div> |
28 | <div class="field box"> |
||
29 | <label for="pass2">$wims_name_repeat_pass</label> |
||
11236 | bpr | 30 | <input type="password" size="30" name="pass2" value="" id="pass2" $tmp_require /> |
7447 | bpr | 31 | </div> |
32 | <div class="field box"> |
||
33 | <label for="firstname">$wims_name_firstname</label> |
||
11236 | bpr | 34 | <input size="30" name="firstname" value="$firstname" id="firstname" $tmp_require/> |
7447 | bpr | 35 | </div> |
36 | <div class="field box"> |
||
37 | <label for="lastname">$wims_name_lastname</label> |
||
11236 | bpr | 38 | <input size="30" name="lastname" value="$lastname" id="lastname" $tmp_require /> |
7447 | bpr | 39 | </div> |
40 | <div class="field box"> |
||
41 | <label for="email"> $wims_name_email</label> |
||
11236 | bpr | 42 | <input size="30" name="email" value="$email" id="email" /> |
7447 | bpr | 43 | </div> |
5125 | bpr | 44 | !else external |
45 | !if $login=$empty |
||
11236 | bpr | 46 | !set tmp_require=required="required" |
7447 | bpr | 47 | <div class="wimscenter">$name_addteacher</div> |
5125 | bpr | 48 | !else |
11236 | bpr | 49 | !set tmp_require= |
5136 | bpr | 50 | !set user_external_auth=!getdef user_external_auth in wimshome/log/classes/$wims_class/.users/$login |
7447 | bpr | 51 | <div class="wimscenter">$wims_name_modteacher</div> |
5125 | bpr | 52 | !endif |
7447 | bpr | 53 | <fieldset class="property_fields halfwidth blockcenter"> |
5138 | bpr | 54 | !if $login!=$empty |
7447 | bpr | 55 | <div class="field box"> |
56 | <label>$wims_name_Login</label> |
||
7474 | bpr | 57 | <span class="tt wims_login">$login</span> |
7447 | bpr | 58 | <div class="formHelp">$name_internal</div> |
59 | </div> |
||
5125 | bpr | 60 | !endif |
7447 | bpr | 61 | <div class="field box"> |
62 | <label for="user_auth">$wims_name_Login</label> |
||
11236 | bpr | 63 | <input size="30"name="user_auth" value="$user_external_auth" id="user_auth" $tmp_require /> |
7447 | bpr | 64 | <div class="formHelp">$name_external, |
65 | <span class="wims_warning wims_small_remark">$name_login_external |
||
66 | !if $idp_method isitemof $idp_method_list |
||
67 | ($name_idp_external) |
||
68 | !endif |
||
69 | </span> |
||
70 | </div> |
||
71 | </div> |
||
23 | reyssat | 72 | !endif |
5125 | bpr | 73 | |
5643 | bpr | 74 | !if $idp_method notitemof $idp_method_list and $auth_method isitemof $auth_method_list |
7447 | bpr | 75 | <div class="field box"> |
76 | <label for="firstname">$wims_name_firstname</label> |
||
11236 | bpr | 77 | <input size="30" name="firstname" value="$firstname" id="firstname" $tmp_require /> |
7447 | bpr | 78 | <label for="lastname">$wims_name_lastname</label> |
11236 | bpr | 79 | <input size="30" name="lastname" value="$lastname" id="lastname" $tmp_require /> |
7447 | bpr | 80 | </div> |
81 | <div class="field box"> |
||
82 | <label for="email"> $wims_name_email</label> |
||
83 | <input size="30" name="email" value="$email" id="email"/> |
||
84 | </div> |
||
23 | reyssat | 85 | !endif |
7447 | bpr | 86 | !if $user_participate!=$empty |
87 | <div class="field box"> |
||
88 | <label>$name_inscript</label> |
||
89 | <span class="tt">$user_participate</span> |
||
90 | </div> |
||
5136 | bpr | 91 | !endif |
92 | !set user_supervisable=!getdef user_supervisable in wimshome/log/classes/$wims_class/.users/$login |
||
93 | !if $user_supervisable=yes |
||
10980 | bpr | 94 | !set user_supervise=!getdef user_supervise in wimshome/log/classes/$wims_class/.users/$login |
7447 | bpr | 95 | <div class="field box"> |
96 | <label for="up_supervise">$name_gestion</label> |
||
7474 | bpr | 97 | <input size="60" name="up_supervise" id="up_supervise" value="$user_supervise" /> |
7447 | bpr | 98 | <div class="formHelp"><span class="tt">$wims_class/1/101, ... </span></div> |
99 | </div> |
||
5136 | bpr | 100 | !endif |
7474 | bpr | 101 | <div class="wimscenter wimsform"> |
10980 | bpr | 102 | <input type="submit" name="confirm" value="$wims_name_tosave" /> |
10349 | bpr | 103 | $ |
10591 | bpr | 104 | !set wims_ref_class=wims_button wims_secondary_button |
10980 | bpr | 105 | <input type="submit" name="cancel" value="$wims_name_giveup" /> |
106 | </div> |
||
107 | </fieldset> |
||
23 | reyssat | 108 | |
5926 | bpr | 109 | !formend |