Subversion Repositories wimsdev

Rev

Rev 9099 | Rev 10101 | 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. !set wims_menu_items=!append line itemsep,0,\
  28.   to $wims_menu_items
  29. !if $wims_theme_version!=0 and $wims_theme_version!=
  30.  !set wims_menu_items=!append line config,1,cmd=renew&job=list\
  31. to $wims_menu_items
  32. !if $job=list and $supertype=4 and $classdepth<=3
  33. !set wims_menu_items=!append line struct,1,module=adm/class/gateway\
  34. to $wims_menu_items
  35. !endif
  36. !set wims_menu_items=!append line config_present,1,cmd=reply&job=present\
  37. to $wims_menu_items
  38. !set wims_menu_items=!append line config_oef,1,cmd=reply&job=oefdefault\
  39.   to $wims_menu_items
  40. !if $class_type iswordof 2 3 4
  41. !set wims_menu_items=!append line config_propagate,1,cmd=reply&job=propagate\
  42. to $wims_menu_items
  43. !endif
  44. !if $classdepth<=1
  45.  !set wims_menu_items=!append line itemsep,0,\
  46.  config_auth,1,cmd=reply&job=authtype\
  47.  to $wims_menu_items
  48. !endif
  49. !set wims_menu_items=!append line config_secure,1,cmd=reply&job=security\
  50. to $wims_menu_items
  51.  
  52. !set wims_menu_items=!append line itemsep,0,\
  53.  to $wims_menu_items
  54. !set wims_menu_items=!append line save,1,cmd=reply&job=arch&job2=first\
  55. to $wims_menu_items
  56.  
  57.  
  58. !set wims_menu_items=!append line config_clean,1, cmd=reply&job=clean\
  59. to $wims_menu_items
  60. !set wims_menu_items=!append line itemsep,0,\
  61.  to $wims_menu_items
  62.  !set wims_menu_items=!append line config_restr,1,cmd=reply&job=access\
  63.   to $wims_menu_items
  64. !set wims_menu_items=!append line config_score,1,cmd=reply&job=grestrict\
  65. to $wims_menu_items
  66. !set wims_menu_items=!append line itemsep,0,\
  67.  to $wims_menu_items
  68. !set wims_menu_items=!append line config_neigh,1,cmd=reply&job=neighbor&job2=first&excls=no\
  69. to $wims_menu_items
  70. !set wims_menu_items=!append line config_otherserver,1,cmd=reply&job=connect&job2=first\
  71. to $wims_menu_items
  72. !else
  73.  !if $job notwordof list new
  74.   !set wims_menu_items=!append line config,1,cmd=renew&job=list\
  75.  to $wims_menu_items
  76.  !endif
  77. !endif
  78. :end
  79. !tail
  80.  
  81. !reset save, abandon, confirm, clean, allow, except,\
  82.         changeshare, mksharable, stoprec, import, modtoolchg,\
  83.         user_check
  84.  
  85.