Subversion Repositories wimsdev

Rev

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

  1. !read adm/css.phtml
  2. !read adm/class/classname.phtml $wims_classname\
  3. $wims_institutionname
  4. !header1
  5. !if $job!=addseq
  6. !read adm/title.phtml 1\
  7. $classname\
  8. $module_title
  9. !endif
  10.  
  11. !!if link notin $job
  12. !headmenu
  13. !!endif
  14.  
  15. !if $error=bad_class
  16.  !read lang/msg.phtml.$moduclass_lang $error
  17.  !tail
  18.  !exit
  19. !endif
  20.  
  21. !if $wims_user=supervisor
  22.  !set wims_menu_items=!append line config,1,cmd=new&job=config\
  23. to $wims_menu_items
  24.  !set wims_menu_items=!append line add_sequence,1,cmd=renew&job=addseq&seq=$[$seq_cnt+1]\
  25. to $wims_menu_items
  26.  !if $job!=show
  27.   !set wims_menu_items=!append line back2,1,cmd=new&job=show\
  28. to $wims_menu_items
  29.  !endif
  30.  !if $wims_sequence>0
  31.   !set wims_menu_items=!append line back2,1,cmd=new&job=show&seq=$wims_sequence\
  32. to $wims_menu_items
  33.  !endif
  34. !endif
  35.  
  36. !read $job.phtml
  37.  
  38.  
  39. !tail
  40.  
  41.  
  42.