Subversion Repositories wimsdev

Rev

Rev 11973 | Rev 12014 | 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
11984 bpr 45
title_anstype=How to do an anstype
32 reyssat 46
title_datastruct=Data structure
47
title_cmdlist   =List of commands
48
title_mathfn    =List of mathematical functions
49
title_slib	=List of slib (library of scripts)
50
title_mathfonts =List of inline mathematical symbols
51
title_interface =Interfaces to external software packages
52
title_class	=User registration and classes
11973 bpr 53
title_applets	=Java applets capable of interfacing with WIMS
32 reyssat 54
user_doc =whatis,examples,compare,features,remote_dev
55
#devel_doc=features,lightpub,lighthowto,migrate,remote_dev
11973 bpr 56
ref_doc=structure,module,variables,varspecial,datastruct,cmdlist,mathfonts,\
11984 bpr 57
 slib,interface,applets,templatefiles,anstype
32 reyssat 58
 
59
wims_module_log=$style $lang $subject
60
 
61
!if $style=integral
1091 bpr 62
 ref1=<!---
63
 ref2=--><a href="#
32 reyssat 64
!endif
65
 
66
!if $style=indexed
1091 bpr 67
 ref1=<a href="$httpd_SCRIPT_NAME?cmd=resume&+session=$session&+subject=
32 reyssat 68
 ref2=#
69
!endif
70
 
71
!if $style=folding
1091 bpr 72
 ref1=<a href="$httpd_SCRIPT_NAME?cmd=resume&+session=$session&+op=open&+subject=
32 reyssat 73
 ref2=#
74
!endif
75
 
76
!if $style=folding and $subject!=$empty
77
 
78
 !if $op=close and ,$subject isin $expand
79
   exp=
80
   !for i in $expand
81
    !if $i != $empty and .$subject notin .$i
82
     exp=$exp,$i
83
    !endif
84
    expand=$exp
85
   !next i
86
 !endif
7809 bpr 87
 
32 reyssat 88
 !if $op=open and ,$subject notin $expand
89
   expand=$expand,$subject
90
 !endif
91
 
92
!endif
93
 
7809 bpr 94
cmd_choose_list=all,exec,var,string,file,datafile,ins,random,html,jump,loop,vardef,adm
32 reyssat 95
 
96
choose_all   =all
97
choose_exec  =execution
98
choose_var   =variable
99
choose_html  =html interface
100
choose_jump  =process control
101
choose_loop  =looping
102
choose_string=string manipulation
103
choose_datafile=datafile manipulation
104
choose_vardef=variable definition
105
choose_ins   =formula/graphics insertion
106
choose_random=random data generation
107
choose_file  =file manipulation
7809 bpr 108
choose_adm=administrative