X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fgeneric%2Fmultibox.html;fp=templates%2Fwebpages%2Fgeneric%2Fmultibox.html;h=7225b0347f14f340ea267f1bc0ceb6fd86bbd0d6;hb=4cc5904b3ed7efd6a3d1c1f77ed23bf589fe7d0d;hp=b78f1bc0437cfae327b5b04ebdfb07f946b2d438;hpb=5e579516f2155775dfc0fddafff4bbf1f9dc9cda;p=kivitendo-erp.git
diff --git a/templates/webpages/generic/multibox.html b/templates/webpages/generic/multibox.html
index b78f1bc04..7225b0347 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
@@ -44,6 +45,7 @@
[%- 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 -%]
@@ -54,6 +56,7 @@
[%- IF id %] id="[% HTML.escape(id) %]"[% END -%]
[%- IF style %] style="[% HTML.escape(style) %]"[% END -%]
[%- IF onChange %] onChange="[% HTML.escape(onChange) %]"[% END -%]
+ [%- IF readonly %] disabled[% END -%]
[%- -%]>
[%- IF show_empty %]