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