Rev 10229 | Rev 11648 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1105 | bpr | 1 | !if $oef_test=yes |
2 | !set wims_html_header=!append line $header_js to $wims_html_header |
||
3388 | bpr | 3 | !set wims_html_header=!append line $oefcss to $wims_html_header |
1105 | bpr | 4 | !endif |
3528 | bpr | 5 | !!test pour ne charger les javascripts de l'editeur que dans le mode brut et lorsqu'on ne teste pas |
7846 | bpr | 6 | !if $mode=raw and $oef_test notsametext yes and $level<7 |
3429 | obado | 7 | !read header_js.phtml |
3425 | obado | 8 | !set wims_html_header=!append line $header_js_editor to $wims_html_header |
3528 | bpr | 9 | !endif |
8959 | bpr | 10 | !if $modtoolhelp=yes or ($cmd=help and $special_parm iswordof examples oefspecial) |
7846 | bpr | 11 | !set wims_show_liste=!makelist wims_show x for x=1 to 5 |
8959 | bpr | 12 | !if $special_parm iswordof oefspecial |
13 | !for y=1 to 3 |
||
14 | !set wims_show_liste1=!makelist wims_show x $y for x=0 to 10 |
||
15 | !set wims_show_liste=!append item $wims_show_liste1 to $wims_show_liste |
||
16 | !next |
||
17 | !endif |
||
5325 | bpr | 18 | !set wims_show_liste=!nospace $wims_show_liste |
19 | !for id in wims_show,$wims_show_liste |
||
5265 | bpr | 20 | !read js/edit_area.phtml $id wimsoef |
21 | !next |
||
22 | !endif |
||
1170 | bpr | 23 | !read adm/css.phtml |
23 | reyssat | 24 | !header |
60 | bpr | 25 | |
53 | guerimand | 26 | !if $modtoolhelp=yes |
1188 | bpr | 27 | !read help.phtml |
28 | !goto end |
||
53 | guerimand | 29 | !endif |
30 | |||
23 | reyssat | 31 | !if $deleted!=$empty |
32 | !read delete.phtml |
||
33 | !goto end |
||
34 | !endif |
||
35 | |||
36 | !if $level=3 and $catsource=yes |
||
2391 | bpr | 37 | $name_save |
2433 | bpr | 38 | !href cmd=resume $name_menuback |
6235 | bpr | 39 | <hr /> |
23 | reyssat | 40 | <pre> |
41 | !mexec catsrc.sh |
||
42 | </pre> |
||
6235 | bpr | 43 | <hr /> <div class="wimscenter"> |
2433 | bpr | 44 | !href cmd=resume $name_menuback |
5754 | bpr | 45 | </div> |
23 | reyssat | 46 | !set catsource=no |
47 | !goto end |
||
48 | !endif |
||
49 | |||
50 | !if $oef_test=yes |
||
5852 | bpr | 51 | <div class="wimscenter">$name_realisation |
1393 | bpr | 52 | !if $wims_theme_version=0 or $wims_theme_version= |
6235 | bpr | 53 | <br /> |
2391 | bpr | 54 | !href cmd=resume&realtest=no $name_backmodule $module_title. |
1260 | bpr | 55 | !endif |
5852 | bpr | 56 | </div> |
6235 | bpr | 57 | <hr /> |
1673 | bpr | 58 | !changeto oef/Main.phtml |
23 | reyssat | 59 | !endif |
60 | |||
61 | !if $error!=$empty |
||
10229 | bpr | 62 | <div class="wims_msg alert"> |
7846 | bpr | 63 | !read lang/msg.phtml.$modu_lang |
5874 | bpr | 64 | </div> |
23 | reyssat | 65 | <p> |
2685 | bpr | 66 | !href cmd=reply&level=1 $name_correction. |
5813 | bpr | 67 | </p> |
23 | reyssat | 68 | !goto end |
69 | !endif |
||
70 | |||
71 | !if $mode!=$empty and $level<=2 |
||
72 | !read $mode$level.phtml |
||
73 | !else |
||
74 | !read level$level.phtml |
||
75 | !endif |
||
76 | |||
10355 | bpr | 77 | !if $wims_theme=default |
78 | !!ARIANE |
||
79 | !set wims_menu_items=!append line createxo,1,module=adm/createxo\ |
||
1393 | bpr | 80 | to $wims_menu_items |
10355 | bpr | 81 | !endif |
6975 | obado | 82 | |
1393 | bpr | 83 | !if $level iswordof 0 1 |
10079 | bpr | 84 | !set wims_menu_items=!append line createxo,0,Createxo\ |
85 | model,1,cmd=reply&mode=model&level=1\ |
||
1393 | bpr | 86 | normalmode,1,cmd=reply&mode=normal&level=1\ |
87 | rawmode,1,cmd=reply&rawinp=yes&level=1\ |
||
88 | filemode,1,cmd=reply&mode=file&level=1\ |
||
89 | to $wims_menu_items |
||
10091 | bpr | 90 | !read themes/_procs/othermethods.proc |
1393 | bpr | 91 | !endif |
4043 | bpr | 92 | !if $level iswordof 2 and $mode=model |
10355 | bpr | 93 | !!modellist ARIANE |
10079 | bpr | 94 | !set wims_menu_items=!append line itemsep,0,\ |
10355 | bpr | 95 | modellist,1,cmd=reply&level=1&mode=model\ |
10079 | bpr | 96 | rawmode,1,cmd=reply&rawinp=yes\ |
4043 | bpr | 97 | to $wims_menu_items |
98 | !endif |
||
4612 | bpr | 99 | |
100 | !!!developpers tools |
||
101 | !if $wims_user=supervisor or $wims_developper!=$empty |
||
6051 | bpr | 102 | !set wims_menu_items=!append line tools,0,$wims_name_tools\ |
4612 | bpr | 103 | coordclick,1,module=adm/tool/coordclick\ |
104 | to $wims_menu_items |
||
105 | !endif |
||
10179 | bpr | 106 | !if $wims_developper!=$empty |
107 | !set wims_menu_items=!append line tools,0,$wims_name_tools\ |
||
108 | chemtool,1,module=adm/tool/chemtool\ |
||
109 | to $wims_menu_items |
||
110 | !endif |
||
3481 | bpr | 111 | :end |
23 | reyssat | 112 | !tail |
113 | |||
114 | !reset wims_deposit, delfile |