Subversion Repositories wimsdev

Rev

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