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 |
12429 | bpr | 3 | !changeto print$job.phtml |
1319 | guerimand | 4 | !endif |
2790 | guerimand | 5 | !if $job=modpalier |
12429 | bpr | 6 | !let js=!record 0 of js/chooselist.js |
7 | !let wims_html_header=!append line $js to $wims_html_header |
||
2790 | guerimand | 8 | !endif |
4527 | bpr | 9 | !read adm/css.phtml |
1326 | bpr | 10 | !header1 |
1319 | guerimand | 11 | |
2051 | guerimand | 12 | !if $cmd=help |
12429 | bpr | 13 | !changeto help.phtml |
2051 | guerimand | 14 | !endif |
1319 | guerimand | 15 | |
16 | !headmenu |
||
17 | |||
3212 | guerimand | 18 | !if $error!=$empty |
12429 | bpr | 19 | <div class="wims_msg alert"> |
20 | !read lang/msg.phtml.$moduclass_lang $error |
||
21 | </div> |
||
22 | !reset job |
||
23 | !if $wims_class=$empty |
||
24 | !tail |
||
25 | !exit |
||
26 | !endif |
||
1319 | guerimand | 27 | !endif |
28 | |||
29 | !read $job.phtml |
||
30 | |||
31 | !if $wims_user=supervisor |
||
12429 | bpr | 32 | !if config notin $job |
33 | !set wims_menu_items=!append line configb,1,cmd=renew&job=config to $wims_menu_items |
||
34 | !endif |
||
35 | !if save notin $job |
||
36 | !set wims_menu_items=!append line save,1,cmd=renew&job=save to $wims_menu_items |
||
37 | !endif |
||
38 | !if $livret_nbcomp<$maxcomp |
||
39 | !set wims_menu_items=!append line add_competence,1,cmd=renew&job=addcomp&comp=$[$livret_nbcomp+1]\ |
||
12044 | bpr | 40 | to $wims_menu_items |
12429 | bpr | 41 | !endif |
42 | !set wims_menu_items=!append line refresh,1,cmd=reply\ |
||
9351 | bpr | 43 | to $wims_menu_items |
12429 | bpr | 44 | !reset parmuser1 parmuser3 |
45 | !if $user!=$empty and $job!=userlist |
||
9351 | bpr | 46 | !set parmuser1=&job=getuser&getuser=$user |
47 | !set parmuser3=&job=userprop&getuser=$user |
||
48 | !set parmuser4=&job=exobyday&user=$user |
||
49 | !set sc=scores |
||
50 | !set ac=activity1 |
||
12044 | bpr | 51 | !set acc=account |
9351 | bpr | 52 | !else |
53 | !set sc=Score1 |
||
54 | !set ac=activity |
||
12044 | bpr | 55 | !set acc=usermanage |
9351 | bpr | 56 | !endif |
12053 | bpr | 57 | !set wims_menu_items=!append line itemsep,0,$wims_name_manage\ |
12044 | bpr | 58 | $acc,1,module=adm/class/usermanage$parmuser3\ |
12053 | bpr | 59 | itemsep,0,$wims_name_Evaluation\ |
9351 | bpr | 60 | $sc,1,cmd=new&module=adm/class/userscore$parmuser1\ |
61 | $ac,1,cmd=new&module=adm/class/activity$parmuser4\ |
||
62 | to $wims_menu_items |
||
1400 | guerimand | 63 | !endif |
9351 | bpr | 64 | |
2031 | bpr | 65 | !if $wims_user=supervisor |
9351 | bpr | 66 | !if userlist notin $job |
12053 | bpr | 67 | !set wims_menu_items=!append line livret,1,cmd=renew&job=userlist\ |
2031 | bpr | 68 | to $wims_menu_items |
12044 | bpr | 69 | !if $user!=$empty |
70 | !set wims_menu_items=!append line usermanage,1,cmd=new&module=adm/class/usermanage\ |
||
71 | to $wims_menu_items |
||
72 | !endif |
||
9571 | guerimand | 73 | !endif |
2031 | bpr | 74 | !else |
9031 | guerimand | 75 | !set wims_menu_items=!append line myscore,1,cmd=new&module=adm/class/userscore\ |
2031 | bpr | 76 | to $wims_menu_items |
77 | !endif |
||
1400 | guerimand | 78 | |
1319 | guerimand | 79 | !tail |