Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e03b46f1

Von Moritz Bunkus vor fast 12 Jahren hinzugefügt

  • ID e03b46f15f87e3a21c8fff61c7a762e8313b0ebc
  • Vorgänger 005e30ca
  • Nachfolger f29fd47b

multibox.html: Möglichkeit, "class" zu setzen

Unterschiede anzeigen:

templates/webpages/generic/multibox.html
limit : defines the limit of entries, after which a textbox is generated. defaults to vclimit, or, failing to find that, 200.
select_name : if a select is displayed, use a different name. ex.: department for textinput, but department_id for selects
readonly : softly prevents modification
class : CSS class names (optional)
-%]
[%-
Multibox__limit = limit != '' ? limit : vclimit != '' ? vclimit : 200
......
[%- IF Multibox__id %] id="[% Multibox__id | html %]"[% END -%]
[%- IF Multibox__default %] value="[% Multibox__default | html %]"[% END -%]
[%- IF style %] style="[% style | html %]"[% END -%]
[%- IF class %] class="[% class | html %]"[% END -%]
[%- IF readonly %] readonly[% END -%]
[%- -%]>
[%- IF select -%]
......
[%- IF Multibox__name %] name="[% Multibox__name | html %]"[% END -%]
[%- IF Multibox__id %] id="[% Multibox__id | html %]"[% END -%]
[%- IF style %] style="[% style | html %]"[% END -%]
[%- IF class %] class="[% class | html %]"[% END -%]
[%- IF onChange %] onChange="[% onChange | html %]"[% END -%]
[%- IF readonly %] disabled[% END -%]
[%- -%]>

Auch abrufbar als: Unified diff