Subversion Repositories wimsdev

Rev

Rev 12335 | 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. !if $job=addseq and $jquery_defined!=no
  8.   !read js/external/tinymce.phtml .iEdit
  9. !endif
  10. !header1
  11. !if $job!=addseq
  12.   !read adm/title.phtml 1\
  13. $classname\
  14. $module_title
  15. !endif
  16.  
  17. !!if link notin $job
  18. !headmenu
  19. !!endif
  20.  
  21. !if $error=bad_class
  22.   <div class="wims_msg alert">
  23.   !read lang/msg.phtml.$moduclass_lang $error
  24.   </div>
  25.   !tail
  26.   !exit
  27. !endif
  28.  
  29. !if $wims_user=supervisor
  30.   !set wims_menu_items=!append line config,1,cmd=new&job=config\
  31. to $wims_menu_items
  32.   !set wims_menu_items=!append line add_sequence,1,cmd=renew&job=addseq&seq=$[$seq_cnt+1]\
  33. to $wims_menu_items
  34.   !if $job!=show
  35.     !set wims_menu_items=!append line back2,1,cmd=new&job=show\
  36. to $wims_menu_items
  37.   !endif
  38.   !if $wims_sequence>0
  39.     !set wims_menu_items=!append line back2,1,cmd=new&job=show&seq=$wims_sequence\
  40. to $wims_menu_items
  41.   !endif
  42. !endif
  43.  
  44. !read $job.phtml
  45.  
  46. !tail
  47.