Revision f6de0aa9
Von Moritz Bunkus vor fast 17 Jahren hinzugefügt
templates/webpages/generic/multibox.html | ||
---|---|---|
39 | 39 |
[%- END -%] |
40 | 40 |
[%- IF DATA.size and limit < DATA.size %] |
41 | 41 |
<input type="text" |
42 |
[%~ IF name %] name="[% HTML.escape(name) %]"[% END ~%]
|
|
43 |
[%~ IF id %] id="[% HTML.escape(id) %]"[% END ~%]
|
|
44 |
[%~ IF default %] value="[% HTML.escape(default) %]"[% END ~%]
|
|
45 |
[%~ IF style %] style="[% HTML.escape(style) %]"[% END ~%]
|
|
42 |
[%- IF name %] name="[% HTML.escape(name) %]"[% END %]
|
|
43 |
[%- IF id %] id="[% HTML.escape(id) %]"[% END %]
|
|
44 |
[%- IF default %] value="[% HTML.escape(default) %]"[% END %]
|
|
45 |
[%- IF style %] style="[% HTML.escape(style) %]"[% END %]
|
|
46 | 46 |
> |
47 |
[%~ IF select %]
|
|
47 |
[%- IF select %]
|
|
48 | 48 |
<button type="button" onclick="[% select %]">?</button> |
49 |
[% END ~%]
|
|
49 |
[% END %] |
|
50 | 50 |
[%- ELSE %] |
51 | 51 |
<select |
52 |
[%~ IF name %] name="[% HTML.escape(name) %]"[% END ~%]
|
|
53 |
[%~ IF id %] id="[% HTML.escape(id) %]"[% END ~%]
|
|
54 |
[%~ IF style %] style="[% HTML.escape(style) %]"[% END ~%]
|
|
55 |
[%~ IF onChange %] onChange="[% HTML.escape(onChange) %]"[% END ~%]
|
|
52 |
[%- IF name %] name="[% HTML.escape(name) %]"[% END %]
|
|
53 |
[%- IF id %] id="[% HTML.escape(id) %]"[% END %]
|
|
54 |
[%- IF style %] style="[% HTML.escape(style) %]"[% END %]
|
|
55 |
[%- IF onChange %] onChange="[% HTML.escape(onChange) %]"[% END %]
|
|
56 | 56 |
> |
57 | 57 |
[%- IF show_empty %] |
58 | 58 |
<option value=""></option> |
Auch abrufbar als: Unified diff
Kompatibilitätsfix für ältere Template-Versionen: Das Whitespace-Removal ~ gibt es in älteren Versionen nicht.