http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14268 --- Comment #2 from M. Tompsett <mtompset@hotmail.com> --- Comment on attachment 39484 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39484 Bug 14268 - Dropdown to select 'preftype' Review of attachment 39484: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14268&attachment=39484) ----------------------------------------------------------------- ::: koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt @@ +200,5 @@
<div class="hint">Note: you should have no reasons to modify the following default values</div> <ol> <li><label for="preftype">Variable type:</label> + <select name="preftype" id="preftype"> + <option value="Choice">Choice</option>
None of the options have 'selected'. You need to have logic in the perl script which passes a hash to the template of { value=>$value, selected=>$selected } where $value is generated by a nice loop, and $selected is set to '' or the appropriate HTML triggering a selection. And then this option loop would output the hash in a nicely formatted manner. -- You are receiving this mail because: You are watching all bug changes.