Subversion Repositories wimsdev

Rev

Rev 5696 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
 
1438 bpr 2
!read adm/title.phtml 3\
5309 bpr 3
$wims_name_account_property\
4
($wims_class)
23 reyssat 5
!if $error!=$empty
2407 bpr 6
 !read lang/msg.phtml.$moduclass_lang
23 reyssat 7
 <p><hr> <p>
8
!endif
9
 
5050 bpr 10
!read adm/class/initclass $wims_class
23 reyssat 11
!set inplen=40
12
!form reply
5734 bpr 13
<input type="hidden" name="job" value="userprop"/>
14
<input type="hidden" name="getuser" value="$getuser"/>
23 reyssat 15
<p>$table_header
5225 guerimand 16
$table_tr
17
 <th>$wims_name_Login</th>
18
 <td><tt>$getuser</tt>
5426 guerimand 19
  !if $getuser isitemof $wims_connectedlogin and $wims_user=supervisor
5696 bpr 20
    <img src="gifs/themes/$wims_theme_icon/connected.png" width="15" />
5225 guerimand 21
   !endif
22
 </td>
23
</tr>
5374 bpr 24
!if $type_class iswordof 2 4 or ($class_Supervisor=$wims_realuser and $wims_class!=$wims_superclass and $wims_realuser!=$getuser)
25
  !if $user_participate!=$empty and $type_class iswordof 2 4
5120 bpr 26
    $table_tr<th>$name_inscript</th><td><tt>$user_participate</tt></td></tr>
27
  !endif
5124 bpr 28
  !if $user_supervisable=yes
29
    $table_tr<th>$name_gestion</th><td>
5374 bpr 30
    !if $type_class iswordof 2 4
5734 bpr 31
     <input size="$inplen" name="up_supervise" id="up_supervise" value="$user_supervise"/>
5480 bpr 32
     <tt>$wims_class/1, ... </tt></td></tr>
5374 bpr 33
    !else
34
      !if $wims_class isitemof $user_supervise
35
        !set superv=yes
36
      !else
37
        !set superv=no
38
      !endif
39
     !formradio superv list yes,no prompt $wims_name_yes, $wims_name_no
40
     !set up_firstname=$user_firstname
41
     !set up_lastname=$user_lastname
42
    !endif
5120 bpr 43
  !endif
44
!endif
5374 bpr 45
!if $user_supervisable=yes and $getuser!=$wims_realuser and $type_class notwordof 2 4
46
 !goto end
47
 !exit
48
!endif
5050 bpr 49
!if $class_auth=$empty or $wims_user=supervisor
50
$table_tr<th>$wims_name_Password</th><td>
1587 bpr 51
        !href module=adm/class/passwd&job=part&part=$getuser $name_change
5120 bpr 52
</td></tr>
53
!endif
5050 bpr 54
$table_tr<th><label for="up_lastname">$wims_name_lastname</label></th><td>
5734 bpr 55
        <input size="$inplen" name="up_lastname" id="up_lastname" value="$user_lastname"/></tr></tr>
5050 bpr 56
$table_tr<th><label for="up_firstname">$wims_name_firstname</label></th><td>
5734 bpr 57
        <input size="$inplen" name="up_firstname" id="up_firstname" value="$user_firstname"/></td></tr>
5050 bpr 58
$table_tr<th><label for="up_email">$wims_name_email</label></th><td>
5734 bpr 59
        <input size="$inplen" name="up_email" id="up_email" value="$user_email"/></td></tr>
5050 bpr 60
$table_tr<th><label for="up_regnum">$name_regnum</label></th><td>
5734 bpr 61
        <input size="$inplen" name="up_regnum" id="up_regnum" value="$user_regnum"/></td></tr>
5050 bpr 62
$table_tr<th><label for="up_photourl">$name_photourl</label></th><td>
5734 bpr 63
        <input size="$inplen" name="up_photourl" id="up_photourl" value="$user_photourl"/></td></tr>
23 reyssat 64
!if $wims_user=supervisor
5050 bpr 65
 $table_tr<th><label for="up_comments">$name_comments</label></th><td>
5734 bpr 66
        <input size="$inplen" name="up_comments" id="up_comments" value="$user_comments"/></td></tr>
1587 bpr 67
 $table_tr<th><label for="up_vars">$name_vars</label></th><td>
5051 bpr 68
        <textarea wrap="off" cols="$[$inplen-1]" rows="4" name="up_vars" id="up_vars">$user_vars</textarea></td></tr>
69
  $table_tr<th><label for="up_external_auth">$name_external_auth</label></th><td>
5734 bpr 70
        <input size="$inplen" name="up_external_auth" id="up_external_auth" value="$user_external_auth"/>
5309 bpr 71
        !set wims_ref_class=wims_button_help
72
!href cmd=help&special_parm=authentification $wims_name_help
73
</td></tr>
1643 bpr 74
!else
5050 bpr 75
 $table_tr<th><label for="passcheck">$name_classpassword</label></th><td>
5734 bpr 76
        <input size="14" type="password" name="passcheck" id="passcheck"/> <br>
5050 bpr 77
        <small>$name_enterpassword</small></td>
23 reyssat 78
!endif
5374 bpr 79
:end
3928 bpr 80
$table_hdtr<td align="center" colspan="2">
5734 bpr 81
<input type="submit" name="reg" value="$wims_name_tosave"/> &nbsp;
82
<input type="submit" name="abandon" value="$wims_name_giveup"/></td>
23 reyssat 83
$table_end
84
</form>
1587 bpr 85
 
2031 bpr 86
 
87
!if $wims_user=supervisor
88
 !set wims_menu_items=!append line Score1,1,cmd=reply&job=getuser&getuser=$getuser\
1643 bpr 89
to $wims_menu_items
90
 !set wims_menu_items=!append line workdetail,1,cmd=reply&job=getraw&getraw=$getuser\
1295 bpr 91
 delprep,1,cmd=reply&job=delprep&delprep=$getuser\
1609 bpr 92
 part_list,1,cmd=resume\
1336 bpr 93
to $wims_menu_items
2031 bpr 94
!else
95
 !set wims_menu_items=!append line class_home,1,module=home\
96
to $wims_menu_items
23 reyssat 97
!endif
1587 bpr 98
 
23 reyssat 99
!reset reg,abandon
100