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