Subversion Repositories wimsdev

Rev

Rev 9291 | Rev 11984 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
32 reyssat 1
# Variable calculations should be done in this file.
2
# It is read and interpreted by wims for all valid calls to the module.
3
 
4
!if robot isin $session
5
 style=integral
6
!endif
7
 
9291 obado 8
tit=<li><span class="wimsdoc_tit">
5798 bpr 9
titend=</span>
9071 bpr 10
emph=<span class="wims_code_words">
5798 bpr 11
emphend=</span>
32 reyssat 12
 
13
!default lang=en
14
!default style=indexed
15
!default cmd_choose=all
16
 
17
!if $style=integral
18
 cmd_choose=all
19
!endif
20
 
21
!read Findex
22
cmdfiles=$(cmdf_$cmd_choose)
23
 
24
title_user      =General documentation
11973 bpr 25
title_devel	=Publish your pages under WIMS
26
title_ref	=WIMS modules: technical reference
32 reyssat 27
 
11973 bpr 28
title_whatis    =What is WIMS?
29
title_why       =Why WIMS?
32 reyssat 30
title_copyright =Copyright policies
31
title_status    =Current status of development
11973 bpr 32
title_examples  =Examples of what you can do with WIMS
1576 bpr 33
title_compare   =Comparison with other approaches
11973 bpr 34
title_features  =Current features of WIMS
32 reyssat 35
title_todo	=More features planned for future versions
11973 bpr 36
title_lightpub	=Light phtml page: the simplest way to use WIMS features
32 reyssat 37
title_lighthowto=How to publish a light phtml page
38
title_migrate   =Upgrade a light phtml page into a module
11973 bpr 39
title_structure =Basic structure of WIMS
32 reyssat 40
title_remote_dev=Online development of activities
11973 bpr 41
title_module    =Structure of a WIMS module
32 reyssat 42
title_variables =Variables in a module
43
title_varspecial=Variables with special meanings
11973 bpr 44
title_templatefiles=Template files
32 reyssat 45
title_datastruct=Data structure
46
title_cmdlist   =List of commands
47
title_mathfn    =List of mathematical functions
48
title_slib	=List of slib (library of scripts)
49
title_mathfonts =List of inline mathematical symbols
50
title_interface =Interfaces to external software packages
51
title_class	=User registration and classes
11973 bpr 52
title_applets	=Java applets capable of interfacing with WIMS
32 reyssat 53
user_doc =whatis,examples,compare,features,remote_dev
54
#devel_doc=features,lightpub,lighthowto,migrate,remote_dev
11973 bpr 55
ref_doc=structure,module,variables,varspecial,datastruct,cmdlist,mathfonts,\
56
 slib,interface,applets,templatefiles
32 reyssat 57
 
58
wims_module_log=$style $lang $subject
59
 
60
!if $style=integral
1091 bpr 61
 ref1=<!---
62
 ref2=--><a href="#
32 reyssat 63
!endif
64
 
65
!if $style=indexed
1091 bpr 66
 ref1=<a href="$httpd_SCRIPT_NAME?cmd=resume&+session=$session&+subject=
32 reyssat 67
 ref2=#
68
!endif
69
 
70
!if $style=folding
1091 bpr 71
 ref1=<a href="$httpd_SCRIPT_NAME?cmd=resume&+session=$session&+op=open&+subject=
32 reyssat 72
 ref2=#
73
!endif
74
 
75
!if $style=folding and $subject!=$empty
76
 
77
 !if $op=close and ,$subject isin $expand
78
   exp=
79
   !for i in $expand
80
    !if $i != $empty and .$subject notin .$i
81
     exp=$exp,$i
82
    !endif
83
    expand=$exp
84
   !next i
85
 !endif
7809 bpr 86
 
32 reyssat 87
 !if $op=open and ,$subject notin $expand
88
   expand=$expand,$subject
89
 !endif
90
 
91
!endif
92
 
7809 bpr 93
cmd_choose_list=all,exec,var,string,file,datafile,ins,random,html,jump,loop,vardef,adm
32 reyssat 94
 
95
choose_all   =all
96
choose_exec  =execution
97
choose_var   =variable
98
choose_html  =html interface
99
choose_jump  =process control
100
choose_loop  =looping
101
choose_string=string manipulation
102
choose_datafile=datafile manipulation
103
choose_vardef=variable definition
104
choose_ins   =formula/graphics insertion
105
choose_random=random data generation
106
choose_file  =file manipulation
7809 bpr 107
choose_adm=administrative