Subversion Repositories wimsdev

Rev

Rev 10705 | Rev 15052 | 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
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
12410 bpr 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
23 reyssat 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
12410 bpr 36
    !set wims_menu_items=!append line struct,1,module=adm/class/gateway\
1457 bpr 37
to $wims_menu_items
10101 bpr 38
  !endif
10386 bpr 39
  !set wims_menu_items=!append line config_present,1,cmd=reply&job=present\
40
  config_list,1,cmd=reply&job=list\
10101 bpr 41
config_oef,1,cmd=reply&job=oefdefault\
1457 bpr 42
  to $wims_menu_items
10101 bpr 43
  !if $class_type iswordof 2 3 4
12410 bpr 44
    !set wims_menu_items=!append line config_propagate,1,cmd=reply&job=propagate\
1465 bpr 45
to $wims_menu_items
10101 bpr 46
  !endif
47
  !if $classdepth<=1
48
    !set wims_menu_items=!append line itemsep,0,\
9809 bpr 49
 config_auth,1,cmd=reply&job=authtype\
1457 bpr 50
 to $wims_menu_items
10101 bpr 51
  !endif
52
  !set wims_menu_items=!append line config_secure,1,cmd=reply&job=security\
1457 bpr 53
to $wims_menu_items
9809 bpr 54
 
10101 bpr 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\
9809 bpr 58
to $wims_menu_items
1465 bpr 59
 
10101 bpr 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
9809 bpr 64
 
10705 guerimand 65
  !if neighbor isitemof $joballowlist
12410 bpr 66
    !set wims_menu_items=!append line itemsep,0,\
10101 bpr 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
12410 bpr 71
    !set wims_menu_items=!append line itemsep,0,\
10705 guerimand 72
config_otherserver,1,cmd=reply&job=connect&job2=first\
73
to $wims_menu_items
74
  !endif
12410 bpr 75
!else
76
  !if $job notwordof list new
77
    !set wims_menu_items=!append line config,1,cmd=renew&job=list\
1457 bpr 78
 to $wims_menu_items
10101 bpr 79
  !endif
23 reyssat 80
!endif
81
:end
82
!tail
83
 
84
!reset save, abandon, confirm, clean, allow, except,\
9099 bpr 85
        changeshare, mksharable, stoprec, import, modtoolchg,\
86
        user_check