Subversion Repositories wimsdev

Rev

Rev 12546 | Rev 14175 | 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
12014 bpr 25
title_devel=Publish your pages under WIMS
26
title_ref=WIMS modules: technical reference
27
title_dev=Development
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
12014 bpr 35
title_todo=More features planned for future versions
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
12014 bpr 47
title_cmdlist=List of commands
32 reyssat 48
title_mathfn    =List of mathematical functions
12014 bpr 49
title_slib=List of slib (library of scripts)
32 reyssat 50
title_mathfonts =List of inline mathematical symbols
51
title_interface =Interfaces to external software packages
12014 bpr 52
title_class=User registration and classes
53
title_applets=Java applets capable of interfacing with WIMS
54
title_dir=Structure of sub directories
55
title_themes=Themes
56
title_sheet=Sheet formats
57
title_taxonomy=Taxonomies
12546 bpr 58
title_icone=Icones
13044 bpr 59
title_slibhelp=Help for script library
12014 bpr 60
 
61
name_seehere=See here
32 reyssat 62
user_doc =whatis,examples,compare,features,remote_dev
63
#devel_doc=features,lightpub,lighthowto,migrate,remote_dev
11973 bpr 64
ref_doc=structure,module,variables,varspecial,datastruct,cmdlist,mathfonts,\
11984 bpr 65
 slib,interface,applets,templatefiles,anstype
32 reyssat 66
 
13044 bpr 67
dev_doc=dir,themes,sheet,taxonomy,icone,slibhelp
12014 bpr 68
 
32 reyssat 69
wims_module_log=$style $lang $subject
70
 
71
!if $style=integral
13044 bpr 72
  ref1=<!---
73
  ref2=--><a href="#
32 reyssat 74
!endif
75
 
76
!if $style=indexed
13044 bpr 77
  ref1=<a href="$httpd_SCRIPT_NAME?cmd=resume&+session=$session&+subject=
78
  ref2=#
32 reyssat 79
!endif
80
 
81
!if $style=folding
13044 bpr 82
  ref1=<a href="$httpd_SCRIPT_NAME?cmd=resume&+session=$session&+op=open&+subject=
83
  ref2=#
32 reyssat 84
!endif
85
 
86
!if $style=folding and $subject!=$empty
87
 
13044 bpr 88
  !if $op=close and ,$subject isin $expand
89
    exp=
90
    !for i in $expand
91
      !if $i != $empty and .$subject notin .$i
92
        exp=$exp,$i
93
      !endif
94
      expand=$exp
95
    !next i
96
  !endif
7809 bpr 97
 
13044 bpr 98
  !if $op=open and ,$subject notin $expand
99
    expand=$expand,$subject
100
  !endif
32 reyssat 101
 
102
!endif
103
 
7809 bpr 104
cmd_choose_list=all,exec,var,string,file,datafile,ins,random,html,jump,loop,vardef,adm
32 reyssat 105
 
106
choose_all   =all
107
choose_exec  =execution
108
choose_var   =variable
109
choose_html  =html interface
110
choose_jump  =process control
111
choose_loop  =looping
112
choose_string=string manipulation
113
choose_datafile=datafile manipulation
114
choose_vardef=variable definition
115
choose_ins   =formula/graphics insertion
116
choose_random=random data generation
117
choose_file  =file manipulation
13044 bpr 118
choose_adm=admin