Rev 13913 | Rev 16071 | 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 |
||
16070 | guerimand | 64 | !set tmp_f=!replace internal .oef by in &exo=$tmp_f&qnum=1&scoredelay=0&seedrepeat=0&qcmlevel=1&cmd=new |
10238 | bpr | 65 | !else |
66 | !reset tmp_f |
||
67 | !endif |
||
68 | !if $job notwordof publish prop diff |
||
69 | !set wims_menu_items=!append line itemsep,0, $wims_name_action\ |
||
70 | test,4,module=devel/$auth_login/$mod$tmp_f,test\ |
||
1336 | bpr | 71 | to $wims_menu_items |
10238 | bpr | 72 | !endif |
73 | !set doctest=!module category devel/$auth_login/$mod |
||
74 | !if document isin $doctest |
||
75 | !set doclist=!defof doclist in wimshome/public_html/$devdir/$mod/var.proc |
||
76 | !set doclist=!words2items $doclist |
||
77 | !set test=!itemcnt $doclist |
||
78 | !if $test<=1 |
||
10319 | bpr | 79 | !set wims_menu_items=!append line docgestion,1,module=adm/doc&devdoc=$mod&doc=1&job=read\ |
7237 | bpr | 80 | to $wims_menu_items |
10238 | bpr | 81 | !else |
82 | !for d_=1 to $test |
||
10319 | bpr | 83 | !set wims_menu_items=!append line docgestion ($(doclist[$d_])),1,module=adm/doc&devdoc=$mod&doc=$(doclist[$d_])&job=read\ |
1336 | bpr | 84 | to $wims_menu_items |
10238 | bpr | 85 | !next |
86 | !endif |
||
7237 | bpr | 87 | !endif |
10238 | bpr | 88 | !set wims_menu_items=!append line modsave,1,cmd=reply&jobreq=backup\ |
9933 | bpr | 89 | to $wims_menu_items |
10238 | bpr | 90 | !if $job=showfile |
91 | !set wims_menu_items=!append line edfile,1,cmd=reply&jobreq=edfile\ |
||
92 | to $wims_menu_items |
||
93 | !endif |
||
94 | !if $job=edfile |
||
10355 | bpr | 95 | !if $wims_theme=default |
96 | !!ARIANE |
||
97 | !set wims_menu_items=!append line back3,1,cmd=reply&jobreq=flist\ |
||
10238 | bpr | 98 | to $wims_menu_items |
10355 | bpr | 99 | !endif |
10238 | bpr | 100 | !endif |
2515 | bpr | 101 | !endif |
10238 | bpr | 102 | !endif |
103 | !if $job iswordof flist index showfile edfile |
||
104 | !if $wims_menu_items!= |
||
11611 | bpr | 105 | !set wims_menu_items=!append line itemsep,0,$wims_name_docu\ |
10238 | bpr | 106 | to $wims_menu_items |
107 | !endif |
||
108 | !set wims_menu_items=!append line docoef,4,module=adm/createxo&modtoolhelp=yes,help\ |
||
109 | docslib,4, module=help/wimsdoc&subject=slib#slib,help\ |
||
1336 | bpr | 110 | docanswer,4,module=adm/createxo&modtoolhelp=yes&special_parm=reply,help\ |
1267 | bpr | 111 | doctec,4,module=help/wimsdoc.en,help\ |
1336 | bpr | 112 | to $wims_menu_items |
13913 | bpr | 113 | !if $job iswordof edfile |
114 | !set wims_menu_items=!append line Keywords,4,session=$(wims_session)_mhelp&cmd=help&special_parm=keywords,help\ |
||
115 | to $wims_menu_items |
||
116 | !endif |
||
10238 | bpr | 117 | !endif |
118 | |||
119 | !if $job iswordof flist index publish diff binfile |
||
120 | !set wims_menu_items=!append line itemsep,0,$name_publication\ |
||
121 | to $wims_menu_items |
||
23 | reyssat | 122 | !if $job iswordof flist publish diff binfile |
9819 | bpr | 123 | !set wims_menu_items=!append line properties,1,cmd=reply&jobreq=index\ |
1336 | bpr | 124 | to $wims_menu_items |
10238 | bpr | 125 | !if $pubtit!=$empty |
126 | !set wims_menu_items=!append line checkdiff,1,cmd=reply&jobreq=diff\ |
||
9819 | bpr | 127 | ,01,local: $version / pub: $pubversion\ |
1336 | bpr | 128 | to $wims_menu_items |
10238 | bpr | 129 | !endif |
23 | reyssat | 130 | !endif |
10238 | bpr | 131 | !if $job notwordof publish |
132 | !set wims_menu_items=!append line publish,1,cmd=reply&jobreq=publish\ |
||
10236 | bpr | 133 | to $wims_menu_items |
10238 | bpr | 134 | !endif |
10236 | bpr | 135 | !endif |
23 | reyssat | 136 | |
137 | !tail |
||
138 | |||
139 | !reset confirm target1 target2 target3 target4 vcheat \ |
||
140 | i_translator i_translator_address, modifiers \ |
||
141 | p_name p_email p_pass1 p_pass2 bin_job |