Subversion Repositories wimsdev

Rev

Rev 16070 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4870 bpr 1
 
1170 bpr 2
!read adm/css.phtml
2389 bpr 3
!if $(module_title_$modu_lang)!=
12498 bpr 4
  !set module_title=$(module_title_$modu_lang)
2389 bpr 5
!endif
6
!read lang/names.phtml.$modu_lang
4876 bpr 7
!if $job iswordof edfile showfile diff restore
4870 bpr 8
  !set typetest=!module category devel/$auth_login/$mod
9
  !if doc notitemof $typetest
10
    !if .oef_ isin $(fname)_ or .cpp_ isin $(fname)_
11
      !set edit_area_syntax=wimsoef
12
    !else
13
      !if .phtml_ isin $(fname)_ or .proc_ isin $(fname)_
14
        !set edit_area_syntax=wims
15
      !else
16
        !set edit_area_syntax=wimsdata
17
      !endif
18
    !endif
19
  !endif
4876 bpr 20
  !if $job iswordof diff or ($job=restore and $confirm=diffcheck)
21
     !set edit_area_syntax=diff
7237 bpr 22
  !endif
4870 bpr 23
  !if $job=edfile
24
    !read js/edit_area.phtml wims_deposit $edit_area_syntax
25
  !else
26
    !read js/edit_area.phtml wims_show $edit_area_syntax
27
  !endif
28
!endif
23 reyssat 29
!header
30
 
31
!if $error!=$empty
12498 bpr 32
  <div class="wims_msg alert">
33
  !read lang/msg.phtml.$modu_lang
34
  </div>
23 reyssat 35
!endif
36
!read $job.phtml
554 bpr 37
 
10094 bpr 38
!if $auth_login!=$empty and $job notwordof modname copy
10355 bpr 39
  !if $wims_theme=default
40
!!ARIANE
41
    !set wims_menu_items=!append line itemsep,0,$wims_name_navigation\
42
modlist,1,cmd=reply&jobreq=modname\
10238 bpr 43
to $wims_menu_items
10355 bpr 44
  !else
45
    !set wims_menu_items=!append line itemsep,0,$wims_name_navigation\
46
to $wims_menu_items
47
  !endif
10238 bpr 48
  !if $job iswordof index publish diff edfile showfile
10764 bpr 49
    !set wims_menu_items=!append line binfile,1,cmd=reply&jobreq=binfile\
50
    modcontent,1,cmd=reply&jobreq=flist\
10355 bpr 51
to $wims_menu_items
10238 bpr 52
  !endif
53
  !if $job iswordof flist and $modreq!=.new
9810 bpr 54
    !set wims_menu_items=!append line binfile,1,cmd=reply&jobreq=binfile\
55
to $wims_menu_items
10238 bpr 56
  !endif
57
  !if $job iswordof binfile
58
    !set wims_menu_items=!append line otherfiles,1,cmd=reply&jobreq=flist\
9810 bpr 59
     to $wims_menu_items
60
  !endif
10238 bpr 61
  !if $job iswordof flist edfile showfile binfile
62
    !if .oef isin $fname
63
      !set tmp_f=!replace internal src/ by in $fname
16071 guerimand 64
      !if $wims_class!=$empty
65
        !let para=!defof user_qnum\
66
user_scoredelay\
67
user_seedrepeat\
68
user_qcmlevel in wimshome/log/classes/$wims_class/supervisor
69
        !distribute line $para into para1,para2,para3,para4
70
      !endif
71
      !default para1=1
72
      !default para2=0
73
      !default para3=0
74
      !default para4=1
75
      !set tmp_f=!replace internal .oef by in &exo=$tmp_f&qnum=$para1&scoredelay=$para2&seedrepeat=$para3&qcmlevel=$para4&cmd=new
10238 bpr 76
    !else
77
      !reset tmp_f
78
    !endif
79
    !if $job notwordof publish prop diff
80
     !set wims_menu_items=!append line itemsep,0, $wims_name_action\
81
test,4,module=devel/$auth_login/$mod$tmp_f,test\
1336 bpr 82
 to $wims_menu_items
10238 bpr 83
    !endif
84
    !set doctest=!module category devel/$auth_login/$mod
85
    !if document isin $doctest
86
      !set doclist=!defof doclist in wimshome/public_html/$devdir/$mod/var.proc
87
      !set doclist=!words2items $doclist
88
      !set test=!itemcnt $doclist
89
      !if $test<=1
10319 bpr 90
        !set wims_menu_items=!append line docgestion,1,module=adm/doc&devdoc=$mod&doc=1&job=read\
7237 bpr 91
      to $wims_menu_items
10238 bpr 92
      !else
93
        !for d_=1 to $test
10319 bpr 94
        !set wims_menu_items=!append line docgestion ($(doclist[$d_])),1,module=adm/doc&devdoc=$mod&doc=$(doclist[$d_])&job=read\
1336 bpr 95
     to $wims_menu_items
10238 bpr 96
        !next
97
      !endif
7237 bpr 98
    !endif
10238 bpr 99
    !set wims_menu_items=!append line modsave,1,cmd=reply&jobreq=backup\
9933 bpr 100
  to $wims_menu_items
10238 bpr 101
    !if $job=showfile
102
      !set wims_menu_items=!append line edfile,1,cmd=reply&jobreq=edfile\
103
to $wims_menu_items
104
    !endif
105
    !if $job=edfile
10355 bpr 106
      !if $wims_theme=default
107
!!ARIANE
108
        !set wims_menu_items=!append line back3,1,cmd=reply&jobreq=flist\
10238 bpr 109
to $wims_menu_items
10355 bpr 110
      !endif
10238 bpr 111
    !endif
2515 bpr 112
  !endif
10238 bpr 113
!endif
114
!if $job iswordof flist index showfile edfile
115
    !if $wims_menu_items!=
11611 bpr 116
      !set wims_menu_items=!append line itemsep,0,$wims_name_docu\
10238 bpr 117
to $wims_menu_items
118
    !endif
119
    !set wims_menu_items=!append line docoef,4,module=adm/createxo&modtoolhelp=yes,help\
120
docslib,4, module=help/wimsdoc&subject=slib#slib,help\
1336 bpr 121
   docanswer,4,module=adm/createxo&modtoolhelp=yes&special_parm=reply,help\
1267 bpr 122
   doctec,4,module=help/wimsdoc.en,help\
1336 bpr 123
  to $wims_menu_items
13913 bpr 124
  !if $job iswordof edfile
125
     !set wims_menu_items=!append line Keywords,4,session=$(wims_session)_mhelp&cmd=help&special_parm=keywords,help\
126
  to $wims_menu_items
127
  !endif
10238 bpr 128
!endif
129
 
130
!if $job iswordof flist index publish diff binfile
131
  !set wims_menu_items=!append line itemsep,0,$name_publication\
132
to $wims_menu_items
23 reyssat 133
  !if $job iswordof flist publish diff binfile
9819 bpr 134
    !set wims_menu_items=!append line properties,1,cmd=reply&jobreq=index\
1336 bpr 135
  to $wims_menu_items
10238 bpr 136
    !if $pubtit!=$empty
137
      !set wims_menu_items=!append line checkdiff,1,cmd=reply&jobreq=diff\
9819 bpr 138
  ,01,local: $version / pub: $pubversion\
1336 bpr 139
    to $wims_menu_items
10238 bpr 140
    !endif
23 reyssat 141
  !endif
10238 bpr 142
  !if $job notwordof publish
143
    !set wims_menu_items=!append line publish,1,cmd=reply&jobreq=publish\
10236 bpr 144
to $wims_menu_items
10238 bpr 145
  !endif
10236 bpr 146
!endif
23 reyssat 147
 
148
!tail
149
 
150
!reset confirm target1 target2 target3 target4 vcheat \
151
      i_translator i_translator_address, modifiers \
152
      p_name p_email p_pass1 p_pass2 bin_job