Subversion Repositories wimsdev

Rev

Rev 10101 | Rev 10288 | 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\
  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_list,1,cmd=reply&job=list\
  40. config_oef,1,cmd=reply&job=oefdefault\
  41. itemsep,0,\
  42. config_present,1,cmd=reply&job=present\
  43.   to $wims_menu_items
  44.   !if $class_type iswordof 2 3 4
  45. !set wims_menu_items=!append line config_propagate,1,cmd=reply&job=propagate\
  46. to $wims_menu_items
  47.   !endif
  48.   !if $classdepth<=1
  49.     !set wims_menu_items=!append line itemsep,0,\
  50.  config_auth,1,cmd=reply&job=authtype\
  51.  to $wims_menu_items
  52.   !endif
  53.   !set wims_menu_items=!append line config_secure,1,cmd=reply&job=security\
  54. to $wims_menu_items
  55.  
  56.   !set wims_menu_items=!append line itemsep,0,\
  57. save,1,cmd=reply&job=arch&job2=first\
  58. config_clean,1, cmd=reply&job=clean\
  59. to $wims_menu_items
  60.  
  61.   !set wims_menu_items=!append line itemsep,0,\
  62. config_restr,1,cmd=reply&job=access\
  63. config_score,1,cmd=reply&job=grestrict\
  64. to $wims_menu_items
  65.  
  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.     !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. !endif
  77. :end
  78. !tail
  79.  
  80. !reset save, abandon, confirm, clean, allow, except,\
  81.         changeshare, mksharable, stoprec, import, modtoolchg,\
  82.         user_check
  83.  
  84.