From 3511e9d103fc3c38b2dc6f9425ba6045651503bc Mon Sep 17 00:00:00 2001
From: Ralf Becker Nextmatch-FilterHeader
+ <nextmatch type="nextmatch-filterheader" id="col-name"/>
+ nextmatch-filterheader
+ nextmatch-sortheader
+ nextmatch-filterheader
+ Note: Both widgets interoperate with the nextmatch-widget which passes the set values as part if
+ the query-parameter to its get_rows function, they are not returned in the rows sub-array.
+
Note: Both Widgets can be used on the same template with the same name. They share
the content of that variable, which contains just the id of the entry in the current app.
-
+
link-string
+
Nextmatch-SortHeader
+
+ <nextmatch type="nextmatch-sortheader" id="col-name" label="ColLabel"/>
+ no
+ nextmatch-sortheader
+
+ These widget are an optional part of the nextmatch widget.
+
+ Widget to be placed as a colum-header in the headerline of a nextmatch-template. It allows, by clicking on it,
+ to order the lines of the nextmatch after a certain column. The column-name is given as name (xml:id) the
+ label is show as a link of button (no javascript). Consecutive click on the header change the sorting
+ direction, indicated by a little up- or down-arrow.
+ Widget to allow to show only certain row, which match a selected filter-value. The column-name is given as name
+ (xml:id), the options of the displayed selectbox need to be set as for an ordinary selectbox (eg. in the options
+ parameter to the uietemplate::exec function). If no extra-label is given in options, lang('all') will be used for
+ the empty value, which means no filter activ. An (optional) label can be given.
LinkWidgets
@@ -783,15 +810,15 @@ function index($content = 0)
Widget to shows the links to an entry and a Unlink Button for each link.
- Comma-separated list of link-titles with a link to its view-method, value is like the return
+ Comma-separated list of link-titles with a link to its view-method, value is like the return
of bolink::get_links().
One remark about cross-site-scripting
-The following eTemplate Widgets are parsing its content before displaying through htmlentities() to
+The following eTemplate Widgets are parsing its content before displaying through htmlspecialchars() to
correctly display the content and to gard against malecious data (like scripts etc.):