Subversion Repositories wimsdev

Rev

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

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