Rev 10228 | Rev 10386 | 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 |
||
8 | !read help.phtml |
||
9 | !goto end |
||
1170 | bpr | 10 | !else |
11 | !read adm/css.phtml |
||
12 | !header1 |
||
23 | reyssat | 13 | !endif |
4039 | bpr | 14 | !read adm/class/classname.phtml $wims_classname\ |
4023 | bpr | 15 | $wims_institutionname |
23 | reyssat | 16 | |
1348 | bpr | 17 | !read adm/title.phtml 1\ |
10288 | bpr | 18 | $classname ($wims_class)\ |
1348 | bpr | 19 | $title |
23 | reyssat | 20 | |
21 | !if $error!=$empty |
||
10228 | bpr | 22 | <div class="wims_msg alert"> |
2477 | bpr | 23 | !read lang/msg.phtml.$moduclass_lang |
5874 | bpr | 24 | </div> |
23 | reyssat | 25 | !if $wims_user!=supervisor or not_secure iswordof $error |
26 | !goto end |
||
27 | !endif |
||
28 | !endif |
||
29 | |||
30 | !read $job.phtml |
||
9809 | bpr | 31 | !set wims_menu_items=!append line itemsep,0,\ |
32 | to $wims_menu_items |
||
1457 | bpr | 33 | !if $wims_theme_version!=0 and $wims_theme_version!= |
10101 | bpr | 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\ |
||
1457 | bpr | 37 | to $wims_menu_items |
10101 | bpr | 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\ |
||
1457 | bpr | 43 | to $wims_menu_items |
10101 | bpr | 44 | !if $class_type iswordof 2 3 4 |
1465 | bpr | 45 | !set wims_menu_items=!append line config_propagate,1,cmd=reply&job=propagate\ |
46 | to $wims_menu_items |
||
10101 | bpr | 47 | !endif |
48 | !if $classdepth<=1 |
||
49 | !set wims_menu_items=!append line itemsep,0,\ |
||
9809 | bpr | 50 | config_auth,1,cmd=reply&job=authtype\ |
1457 | bpr | 51 | to $wims_menu_items |
10101 | bpr | 52 | !endif |
53 | !set wims_menu_items=!append line config_secure,1,cmd=reply&job=security\ |
||
1457 | bpr | 54 | to $wims_menu_items |
9809 | bpr | 55 | |
10101 | bpr | 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\ |
||
9809 | bpr | 59 | to $wims_menu_items |
1465 | bpr | 60 | |
10101 | bpr | 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 |
||
9809 | bpr | 65 | |
10101 | bpr | 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\ |
||
7684 | bpr | 69 | to $wims_menu_items |
10101 | bpr | 70 | !else |
71 | !if $job notwordof list new |
||
72 | !set wims_menu_items=!append line config,1,cmd=renew&job=list\ |
||
1457 | bpr | 73 | to $wims_menu_items |
10101 | bpr | 74 | !endif |
75 | !endif |
||
23 | reyssat | 76 | !endif |
77 | :end |
||
78 | !tail |
||
79 | |||
80 | !reset save, abandon, confirm, clean, allow, except,\ |
||
9099 | bpr | 81 | changeshare, mksharable, stoprec, import, modtoolchg,\ |
82 | user_check |
||
23 | reyssat | 83 |