Rev 10228 | Rev 10238 | 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)!= |
4 | !set module_title=$(module_title_$modu_lang) |
||
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 |
||
10228 | bpr | 32 | <div class="wims_msg alert"> |
7237 | bpr | 33 | !read lang/msg.phtml.$modu_lang |
5874 | bpr | 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 |
9819 | bpr | 39 | !set wims_menu_items=!append line itemsep,0,$wims_name_navigation\ |
10093 | bpr | 40 | modlist ARIANE,1,cmd=reply&jobreq=modname\ |
9810 | bpr | 41 | to $wims_menu_items |
10236 | bpr | 42 | !if $job iswordof index publish diff edfile showfile |
43 | !set wims_menu_items=!append line modcontent ARIANE,1,cmd=reply&jobreq=flist\ |
||
9810 | bpr | 44 | binfile,1,cmd=reply&jobreq=binfile\ |
45 | to $wims_menu_items |
||
46 | !endif |
||
47 | !if $job iswordof flist and $modreq!=.new |
||
48 | !set wims_menu_items=!append line binfile,1,cmd=reply&jobreq=binfile\ |
||
49 | to $wims_menu_items |
||
50 | !endif |
||
51 | !if $job iswordof binfile |
||
52 | !set wims_menu_items=!append line otherfiles,1,cmd=reply&jobreq=flist\ |
||
53 | to $wims_menu_items |
||
54 | !endif |
||
23 | reyssat | 55 | !if $job iswordof flist edfile showfile binfile |
4893 | bpr | 56 | !if .oef isin $fname |
57 | !set tmp_f=!replace internal src/ by in $fname |
||
58 | !set tmp_f=!replace internal .oef by in &exo=$tmp_f&cmd=new |
||
59 | !else |
||
60 | !reset tmp_f |
||
61 | !endif |
||
9819 | bpr | 62 | !if $job notwordof publish prop diff |
9933 | bpr | 63 | !set wims_menu_items=!append line itemsep,0, $wims_name_action\ |
9810 | bpr | 64 | test,4,module=devel/$auth_login/$mod$tmp_f,test\ |
1336 | bpr | 65 | to $wims_menu_items |
9810 | bpr | 66 | !endif |
23 | reyssat | 67 | !set doctest=!module category devel/$auth_login/$mod |
68 | !if document isin $doctest |
||
7284 | bpr | 69 | !set doclist=!defof doclist in wimshome/public_html/$devdir/$mod/var.proc |
7239 | bpr | 70 | !set doclist=!words2items $doclist |
7237 | bpr | 71 | !set test=!itemcnt $doclist |
72 | !if $test<=1 |
||
73 | !set wims_menu_items=!append line docgestion,4,module=adm/doc&devdoc=$mod&doc=1&job=read,test\ |
||
74 | to $wims_menu_items |
||
75 | !else |
||
76 | !for d_=1 to $test |
||
7239 | bpr | 77 | !set wims_menu_items=!append line docgestion ($(doclist[$d_])),4,module=adm/doc&devdoc=$mod&doc=$(doclist[$d_])&job=read,test\ |
1336 | bpr | 78 | to $wims_menu_items |
7237 | bpr | 79 | !next |
80 | !endif |
||
23 | reyssat | 81 | !endif |
9933 | bpr | 82 | !set wims_menu_items=!append line modsave,1,cmd=reply&jobreq=backup\ |
83 | to $wims_menu_items |
||
23 | reyssat | 84 | !endif |
9879 | bpr | 85 | |
23 | reyssat | 86 | !if $job iswordof flist index publish prop diff binfile |
2515 | bpr | 87 | !if $wims_menu_items!= |
10038 | bpr | 88 | !set wims_menu_items=!append line itemsep,0,$wims_name_whelp\ |
2515 | bpr | 89 | to $wims_menu_items |
90 | !endif |
||
91 | !set wims_menu_items=!append line docoef,4,module=adm/createxo&modtoolhelp=yes,help\ |
||
1336 | bpr | 92 | docslib,4, module=help/wimsdoc&subject=slib#slib,help\ |
93 | docanswer,4,module=adm/createxo&modtoolhelp=yes&special_parm=reply,help\ |
||
1267 | bpr | 94 | doctec,4,module=help/wimsdoc.en,help\ |
1336 | bpr | 95 | to $wims_menu_items |
9819 | bpr | 96 | !set wims_menu_items=!append line itemsep,0,$name_publication\ |
97 | to $wims_menu_items |
||
23 | reyssat | 98 | !if $job iswordof flist publish diff binfile |
9819 | bpr | 99 | !set wims_menu_items=!append line properties,1,cmd=reply&jobreq=index\ |
1336 | bpr | 100 | to $wims_menu_items |
23 | reyssat | 101 | !endif |
102 | !if $pubtit!=$empty |
||
9819 | bpr | 103 | !set wims_menu_items=!append line checkdiff,1,cmd=reply&jobreq=diff\ |
104 | ,01,local: $version / pub: $pubversion\ |
||
1336 | bpr | 105 | to $wims_menu_items |
23 | reyssat | 106 | !endif |
1336 | bpr | 107 | !set wims_menu_items=!append line publish,1,cmd=reply&jobreq=publish\ |
108 | to $wims_menu_items |
||
23 | reyssat | 109 | !endif |
110 | !endif |
||
111 | !endif |
||
10236 | bpr | 112 | !if $job=showfile |
113 | !set wims_menu_items=!append line edfile,1,cmd=reply&jobreq=edfile\ |
||
114 | to $wims_menu_items |
||
115 | !endif |
||
23 | reyssat | 116 | |
3250 | bpr | 117 | !if $job=edfile |
118 | !set wims_menu_items=!append line back3,1,cmd=reply&jobreq=flist\ |
||
119 | to $wims_menu_items |
||
120 | |||
9818 | bpr | 121 | !set wims_menu_items=!append line itemsep,0,$wims_name_help\ |
10236 | bpr | 122 | docoef,4,module=adm/createxo&modtoolhelp=yes,help\ |
123 | docslib,4,module=help/wimsdoc&subject=slib#slib,help\ |
||
124 | docanswer,4,module=adm/createxo&modtoolhelp=yes&+special_parm=reply,help\ |
||
3250 | bpr | 125 | to $wims_menu_items |
126 | !endif |
||
3768 | bpr | 127 | |
23 | reyssat | 128 | !tail |
129 | |||
130 | !reset confirm target1 target2 target3 target4 vcheat \ |
||
131 | i_translator i_translator_address, modifiers \ |
||
132 | p_name p_email p_pass1 p_pass2 bin_job |