Subversion Repositories wimsdev

Rev

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

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