Rev 12044 | Rev 12359 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1479 | bpr | 1 | !!##!! language independant |
1319 | guerimand | 2 | !if $job2=print and $job isitemof todo,work |
3 | !changeto print$job.phtml |
||
4 | !endif |
||
2790 | guerimand | 5 | !if $job=modpalier |
6 | !let js=!record 0 of js/chooselist.js |
||
7 | !let wims_html_header=!append line $js to $wims_html_header |
||
8 | !endif |
||
4527 | bpr | 9 | !read adm/css.phtml |
1326 | bpr | 10 | !header1 |
5956 | bpr | 11 | <script type="text/javascript" src="scripts/js/wz_tooltip.js"></script>\ |
1319 | guerimand | 12 | |
2051 | guerimand | 13 | !if $cmd=help |
14 | !changeto help.phtml |
||
15 | !endif |
||
1319 | guerimand | 16 | |
17 | !headmenu |
||
18 | |||
3212 | guerimand | 19 | !if $error!=$empty |
10228 | bpr | 20 | <div class="wims_msg alert"> |
5874 | bpr | 21 | !read lang/msg.phtml.$moduclass_lang $error |
22 | </div> |
||
3212 | guerimand | 23 | !reset job |
1319 | guerimand | 24 | !endif |
25 | |||
26 | !read $job.phtml |
||
27 | |||
28 | !if $wims_user=supervisor |
||
1400 | guerimand | 29 | !if config notin $job |
12053 | bpr | 30 | !set wims_menu_items=!append line configb,1,cmd=renew&job=config to $wims_menu_items |
1400 | guerimand | 31 | !endif |
3212 | guerimand | 32 | !if save notin $job |
33 | !set wims_menu_items=!append line save,1,cmd=renew&job=save to $wims_menu_items |
||
34 | !endif |
||
35 | !if $livret_nbcomp<$maxcomp |
||
12044 | bpr | 36 | !set wims_menu_items=!append line add_competence,1,cmd=renew&job=addcomp&comp=$[$livret_nbcomp+1]\ |
37 | to $wims_menu_items |
||
3212 | guerimand | 38 | !endif |
12053 | bpr | 39 | !set wims_menu_items=!append line refresh,1,cmd=reply\ |
9351 | bpr | 40 | to $wims_menu_items |
41 | !reset parmuser1 parmuser3 |
||
42 | !if $user!=$empty and $job!=userlist |
||
43 | !set parmuser1=&job=getuser&getuser=$user |
||
44 | !set parmuser3=&job=userprop&getuser=$user |
||
45 | !set parmuser4=&job=exobyday&user=$user |
||
46 | !set sc=scores |
||
47 | !set ac=activity1 |
||
12044 | bpr | 48 | !set acc=account |
9351 | bpr | 49 | !else |
50 | !set sc=Score1 |
||
51 | !set ac=activity |
||
12044 | bpr | 52 | !set acc=usermanage |
9351 | bpr | 53 | !endif |
12053 | bpr | 54 | !set wims_menu_items=!append line itemsep,0,$wims_name_manage\ |
12044 | bpr | 55 | $acc,1,module=adm/class/usermanage$parmuser3\ |
12053 | bpr | 56 | itemsep,0,$wims_name_Evaluation\ |
9351 | bpr | 57 | $sc,1,cmd=new&module=adm/class/userscore$parmuser1\ |
58 | $ac,1,cmd=new&module=adm/class/activity$parmuser4\ |
||
59 | to $wims_menu_items |
||
1400 | guerimand | 60 | !endif |
9351 | bpr | 61 | |
2031 | bpr | 62 | !if $wims_user=supervisor |
9351 | bpr | 63 | !if userlist notin $job |
12053 | bpr | 64 | !set wims_menu_items=!append line livret,1,cmd=renew&job=userlist\ |
2031 | bpr | 65 | to $wims_menu_items |
12044 | bpr | 66 | !if $user!=$empty |
67 | !set wims_menu_items=!append line usermanage,1,cmd=new&module=adm/class/usermanage\ |
||
68 | to $wims_menu_items |
||
69 | !endif |
||
9571 | guerimand | 70 | !endif |
2031 | bpr | 71 | !else |
9031 | guerimand | 72 | !set wims_menu_items=!append line myscore,1,cmd=new&module=adm/class/userscore\ |
2031 | bpr | 73 | to $wims_menu_items |
74 | !endif |
||
1400 | guerimand | 75 | |
1319 | guerimand | 76 | !tail |