Revision 45cc8d1e
Von Sven Schöling vor fast 15 Jahren hinzugefügt
templates/webpages/generic/multibox.html | ||
---|---|---|
62 | 62 |
<option value=""></option> |
63 | 63 |
[%- END %] |
64 | 64 |
[%- FOREACH row = DATA %] |
65 |
<option value="[% row.id %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.label) %]</option> |
|
65 |
<option value="[% row.id | html %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.label) %]</option>
|
|
66 | 66 |
[%- END %] |
67 | 67 |
</select> |
68 | 68 |
[%- END %] |
Auch abrufbar als: Unified diff
auch ids müssen in der Multibox escaped werden.