Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4cc5904b

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

  • ID 4cc5904b3ed7efd6a3d1c1f77ed23bf589fe7d0d
  • Vorgänger 5e579516
  • Nachfolger ee792a3f

Testversion is -> template

Unterschiede anzeigen:

templates/webpages/generic/multibox.html
23 23
    select        : java function call for a selection popup or other magic
24 24
    allow_textbox : allow to display a textbox instead of a drop down box if there are more entries than 'limit' entries.
25 25
    limit         : defines the limit of entries, after which a textbox is generated. defaults to vclimit, or, failing to find that, 200.
26
    readonly      : softly prevents modification
26 27
-%]
27 28
[%- DEFAULT
28 29
  limit      = limit   != '' ? limit   : vclimit != '' ? vclimit : 200
......
44 45
 [%- IF id       %] id="[%       HTML.escape(id)       %]"[% END -%]
45 46
 [%- IF default  %] value="[%    HTML.escape(default)  %]"[% END -%]
46 47
 [%- IF style    %] style="[%    HTML.escape(style)    %]"[% END -%]
48
 [%- IF readonly %] readonly[% END -%]
47 49
[%- -%]>
48 50
[%- IF select -%]
49 51
  <input type="button" onclick="[% select %]" value="?">
......
54 56
 [%- IF id       %] id="[%       HTML.escape(id)       %]"[% END -%]
55 57
 [%- IF style    %] style="[%    HTML.escape(style)    %]"[% END -%]
56 58
 [%- IF onChange %] onChange="[% HTML.escape(onChange) %]"[% END -%]
59
 [%- IF readonly %] disabled[% END -%]
57 60
[%- -%]>
58 61
  [%- IF show_empty %]
59 62
  <option value=""></option>

Auch abrufbar als: Unified diff