Subversion Repositories wimsdev

Rev

Rev 5982 | Rev 11282 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5982 Rev 9071
Line 1... Line 1...
1
!read tabletheme
1
!read tabletheme
2
!set var_lst=<li>The variable $emph
-
 
3
!set var_lst=$table_tr<td>$emph
2
!set var_lst=$table_tr<td>$emph
4
!set emphend0=$emphend<td>
3
!set emphend0=$emphend<td>
5
!set emphend1=</td></tr>
4
!set emphend1=</td></tr>
6
!reset table_center
5
!reset table_center
7
$table_header
6
$table_header
8
<caption>Variables for general purposes by wims server</caption>
7
<caption>Variables for general purposes by wims server</caption>
9
 $var_lst wims_exec_error$emphend0 is used to store error messages
8
 $var_lst wims_exec_error$emphend0 is used to store error messages
10
  of the external program called by
9
  of the external program called by
11
  $(ref1)cmdlist_exec_&+cmd_choose=all$(ref2)cmdlist_exec_">!exec</a>.
10
  $(ref1)cmdlist_exec_&+cmd_choose=all$(ref2)cmdlist_exec_">!exec</a>.
12
  For this reason,
11
  For this reason,
13
  this variable will be overwritten each time a $emph!exec$emphend
12
  this variable will be overwritten each time a $emph!exec$emphend
14
  command is executed.
13
  command is executed.
15
 $emphend1$var_lst wims_module_log$emphend0 is used for individual
14
 $emphend1$var_lst wims_module_log$emphend0 is used for individual
Line 18... Line 17...
18
  user request.
17
  user request.
19
 $emphend1$var_lst wims_version$emphend0 has a value preset to the
18
 $emphend1$var_lst wims_version$emphend0 has a value preset to the
20
  current version of the wims server.
19
  current version of the wims server.
21
 $emphend1$var_lst wims_version_date$emphend0 has a value preset to the
20
 $emphend1$var_lst wims_version_date$emphend0 has a value preset to the
22
  last compile date of the server program.
21
  last compile date of the server program.
23
 $emphend1$var_lst wims_site_manager$emphend0 contains the electronic address of the
22
 $emphend1$var_lst wims_site_manager$emphend0 contains the electronic address of the
24
  site manager, as defined in the configuration file
23
  site manager, as defined in the configuration file
25
  $emph wims.conf$emphend of the site. Modules should not modify this
24
  $emph wims.conf$emphend of the site. Modules should not modify this
26
  variable.
25
  variable.
27
 $emphend1$var_lst wims_print_precision$emphend0 defines the printing precision when a
26
 $emphend1$var_lst wims_print_precision$emphend0 defines the printing precision when a
28
  result of evaluation (via <span class="tt">!eval</span> or <span class="tt">$[...]</span>) is converted to
27
  result of evaluation (via <span class="tt">!eval</span> or <span class="tt">$[...]</span>) is converted to
29
  a character string. Default value: $emph$wims_print_precision$emphend
28
  a character string. Default value: $emph$wims_print_precision$emphend
30
  (may be modified in wims.conf).
29
  (may be modified in wims.conf).
31
 $emphend1$var_lst wims_warn_$emphend0... is ...
30
 $emphend1$var_lst wims_warn_$emphend0... is ...
32
 $emphend1$var_lst wims_compare_precision$emphend0 is used to define error tolerance
31
 $emphend1$var_lst wims_compare_precision$emphend0 is used to define error tolerance
Line 47... Line 46...
47
  the words contained in the variable value should be treated as math variable
46
  the words contained in the variable value should be treated as math variable
48
  names. These words can be separated either by white space or by comma.
47
  names. These words can be separated either by white space or by comma.
49
 $emphend1$var_lst wims_ref_name$emphend0  gives the addess of the wims serveur (for this server, $wims_ref_name)
48
 $emphend1$var_lst wims_ref_name$emphend0  gives the addess of the wims serveur (for this server, $wims_ref_name)
50
 $emphend1$var_lst httpd_HTTP_HOST$emphend0 gives the name of the wims serveur (for this server, $httpd_HTTP_HOST)
49
 $emphend1$var_lst httpd_HTTP_HOST$emphend0 gives the name of the wims serveur (for this server, $httpd_HTTP_HOST)
51
 $emphend1$var_lst wims_ref_target$emphend0 defines the target of the command
50
 $emphend1$var_lst wims_ref_target$emphend0 defines the target of the command
52
  <span class="tt">!href, !homeref, !form</span>. Its value is <b>not</b> automatically
51
  <span class="tt">!href, !homeref, !form</span>. Its value is <b>not</b> automatically
53
  reset to empty after the commands. (Defaults to empty string, meaning that
52
  reset to empty after the commands. (Defaults to empty string, meaning that
54
  the target is the current document.)
53
  the target is the current document.)
55
 $emphend1$var_lst wims_ref_id$emphend0 defines the id in the command
54
 $emphend1$var_lst wims_ref_id$emphend0 defines the id in the command
56
  <span class="tt">!href</span> (&lt;a ... id=" "&gt;). Its value is automatically
55
  <span class="tt">!href</span> (&lt;a ... id=" "&gt;) and
-
 
56
  in the commands <span class="tt">!formradio</span>,
-
 
57
  <span class="tt">!formcheckbox</span>. Its value is automatically
57
  reset to empty after the commands. (Defaults to empty string)
58
  reset to empty after the commands. (Defaults to empty string)
58
 $emphend1$var_lst wims_ref_class$emphend0 defines the css class in the command
59
 $emphend1$var_lst wims_ref_class$emphend0 defines the css class in the command
59
  <span class="tt">!href</span> (&lt;a ... class=" "&gt;). Its value is automatically
60
  <span class="tt">!href</span> (&lt;a ... class=" "&gt;). Its value is automatically
60
  reset to empty after the command. (Defaults to empty string)
61
  reset to empty after the command. (Defaults to empty string)
61
  $emphend1$var_lst wims_ref_title$emphend0 defines the title in the command
62
  $emphend1$var_lst wims_ref_title$emphend0 defines the title in the command
62
  <span class="tt">!href</span> (&lt;a ... title=" "&gt;). Its value is automatically
63
  <span class="tt">!href</span> (&lt;a ... title=" "&gt;). Its value is automatically
63
  reset to empty after the command. (Defaults to empty string)
64
  reset to empty after the command. (Defaults to empty string)
-
 
65
 $emphend1$var_lst wims_html_mode$emphend0 can be used before a command
-
 
66
 as <span class="tt">!formradio</span>, <span class="tt">!formcheckbox</span>. It forces
-
 
67
 the results of the formradio to be inside the html mode. The value must be
-
 
68
 <span class="tt">span</span>, <span class="tt">li</span>,
-
 
69
 <span class="tt">div</span>. It could be <span class="tt">td</span>.
64
 $emphend1$var_lst wims_html_header$emphend0 is the standardised html header for all
70
 $emphend1$var_lst wims_html_header$emphend0 is the standardised html header for all
65
  its modules' html outputs. Its value is defined in the file
71
  its modules' html outputs. Its value is defined in the file
66
  html/header.phtml. It is highly recommended that modules use this variable
72
  html/header.phtml. It is highly recommended that modules use this variable
67
  to define their html headers.
73
  to define their html headers.
68
 $emphend1$var_lst wims_expire$emphend0 is used to define expiration dates of the
74
 $emphend1$var_lst wims_expire$emphend0 is used to define expiration dates of the
Line 76... Line 82...
76
$table_header
82
$table_header
77
<caption>Variables reserved for dynamic insertions</caption>
83
<caption>Variables reserved for dynamic insertions</caption>
78
 $var_lst ins_align$emphend0 defines the manner in which the inline picture
84
 $var_lst ins_align$emphend0 defines the manner in which the inline picture
79
  is aligned with respect to the line. Possible values: bottom, middle or top.
85
  is aligned with respect to the line. Possible values: bottom, middle or top.
80
  Default is empty (which means bottom).
86
  Default is empty (which means bottom).
81
 $var_lst ins_attr$emphend0 is used to define miscallaneous attributes of a
87
 $var_lst ins_attr$emphend0 is used to define miscallaneous attributes of a
82
  dynamic insertion. Examples:
88
  dynamic insertion. Examples:
83
  <pre>  ins_attr = align=middle</pre>
89
  <pre>  ins_attr = align=middle</pre>
84
  (aligns the middle of the image with the baseline for the current
90
  (aligns the middle of the image with the baseline for the current
85
  textline), or
91
  textline), or
86
  <pre>  ins_attr = ismap</pre>
92
  <pre>  ins_attr = ismap</pre>
Line 88... Line 94...
88
  of the element is the wims server, the coordinates will be registered
94
  of the element is the wims server, the coordinates will be registered
89
  under the variable $emph no_name$emphend.)
95
  under the variable $emph no_name$emphend.)
90
  $resetyes
96
  $resetyes
91
 $var_lst ins_border$emphend0 is used to define border width of the html
97
 $var_lst ins_border$emphend0 is used to define border width of the html
92
  element $emph IMG $emphend
98
  element $emph IMG $emphend
93
  resulted from the dynamic insertion. Its value should be a positive
99
  resulted from the dynamic insertion. Its value should be a positive
94
  number.
100
  number.
95
  $resetyes
101
  $resetyes
96
 $var_lst ins_density$emphend0 is used to define the density of the dynamic
102
 $var_lst ins_density$emphend0 is used to define the density of the dynamic
97
  insertions. Default value: $emph 100x100 $emphend.
103
  insertions. Default value: $emph 100x100 $emphend.
98
  <br/>
104
  <br/>
Line 112... Line 118...
112
  <span class="tt">ins_tag=form </span>$emph name$emphend<br/>
118
  <span class="tt">ins_tag=form </span>$emph name$emphend<br/>
113
  where $emph name$emphend is the name of the html element $emph IMG $emphend
119
  where $emph name$emphend is the name of the html element $emph IMG $emphend
114
  within the form (optional).
120
  within the form (optional).
115
  $resetyes
121
  $resetyes
116
 $var_lst insdraw_size$emphend0 is the size in pixels for the dynamic insertion.
122
 $var_lst insdraw_size$emphend0 is the size in pixels for the dynamic insertion.
117
  $var_lst ins_filename$emphend0 is the name of the graphics file of the dynamic insertion
123
  $var_lst ins_filename$emphend0 is the name of the graphics file of the dynamic insertion
118
  (generated by wims). It must be taken just after the command !insdraw
124
  (generated by wims). It must be taken just after the command !insdraw
119
 $var_lst ins_url$emphend0 is the url of the graphics file of the dynamic insertion.
125
 $var_lst ins_url$emphend0 is the url of the graphics file of the dynamic insertion.
120
 It must be taken just after the command !insdraw
126
 It must be taken just after the command !insdraw
121
 $var_lst insplot_data$emphend0 is ...
127
 $var_lst insplot_data$emphend0 is ...
122
 $var_lst insplot_font$emphend0 is ...
128
 $var_lst insplot_font$emphend0 is ...