Rev 7516 | Rev 10176 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2544 | bpr | 1 | !!@#language independant |
2 | !if robot isin $session |
||
3 | !exit |
||
4 | !endif |
||
2667 | bpr | 5 | !if $(module_title_$modu_lang)!= |
6 | !set module_title=$(module_title_$modu_lang) |
||
7 | !endif |
||
7516 | bpr | 8 | |
2544 | bpr | 9 | !header |
10 | !if $compute=yes |
||
11 | !if $error!=$empty |
||
12 | !if $mtype!=$empty |
||
7217 | bpr | 13 | <div class="wims_alertmsg"> |
2544 | bpr | 14 | !read msg.phtml |
7217 | bpr | 15 | </div> |
2544 | bpr | 16 | !endif |
5619 | bpr | 17 | <div class="wims_content"> |
2544 | bpr | 18 | !read menu.phtml |
5601 | obado | 19 | </div> |
2544 | bpr | 20 | !goto end |
21 | !else |
||
22 | !if $transfert issametext or $transfert=yes |
||
23 | !set wims_form_method=file |
||
24 | !read transfert.phtml |
||
25 | !else |
||
5619 | bpr | 26 | <div class="wims_content"> |
2544 | bpr | 27 | !read menu.phtml |
5601 | obado | 28 | </div> |
2544 | bpr | 29 | !endif |
7516 | bpr | 30 | !endif |
2544 | bpr | 31 | !else |
5619 | bpr | 32 | <div class="wims_content"> |
2544 | bpr | 33 | !read menu.phtml |
5601 | obado | 34 | </div> |
2544 | bpr | 35 | !endif compute=yes? |
7516 | bpr | 36 | |
2544 | bpr | 37 | :end |
38 | |||
39 | !if $type_exo!=$empty |
||
40 | !set wims_menu_items=!append line modtool,1,module=adm/modtool\ |
||
2667 | bpr | 41 | back2,1,module=$module\ |
9810 | bpr | 42 | itemsep,0,\ |
2544 | bpr | 43 | to $wims_menu_items |
44 | !else |
||
45 | !set wims_menu_items=!append line modtool,1,module=adm/modtool\ |
||
46 | to $wims_menu_items |
||
47 | !endif |
||
48 | |||
49 | |||
50 | !if $wims_developer!= and $type_exo= |
||
9810 | bpr | 51 | !set wims_menu_items=!append line itemsep,0,\ |
2667 | bpr | 52 | to $wims_menu_items |
7516 | bpr | 53 | !set u = !linecnt $name |
2544 | bpr | 54 | !for i = 1 to $u |
55 | !set cnt=!itemcnt $(name[$i;]) |
||
56 | !for a =1 to $cnt |
||
2667 | bpr | 57 | !set wims_menu_items=!append line quick_$(name[$i;$a]),1,cmd=reply&type_exo=$(name[$i;$a])\ |
2544 | bpr | 58 | to $wims_menu_items |
59 | !next a |
||
60 | !next |
||
61 | !endif |
||
62 | !tail |
||
63 | |||
64 | !reset wims_exec_error wims_deposit |