X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fgeneric%2Fmultibox.html;h=ccb87cb154e41c4b1330049ab83559f2b9a31990;hb=eed8496250a9f1d509f38721a59b2ad23dca6657;hp=b1c615ecd4e0a4e954dd9f563ac576a674052d36;hpb=018e340ac9f0fc9c4b0bd180bd195e7c0fbd3c0e;p=kivitendo-erp.git
diff --git a/templates/webpages/generic/multibox.html b/templates/webpages/generic/multibox.html
index b1c615ecd..ccb87cb15 100644
--- a/templates/webpages/generic/multibox.html
+++ b/templates/webpages/generic/multibox.html
@@ -23,6 +23,7 @@
select : java function call for a selection popup or other magic
allow_textbox : allow to display a textbox instead of a drop down box if there are more entries than 'limit' entries.
limit : defines the limit of entries, after which a textbox is generated. defaults to vclimit, or, failing to find that, 200.
+ readonly : softly prevents modification
-%]
[%- DEFAULT
limit = limit != '' ? limit : vclimit != '' ? vclimit : 200
@@ -40,26 +41,28 @@
[%- END -%]
[%- IF allow_textbox and DATA.size and limit < DATA.size %]
-[%- IF select %]
+ [%- IF name %] name="[% HTML.escape(name) %]"[% END -%]
+ [%- IF id %] id="[% HTML.escape(id) %]"[% END -%]
+ [%- IF default %] value="[% HTML.escape(default) %]"[% END -%]
+ [%- IF style %] style="[% HTML.escape(style) %]"[% END -%]
+ [%- IF readonly %] readonly[% END -%]
+[%- -%]>
+[%- IF select -%]
-[% END %]
+[%- END -%]
[%- ELSE %]
[%- END %]