Subversion Repositories wimsdev

Rev

Rev 15453 | 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.   !set wims_html_header=!append line \
  13.   <style>\
  14.   .check_all_selection{border-bottom:1px solid #ddd;}\
  15.  .arch_filters { display:flex;flex-wrap:wrap;justify-content:space-between;}\
  16.   .arch_filters>div {width:50%}\
  17.   @media print, screen and (min-width: 40em) {\
  18.     .arch_filters>div {width:33%}\
  19.   }\
  20.   </style>\
  21. to $wims_html_header
  22.   !header1
  23. !endif
  24. !read adm/class/classname.phtml $wims_classname\
  25. $wims_institutionname
  26.  
  27. !read adm/title.phtml 1\
  28. $classname ($wims_class)\
  29. $title
  30.  
  31. !if $error!=$empty
  32.   <div class="wims_msg alert">
  33.   !read lang/msg.phtml.$moduclass_lang
  34.   </div>
  35.   !if $wims_user!=supervisor or not_secure iswordof $error
  36.     !goto end
  37.   !endif
  38. !endif
  39.  
  40. !read $job.phtml
  41. !set wims_menu_items=!append line itemsep,0,\
  42.   to $wims_menu_items
  43. !if $wims_theme_version!=0 and $wims_theme_version!=
  44.  !!set wims_menu_items=!append line config,1,cmd=renew to $wims_menu_items
  45.   !if $job=list and $supertype=4 and $classdepth<=3
  46.     !set wims_menu_items=!append line struct,1,module=adm/class/gateway\
  47. to $wims_menu_items
  48.   !endif
  49.   !set wims_menu_items=!append line config_present,1,cmd=reply&job=present\
  50.   config_list,1,cmd=reply&job=list\
  51. config_oef,1,cmd=reply&job=oefdefault\
  52.   to $wims_menu_items
  53.   !if $class_type iswordof 2 3 4
  54.     !set wims_menu_items=!append line config_propagate,1,cmd=reply&job=propagate\
  55. to $wims_menu_items
  56.   !endif
  57.   !if $classdepth<=1
  58.     !set wims_menu_items=!append line itemsep,0,\
  59.  config_auth,1,cmd=reply&job=authtype\
  60.  to $wims_menu_items
  61.   !endif
  62.   !set wims_menu_items=!append line config_secure,1,cmd=reply&job=security\
  63. to $wims_menu_items
  64.  
  65.   !set wims_menu_items=!append line itemsep,0,\
  66. save,1,cmd=reply&job=arch&job2=first\
  67. config_clean,1, cmd=reply&job=clean\
  68. to $wims_menu_items
  69.  
  70. !readproc linkmodule/exploresave.proc
  71. !if $wims_allowlink_exploresave=yes
  72.   !set wims_menu_items=!append line exploresave,1,cmd=new&+module=adm/class/exploresave to $wims_menu_items
  73. !endif
  74.  
  75.   !set wims_menu_items=!append line itemsep,0,\
  76. config_restr,1,cmd=reply&job=access\
  77. config_score,1,cmd=reply&job=grestrict\
  78. to $wims_menu_items
  79.  
  80.   !if neighbor isitemof $joballowlist
  81.     !set wims_menu_items=!append line itemsep,0,\
  82. config_neigh,1,cmd=reply&job=neighbor&job2=first&excls=no\
  83. config_otherserver,1,cmd=reply&job=connect&job2=first\
  84. to $wims_menu_items
  85.   !else
  86.     !set wims_menu_items=!append line itemsep,0,\
  87. config_otherserver,1,cmd=reply&job=connect&job2=first\
  88. to $wims_menu_items
  89.   !endif
  90. !else
  91.   !if $job notwordof list new
  92.     !set wims_menu_items=!append line config,1,cmd=renew&job=list\
  93.  to $wims_menu_items
  94.   !endif
  95. !endif
  96. :end
  97. !tail
  98.  
  99. !reset save, abandon, confirm, clean, allow, except,\
  100.         changeshare, mksharable, stoprec, import, modtoolchg,\
  101.         user_check
  102.