Subversion Repositories wimsdev

Rev

Rev 2790 | Rev 3212 | 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=bad_class
  19.  !read lang/msg.phtml.$moduclass_lang $error
  20.  !tail
  21.  !exit
  22. !endif
  23.  
  24. !read $job.phtml
  25.  
  26. !if $wims_user=supervisor
  27.  !if config notin $job
  28.   !set wims_menu_items=!append line config,1,cmd=renew&job=config to $wims_menu_items
  29.  !endif
  30.  !if userlist notin $job
  31.   !set wims_menu_items=!append line cls_livret,1,cmd=renew&job=userlist to $wims_menu_items
  32.  !endif
  33.  !set wims_menu_items=!append line add_competence,1,cmd=renew&job=addcomp&comp=$[$livret_nbcomp+1] to $wims_menu_items
  34. !endif
  35. !set wims_menu_items=!append line refresh,1,cmd=reply\
  36. ,0,\
  37. to $wims_menu_items
  38. !if $wims_user=supervisor
  39.   !set wims_menu_items=!append line part_list,1,cmd=new&module=adm/class/userlist\
  40. to $wims_menu_items
  41. !else
  42.   !set wims_menu_items=!append line myscore,1,cmd=new&module=adm/class/userlist\
  43. to $wims_menu_items
  44. !endif
  45.  
  46.  
  47. !endif
  48.  
  49. !tail
  50.  
  51.