X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/dc55d385e48f6ccf189aa2a2ab2b9300eca743df..c8c6d6d:/templates/webpages/generic/multibox.html diff --git a/templates/webpages/generic/multibox.html b/templates/webpages/generic/multibox.html index b78f1bc04..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 @@ -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,12 +56,13 @@ [%- 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 %] [%- END %] [%- FOREACH row = DATA %] - + [%- END %] [%- END %]