Subversion Repositories wimsdev

Rev

Rev 9115 | Rev 9351 | 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"></script>\
  12.  
  13. !if $cmd=help
  14.  !changeto help.phtml
  15. !endif
  16.  
  17. !headmenu
  18.  
  19. !if $error!=$empty
  20.  <div class="wims_alertmsg">
  21.  !read lang/msg.phtml.$moduclass_lang  $error
  22.  </div>
  23.  !reset job
  24. !endif
  25.  
  26. !read $job.phtml
  27.  
  28. !if $wims_user=supervisor
  29.  !if config notin $job
  30.   !set wims_menu_items=!append line config,1,cmd=renew&job=config to $wims_menu_items
  31.  !endif
  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 userlist notin $job
  36.   !set wims_menu_items=!append line livret,1,cmd=renew&job=userlist 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] to $wims_menu_items
  40.  !endif
  41. !endif
  42. !set wims_menu_items=!append line refresh,1,cmd=reply\
  43. ,0,\
  44. to $wims_menu_items
  45. !if $wims_user=supervisor
  46.   !set wims_menu_items=!append line usermanage,1,cmd=new&module=adm/class/usermanage\
  47. Score1,1,cmd=new&module=adm/class/userscore\
  48. to $wims_menu_items
  49. !else
  50.   !set wims_menu_items=!append line myscore,1,cmd=new&module=adm/class/userscore\
  51. to $wims_menu_items
  52. !endif
  53.  
  54.  
  55. !endif
  56.  
  57. !tail
  58.  
  59.