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