Rev 12410 | Rev 15453 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
10101 | bpr | 1 | !default title=$(module_title_$lang) |
2 | !default title=$module_title |
||
3 | !if $job=list |
||
4 | !set title=$wims_name_config_list |
||
5 | !endif |
||
23 | reyssat | 6 | |
7 | !if $cmd=help |
||
12410 | bpr | 8 | !read help.phtml |
9 | !goto end |
||
15052 | obado | 10 | !else |
12410 | bpr | 11 | !read adm/css.phtml |
15052 | obado | 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 |
||
12410 | bpr | 22 | !header1 |
23 | reyssat | 23 | !endif |
4039 | bpr | 24 | !read adm/class/classname.phtml $wims_classname\ |
4023 | bpr | 25 | $wims_institutionname |
23 | reyssat | 26 | |
1348 | bpr | 27 | !read adm/title.phtml 1\ |
10288 | bpr | 28 | $classname ($wims_class)\ |
1348 | bpr | 29 | $title |
23 | reyssat | 30 | |
31 | !if $error!=$empty |
||
12410 | bpr | 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 |
||
23 | reyssat | 38 | !endif |
39 | |||
40 | !read $job.phtml |
||
9809 | bpr | 41 | !set wims_menu_items=!append line itemsep,0,\ |
42 | to $wims_menu_items |
||
1457 | bpr | 43 | !if $wims_theme_version!=0 and $wims_theme_version!= |
10101 | bpr | 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 |
||
12410 | bpr | 46 | !set wims_menu_items=!append line struct,1,module=adm/class/gateway\ |
1457 | bpr | 47 | to $wims_menu_items |
10101 | bpr | 48 | !endif |
10386 | bpr | 49 | !set wims_menu_items=!append line config_present,1,cmd=reply&job=present\ |
50 | config_list,1,cmd=reply&job=list\ |
||
10101 | bpr | 51 | config_oef,1,cmd=reply&job=oefdefault\ |
1457 | bpr | 52 | to $wims_menu_items |
10101 | bpr | 53 | !if $class_type iswordof 2 3 4 |
12410 | bpr | 54 | !set wims_menu_items=!append line config_propagate,1,cmd=reply&job=propagate\ |
1465 | bpr | 55 | to $wims_menu_items |
10101 | bpr | 56 | !endif |
57 | !if $classdepth<=1 |
||
58 | !set wims_menu_items=!append line itemsep,0,\ |
||
9809 | bpr | 59 | config_auth,1,cmd=reply&job=authtype\ |
1457 | bpr | 60 | to $wims_menu_items |
10101 | bpr | 61 | !endif |
62 | !set wims_menu_items=!append line config_secure,1,cmd=reply&job=security\ |
||
1457 | bpr | 63 | to $wims_menu_items |
9809 | bpr | 64 | |
10101 | bpr | 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\ |
||
9809 | bpr | 68 | to $wims_menu_items |
1465 | bpr | 69 | |
10101 | bpr | 70 | !set wims_menu_items=!append line itemsep,0,\ |
71 | config_restr,1,cmd=reply&job=access\ |
||
72 | config_score,1,cmd=reply&job=grestrict\ |
||
73 | to $wims_menu_items |
||
9809 | bpr | 74 | |
10705 | guerimand | 75 | !if neighbor isitemof $joballowlist |
12410 | bpr | 76 | !set wims_menu_items=!append line itemsep,0,\ |
10101 | bpr | 77 | config_neigh,1,cmd=reply&job=neighbor&job2=first&excls=no\ |
78 | config_otherserver,1,cmd=reply&job=connect&job2=first\ |
||
7684 | bpr | 79 | to $wims_menu_items |
10101 | bpr | 80 | !else |
12410 | bpr | 81 | !set wims_menu_items=!append line itemsep,0,\ |
10705 | guerimand | 82 | config_otherserver,1,cmd=reply&job=connect&job2=first\ |
83 | to $wims_menu_items |
||
84 | !endif |
||
12410 | bpr | 85 | !else |
86 | !if $job notwordof list new |
||
87 | !set wims_menu_items=!append line config,1,cmd=renew&job=list\ |
||
1457 | bpr | 88 | to $wims_menu_items |
10101 | bpr | 89 | !endif |
23 | reyssat | 90 | !endif |
91 | :end |
||
92 | !tail |
||
93 | |||
94 | !reset save, abandon, confirm, clean, allow, except,\ |
||
9099 | bpr | 95 | changeshare, mksharable, stoprec, import, modtoolchg,\ |
96 | user_check |