Rev 10228 | Rev 12053 | 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 |
30 | !set wims_menu_items=!append line config,1,cmd=renew&job=config to $wims_menu_items |
||
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 |
9810 | bpr | 39 | !set wims_menu_items=!append line itemsep,0,\ |
9351 | bpr | 40 | refresh,1,cmd=reply\ |
41 | to $wims_menu_items |
||
42 | !reset parmuser1 parmuser3 |
||
43 | !if $user!=$empty and $job!=userlist |
||
44 | !set parmuser1=&job=getuser&getuser=$user |
||
45 | !set parmuser3=&job=userprop&getuser=$user |
||
46 | !set parmuser4=&job=exobyday&user=$user |
||
47 | !set sc=scores |
||
48 | !set ac=activity1 |
||
12044 | bpr | 49 | !set acc=account |
9351 | bpr | 50 | !else |
51 | !set sc=Score1 |
||
52 | !set ac=activity |
||
12044 | bpr | 53 | !set acc=usermanage |
9351 | bpr | 54 | !endif |
9810 | bpr | 55 | !set wims_menu_items=!append line itemsep,0,\ |
12044 | bpr | 56 | $acc,1,module=adm/class/usermanage$parmuser3\ |
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 |
12044 | bpr | 64 | !set wims_menu_items=!append line itemsep,0,\ |
9351 | bpr | 65 | part_list,1,cmd=renew&job=userlist\ |
2031 | bpr | 66 | to $wims_menu_items |
12044 | bpr | 67 | !if $user!=$empty |
68 | !set wims_menu_items=!append line usermanage,1,cmd=new&module=adm/class/usermanage\ |
||
69 | to $wims_menu_items |
||
70 | !endif |
||
9571 | guerimand | 71 | !endif |
2031 | bpr | 72 | !else |
9031 | guerimand | 73 | !set wims_menu_items=!append line myscore,1,cmd=new&module=adm/class/userscore\ |
2031 | bpr | 74 | to $wims_menu_items |
75 | !endif |
||
1400 | guerimand | 76 | |
1319 | guerimand | 77 | !tail |