Subversion Repositories wimsdev

Rev

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

  1.  
  2. !if $cmd=help
  3.  !read help.phtml
  4.  !goto end
  5.  !else
  6.  !read adm/css.phtml
  7.  !header1
  8. !endif
  9.  
  10. !read adm/title.phtml 1\
  11. $wims_classname - $wims_institutionname\
  12. $title
  13.  
  14.  
  15. !if $error!=$empty
  16.  !read lang/msg.phtml.$moduclass_lang
  17.  !if $wims_user!=supervisor or not_secure iswordof $error
  18.   !goto end
  19.  !endif
  20.  <p>
  21. !endif
  22.  
  23. !read $job.phtml
  24.  
  25. !if $wims_theme_version!=0 and $wims_theme_version!=
  26.  !set wims_menu_items=!append line config,1,cmd=renew&job=list\
  27. to $wims_menu_items
  28. !if $job=list and $supertype=4 and $classdepth<=3
  29. !set wims_menu_items=!append line struct,1,adm/class/gateway\
  30. to $wims_menu_items
  31. !endif
  32. !set wims_menu_items=!append line ,0,\
  33. to $wims_menu_items
  34. !set wims_menu_items=!append line config_present,1,cmd=reply&job=present\
  35. to $wims_menu_items
  36. !set wims_menu_items=!append line config_oef,1,cmd=reply&job=oefdefault\
  37.   to $wims_menu_items
  38. !if $class_type iswordof 2 3 4
  39. !set wims_menu_items=!append line config_propagate,1,cmd=reply&job=propagate\
  40. to $wims_menu_items
  41. !endif
  42. !set wims_menu_items=!append line ,0,\
  43.  to $wims_menu_items
  44. !set wims_menu_items=!append line save,1,cmd=reply&job=arch&job2=first\
  45. to $wims_menu_items
  46. !set wims_menu_items=!append line config_secure,1,cmd=reply&job=security\
  47. to $wims_menu_items
  48. !if $classdepth<=1
  49.  !set wims_menu_items=!append line config_auth,1,cmd=reply&job=authtype\
  50.  to $wims_menu_items
  51. !endif
  52.  
  53. !set wims_menu_items=!append line config_clean,1, cmd=reply&job=clean\
  54. to $wims_menu_items
  55. !set wims_menu_items=!append line ,0,\
  56.  to $wims_menu_items
  57.  !set wims_menu_items=!append line config_restr,1,cmd=reply&job=access\
  58.   to $wims_menu_items
  59. !set wims_menu_items=!append line config_score,1,cmd=reply&job=grestrict\
  60. to $wims_menu_items
  61. !set wims_menu_items=!append line ,0,\
  62.  to $wims_menu_items
  63. !set wims_menu_items=!append line config_neigh,1,cmd=reply&job=neighbor&job2=first&excls=no\
  64. to $wims_menu_items
  65. !set wims_menu_items=!append line config_otherserver,1,cmd=reply&job=connect&job2=first\
  66. to $wims_menu_items
  67. !else
  68.  !if $job notwordof list new
  69.   !set wims_menu_items=!append line config,1,cmd=renew&job=list\
  70.  to $wims_menu_items
  71.  !endif
  72. !endif
  73. :end
  74. !tail
  75.  
  76. !reset save, abandon, confirm, clean, allow, except,\
  77.         changeshare, mksharable, stoprec, import, modtoolchg
  78.  
  79.