Subversion Repositories wimsdev

Rev

Rev 11176 | Rev 13940 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11176 Rev 13443
Line 1... Line -...
1
 
-
 
2
 
1
 
3
!if $realtest=yes
2
!if $realtest=yes
4
 !changeto oef/help.phtml
3
  !changeto oef/help.phtml
5
!endif
4
!endif
-
 
5
 
6
<div class="wims_content">
6
<div class="wims_content">
7
!set helplist=oef,examples,format,parameters,oefparm,reply,embedans,\
7
  !set helplist=oef,examples,format,parameters,oefparm,reply,embedans,\
8
        feedback,math,draw,draw_example,oefadv,if,symtext,model,slib,command,css
8
         feedback,math,draw,draw_example,oefadv,if,symtext,model,slib,command,css
9
 
-
 
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
 </div><!-- end wims_content -->
-
 
17
 !exit
-
 
18
!endif
-
 
19
!if $s_!=$empty
-
 
20
 !if $s_=symtext
-
 
21
   !read help/symtext/symtext.phtml
-
 
22
   !exit
-
 
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
-
 
30
     !read help/$s_.phtml
-
 
31
   !endif
-
 
32
 !endif
-
 
33
 !if $modtoolhelp!=yes
-
 
34
  !set wims_menu_items=!append line back2,1,cmd=help\
-
 
35
 to $wims_menu_items
-
 
36
 !endif
-
 
37
 </div> <!-- end wims_content -->
-
 
38
 !exit
-
 
39
!endif
-
 
40
 
9
 
-
 
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
-
 
18
 
-
 
19
  !if $s_!=$empty
-
 
20
    !if $s_=symtext
-
 
21
      !read help/symtext/symtext.phtml
-
 
22
      !goto end
-
 
23
    !endif
-
 
24
 
-
 
25
    !if $s_ iswordof slib model
-
 
26
      !read help/$s_.phtml $special_parm
-
 
27
    !else
-
 
28
      !if $s_ iswordof reply and $modtoolhelp=yes
-
 
29
        !read help/$s_.phtml $(special_parm[2])
-
 
30
      !else
-
 
31
        !read help/$s_.phtml
-
 
32
      !endif
-
 
33
    !endif
-
 
34
 
-
 
35
    !if $modtoolhelp!=yes
-
 
36
      !set wims_menu_items=!append line back2,1,cmd=help\
-
 
37
        to $wims_menu_items
-
 
38
    !endif
-
 
39
    !goto end
-
 
40
  !endif
-
 
41
 
-
 
42
  !! when $s_==$empty
41
!set record_cnt=!recordcnt lang/help.phtml.$modu_lang
43
  !set record_cnt=!recordcnt lang/help.phtml.$modu_lang
42
<ul>
44
  <ul>
43
!for s_=2 to $record_cnt
45
    !for s_=2 to $record_cnt
-
 
46
      <li>
44
  !set ss_=!record $s_ of lang/help.phtml.$modu_lang
47
        !set ss_=!record $s_ of lang/help.phtml.$modu_lang
45
<li>
-
 
46
!href cmd=help&special_parm=$(ss_[1]) $(ss_[2])
48
        !href cmd=help&special_parm=$(ss_[1]) $(ss_[2])
47
 $(ss_[3])
49
        $(ss_[3])
48
</li>
50
      </li>
49
!next s_
51
    !next s_
50
</ul>
52
  </ul>
51
!endif
-
 
52
 
53
 
-
 
54
:end
53
</div> <!-- end wims_content -->
55
</div> <!-- end wims_content -->