Rev 14335 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2450 | bpr | 1 | |
2 | !if $realtest=yes |
||
13443 | obado | 3 | !changeto oef/help.phtml |
2450 | bpr | 4 | !endif |
13443 | obado | 5 | |
6588 | bpr | 6 | <div class="wims_content"> |
13443 | obado | 7 | !set helplist=oef,examples,format,parameters,oefparm,reply,embedans,\ |
14335 | bpr | 8 | feedback,math,draw,draw_example,canvasdraw,oefspecial,oefadv,symtext,\ |
9 | oefscore,model,slib,if,css, |
||
13443 | obado | 10 | !set s_=!item 1 of $special_parm |
11 | !if $s_=all |
||
12 | !for sj in $helplist |
||
13 | <br class="spacer" /> |
||
14 | !read help/$sj.phtml |
||
15 | !next sj |
||
16 | !goto end |
||
17 | !endif |
||
2450 | bpr | 18 | |
13443 | obado | 19 | !if $s_!=$empty |
20 | !if $s_=symtext |
||
21 | !read help/symtext/symtext.phtml |
||
22 | !goto end |
||
23 | !endif |
||
24 | !if $s_ iswordof slib model |
||
25 | !read help/$s_.phtml $special_parm |
||
26 | !else |
||
27 | !if $s_ iswordof reply and $modtoolhelp=yes |
||
28 | !read help/$s_.phtml $(special_parm[2]) |
||
29 | !else |
||
13940 | bpr | 30 | !if $s_ iswordof canvas_examples |
13963 | bpr | 31 | !set tmp=!replace internal _ by , in $(special_parm[2]) |
32 | <h2 class="wimscenter">$wims_name_Example: $(tmp[1])</h2> |
||
13940 | bpr | 33 | !read help/canvas_examples.phtml $(special_parm[2]) |
13963 | bpr | 34 | !set wims_menu_items=!append line back2,1,cmd=help&special_parm=canvasdraw#$(tmp[1])\ |
13940 | bpr | 35 | to $wims_menu_items |
13963 | bpr | 36 | !reset tmp |
13940 | bpr | 37 | !goto end |
38 | !else |
||
39 | !read help/$s_.phtml |
||
40 | !endif |
||
13443 | obado | 41 | !endif |
42 | !endif |
||
43 | !if $modtoolhelp!=yes |
||
44 | !set wims_menu_items=!append line back2,1,cmd=help\ |
||
45 | to $wims_menu_items |
||
46 | !endif |
||
47 | !goto end |
||
48 | !endif |
||
49 | |||
50 | !! when $s_==$empty |
||
15217 | bpr | 51 | !set record_cnt=!recordcnt help/$modu_lang/oefchapterhelp |
13443 | obado | 52 | <ul> |
53 | !for s_=2 to $record_cnt |
||
54 | <li> |
||
15217 | bpr | 55 | !set ss_=!record $s_ of help/$modu_lang/oefchapterhelp |
13443 | obado | 56 | !href cmd=help&special_parm=$(ss_[1]) $(ss_[2]) |
57 | $(ss_[3]) |
||
58 | </li> |
||
59 | !next s_ |
||
60 | </ul> |
||
61 | |||
62 | :end |
||
6588 | bpr | 63 | </div> <!-- end wims_content --> |