Subversion Repositories wimsdev

Rev

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