Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision dc55d385

Von Sven Schöling vor etwa 15 Jahren hinzugefügt

  • ID dc55d385e48f6ccf189aa2a2ab2b9300eca743df
  • Vorgänger 18b75062
  • Nachfolger f134996a

Multibox Spacin verbessert.

Unterschiede anzeigen:

templates/webpages/generic/multibox.html
40 40
[%- END -%]
41 41
[%- IF allow_textbox and DATA.size and limit < DATA.size %]
42 42
<input type="text"
43
 [%- IF name     %] name="[%     HTML.escape(name)     %]"[% END %]
44
 [%- IF id       %] id="[%       HTML.escape(id)       %]"[% END %]
45
 [%- IF default  %] value="[%    HTML.escape(default)  %]"[% END %]
46
 [%- IF style    %] style="[%    HTML.escape(style)    %]"[% END %]
47
>
48
[%- IF select %]
43
 [%- IF name     %] name="[%     HTML.escape(name)     %]"[% END -%]
44
 [%- IF id       %] id="[%       HTML.escape(id)       %]"[% END -%]
45
 [%- IF default  %] value="[%    HTML.escape(default)  %]"[% END -%]
46
 [%- IF style    %] style="[%    HTML.escape(style)    %]"[% END -%]
47
[%- -%]>
48
[%- IF select -%]
49 49
  <input type="button" onclick="[% select %]" value="?">
50
[% END %]
50
[%- END -%]
51 51
[%- ELSE %]
52 52
<select
53
 [%- IF name     %] name="[%     HTML.escape(name)     %]"[% END %]
54
 [%- IF id       %] id="[%       HTML.escape(id)       %]"[% END %]
55
 [%- IF style    %] style="[%    HTML.escape(style)    %]"[% END %]
56
 [%- IF onChange %] onChange="[% HTML.escape(onChange) %]"[% END %]
57
>
53
 [%- IF name     %] name="[%     HTML.escape(name)     %]"[% END -%]
54
 [%- IF id       %] id="[%       HTML.escape(id)       %]"[% END -%]
55
 [%- IF style    %] style="[%    HTML.escape(style)    %]"[% END -%]
56
 [%- IF onChange %] onChange="[% HTML.escape(onChange) %]"[% END -%]
57
[%- -%]>
58 58
  [%- IF show_empty %]
59 59
  <option value=""></option>
60 60
  [%- END %]

Auch abrufbar als: Unified diff