Rev 13963 | Rev 14026 | 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,\ |
13995 | bpr | 8 | feedback,math,draw,draw_example,canvasdraw,oefadv,if,symtext,model,slib,command,css, |
13443 | obado | 9 | !set s_=!item 1 of $special_parm |
10 | !if $s_=all |
||
11 | !for sj in $helplist |
||
12 | <br class="spacer" /> |
||
13 | !read help/$sj.phtml |
||
14 | !next sj |
||
15 | !goto end |
||
16 | !endif |
||
2450 | bpr | 17 | |
13443 | obado | 18 | !if $s_!=$empty |
19 | !if $s_=symtext |
||
20 | !read help/symtext/symtext.phtml |
||
21 | !goto end |
||
22 | !endif |
||
23 | !if $s_ iswordof slib model |
||
24 | !read help/$s_.phtml $special_parm |
||
25 | !else |
||
26 | !if $s_ iswordof reply and $modtoolhelp=yes |
||
27 | !read help/$s_.phtml $(special_parm[2]) |
||
28 | !else |
||
13940 | bpr | 29 | !if $s_ iswordof canvas_examples |
13963 | bpr | 30 | !set tmp=!replace internal _ by , in $(special_parm[2]) |
31 | <h2 class="wimscenter">$wims_name_Example: $(tmp[1])</h2> |
||
13940 | bpr | 32 | !read help/canvas_examples.phtml $(special_parm[2]) |
13963 | bpr | 33 | !set wims_menu_items=!append line back2,1,cmd=help&special_parm=canvasdraw#$(tmp[1])\ |
13940 | bpr | 34 | to $wims_menu_items |
13963 | bpr | 35 | !reset tmp |
13940 | bpr | 36 | !goto end |
37 | !else |
||
38 | !read help/$s_.phtml |
||
39 | !endif |
||
13443 | obado | 40 | !endif |
41 | !endif |
||
42 | !if $modtoolhelp!=yes |
||
43 | !set wims_menu_items=!append line back2,1,cmd=help\ |
||
44 | to $wims_menu_items |
||
45 | !endif |
||
46 | !goto end |
||
47 | !endif |
||
48 | |||
49 | !! when $s_==$empty |
||
50 | !set record_cnt=!recordcnt lang/help.phtml.$modu_lang |
||
51 | <ul> |
||
52 | !for s_=2 to $record_cnt |
||
53 | <li> |
||
54 | !set ss_=!record $s_ of lang/help.phtml.$modu_lang |
||
55 | !href cmd=help&special_parm=$(ss_[1]) $(ss_[2]) |
||
56 | $(ss_[3]) |
||
57 | </li> |
||
58 | !next s_ |
||
59 | </ul> |
||
60 | |||
61 | :end |
||
6588 | bpr | 62 | </div> <!-- end wims_content --> |