diff --git a/etemplate/doc/reference.html b/etemplate/doc/reference.html
index 57ec7229fd..9fb05c685a 100644
--- a/etemplate/doc/reference.html
+++ b/etemplate/doc/reference.html
@@ -9,6 +9,7 @@ pre { font-family: monospace; background-color: #e0e0e0; padding: 2mm; border-wi
span { color: darkblue; font-family: sans-serife; }
li { margin-top: 5px; }
body { background-color: white; color: black; }
+table { border: 1px solid black; border-collapse: collapse; }
-->
@@ -492,9 +493,12 @@ implement only a subset of XUL. Here are the main differences:
a widget in a group of which only one can be checked
In the html-UI this is rendered as <input type="radio" ...>
- Unlike XUL (and like html) the radio-buttons are grouped by giving them the same name / id.
- If it is checked, the value is set to what is entered in Options. If the value of the
- content array at index name/id matches the options-field the radiobutton is marked 'checked'.
+ Unlike XUL (and like html) the radio-buttons are grouped by giving them the same name / id.
+ Options: [set_value][,ro_true[,ro_false]]
+ set_value: which value in the content represents the checked state, default=1
+ ro_true: what should be displayed for a readonly checked box, default=x
+ ro_false: display for an unchecked box, can be set to 'disable', to not display the widget (incl. label), default is empty
+ If the value of the content array at index name/id matches set_value the radiobutton is marked 'checked'.
|
@@ -795,7 +799,10 @@ $content[$id] = array( // I = value set by the app, 0 = value on return /
'header_right' => // I template to show right of the range-value, right-aligned (optional)
'bottom_too' => True// I show the nextmatch-line (arrows, filters, search, ...) again after the rows
'never_hide' => True// I never hide the nextmatch-line if less then maxmatch entrie
+ 'lettersearch' => True// I show a lettersearch
+ 'searchletter' => // I0 active letter of the lettersearch or false for [all]
'start' => // IO position in list
+ 'num_rows' => // IO number of rows to show, defaults to maxmatches from the general prefs
'cat_id' => // IO category, if not 'no_cat' => True
'search' => // IO search pattern
'order' => // IO name of the column to sort after (optional for the sortheaders)
@@ -803,10 +810,13 @@ $content[$id] = array( // I = value set by the app, 0 = value on return /
'col_filter' => // IO array of column-name value pairs (optional for the filterheaders)
'filter' => // IO filter, if not 'no_filter' => True
'filter_no_lang' => True// I set no_lang for filter (=dont translate the options)
+ 'filter_onchange'=> 'this.form.submit();'// I onChange action for filter, default: this.form.submit();
'filter2' => // IO filter2, if not 'no_filter2' => True
'filter2_no_lang'=> True// I set no_lang for filter2 (=dont translate the options)
+ 'filter2_onchange'=> 'this.form.submit();'// I onChange action for filter, default: this.form.submit();
'rows' => // O content set by callback
'total' => // O the total number of entries
+ 'sel_options' => // O additional or changed sel_options set by the callback and merged into $tmpl->sel_options
);
/*