Subversion Repositories wimsdev

Rev

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