Rev 1091 | Rev 2753 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1091 | Rev 1978 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | !read tabletheme |
|
1 | <h4>Definition and substitution of variables</h4> |
2 | <h4>Definition and substitution of variables</h4> |
2 | 3 | ||
3 | Wims variables has only one type: they are all string variables. Numerical |
4 | Wims variables has only one type: they are all string variables. Numerical |
4 | evaluation can be done on variables via the variable command |
5 | evaluation can be done on variables via the variable command |
5 | $(ref1)cmdlist_eval_&+cmd_choose=all$(ref2)cmdlist_eval_">!eval</a>. |
6 | $(ref1)cmdlist_eval_&+cmd_choose=all$(ref2)cmdlist_eval_">!eval</a>. |
Line 102... | Line 103... | ||
102 | server). This value is usually $emph $$module_dir=module/$$module $emphend |
103 | server). This value is usually $emph $$module_dir=module/$$module $emphend |
103 | (but may vary with the config of the installation). |
104 | (but may vary with the config of the installation). |
104 | <li>Variable names starting with $emph module_$emphend will have special |
105 | <li>Variable names starting with $emph module_$emphend will have special |
105 | meanings: they are used to hold variables defined in the module's INDEX |
106 | meanings: they are used to hold variables defined in the module's INDEX |
106 | file. Currently implemented variables: |
107 | file. Currently implemented variables: |
- | 108 | ||
- | 109 | $table_header |
|
107 | < |
110 | $table_tr<th> Variables</th><th>Meaning</th></tr> |
108 | |
111 | $table_tr<td>$emph module_title$emphend<td>title of the module |
109 | |
112 | $table_tr<td>$emph module_description$emphend<td>short description of the module |
110 | |
113 | $table_tr<td>$emph module_author$emphend<td>name(s) of author(s) of the module |
111 | |
114 | $table_tr<td>$emph module_address$emphend<td>e-mail address of the (principal) author |
112 | |
115 | $table_tr<td>$emph module_copyright$emphend<td>copyright notice of the module |
113 | |
116 | $table_tr<td>$emph module_version$emphend<td>current version of the module |
114 | |
117 | $table_tr<td>$emph module_wims_version$emphend<td>minimal wims version required<br> |
115 | to run this module |
118 | to run this module |
116 | |
119 | $table_tr<td>$emph module_language$emphend<td>language of the module<br>(en, fr, de, or ...) |
117 | |
120 | $table_tr<td>$emph module_category$emphend<td>category of the module<br> |
118 | (exercise, tool, course, pedia, recreation, adm, other) |
121 | (exercise, tool, course, pedia, recreation, adm, other) |
119 | |
122 | $table_tr<td>$emph module_level$emphend<td>level of the module |
120 | |
123 | $table_tr<td>$emph module_domain$emphend<td>algebra, analysis, geometry, ... |
121 | |
124 | $table_tr<td>$emph module_keywords$emphend<td>keywords, to be placed in the html header |
122 | |
125 | $table_tr<td>$emph module_scoring$emphend<td>= yes if the module gives scores according |
123 | to wims standard |
126 | to wims standard |
124 | </table></center> |
127 | </table></center> |
125 | Also, variables $emph module_has_intro$emphend, |
128 | Also, variables $emph module_has_intro$emphend, |
126 | $emph module_has_help$emphend and |
129 | $emph module_has_help$emphend and |
127 | $emph module_has_about$emphend |
130 | $emph module_has_about$emphend |