Subversion Repositories wimsdev

Rev

Rev 3095 | Rev 5874 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !!##!! language independant
  2. !if $job2=print and $job isitemof todo,work
  3.  !changeto print$job.phtml
  4. !endif
  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
  9. !header1
  10. <script type="text/javascript" src="scripts/js/wz_tooltip.js" language="Javascript"></script>\
  11.  
  12. !if $cmd=help
  13.  !changeto help.phtml
  14. !endif
  15.  
  16. !headmenu
  17.  
  18. !if $error!=$empty
  19.  !read lang/msg.phtml.$moduclass_lang $error
  20.  !reset job
  21. !endif
  22.  
  23. !read $job.phtml
  24.  
  25. !if $wims_user=supervisor
  26.  !if config notin $job
  27.   !set wims_menu_items=!append line config,1,cmd=renew&job=config to $wims_menu_items
  28.  !endif
  29.  !if save notin $job
  30.   !set wims_menu_items=!append line save,1,cmd=renew&job=save to $wims_menu_items
  31.  !endif
  32.  !if userlist notin $job
  33.   !set wims_menu_items=!append line cls_livret,1,cmd=renew&job=userlist to $wims_menu_items
  34.  !endif
  35.  !if $livret_nbcomp<$maxcomp
  36.   !set wims_menu_items=!append line add_competence,1,cmd=renew&job=addcomp&comp=$[$livret_nbcomp+1] to $wims_menu_items
  37.  !endif
  38. !endif
  39. !set wims_menu_items=!append line refresh,1,cmd=reply\
  40. ,0,\
  41. to $wims_menu_items
  42. !if $wims_user=supervisor
  43.   !set wims_menu_items=!append line part_list,1,cmd=new&module=adm/class/userlist\
  44. to $wims_menu_items
  45. !else
  46.   !set wims_menu_items=!append line myscore,1,cmd=new&module=adm/class/userlist\
  47. to $wims_menu_items
  48. !endif
  49.  
  50.  
  51. !endif
  52.  
  53. !tail
  54.  
  55.