Subversion Repositories wimsdev

Rev

Rev 5921 | 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
!! +exec+ +html+
2
$lst_tit formcheckbox$lst_titend$type_exec
4562 bpr 3
  $lst_alias htmlcheckbox
32 reyssat 4
  $(lst_syntax)formcheckbox $emph name$emphend from $emph n1$emphend
5766 bpr 5
    to $emph n2$emphend prompt $emph promptlist $emphend<br/>
5921 bpr 6
    </span>or<span class="tt"> <br/>
9071 bpr 7
    $!formcheckbox $emph name$emphend list
32 reyssat 8
    $emph selectlist$emphend prompt $emph promptlist$emphend
5921 bpr 9
    </span>
5766 bpr 10
  $lst_mean Creates a checkbox list menu under a previously defined html form. <br/>
32 reyssat 11
  This command speeds up the creation of checkboxed menus, as well as simplifies
12
  the source files. In the parameters, $emph name$emphend defines the
13
  name field of the menu, and the values of the menu are either integers
9071 bpr 14
  going from $emph n1$emphend to $emph n2$emphend (in the first syntax), or
5766 bpr 15
  items in the list $emph selectlist$emphend. <br/>
32 reyssat 16
  The optional parameter $emph promptlist$emphend can be used to generate
17
  user prompts for each items in the list. If $emph promptlist$emphend is
18
  empty or is shorter than $emph selectlist$emphend, the undefined prompts
19
  will be replaced by the value. If it is longer, the rest will be ignored.
5766 bpr 20
  <br/>
9071 bpr 21
  An $emph id$emphend is created automatically, except if the variable
22
  $emph wims_ref_id$emphend is specified just before. If the variable
23
  has the values $emph wims_html_mode$emphend has a value as $emph div$emphend,
24
  $emph li$emphend, $emph td$emphend, the different items of
25
  the html form will be in the corresponding html environmment. If the
26
  variable $emph wims_ref_class$emphend is non empty, the class of
27
  this html environment is the value of this variable.
28
  The default of the menu will be the current value of the variable
32 reyssat 29
  $emph $$name$emphend.