Bug 11584: Syspref WYSIWYG, dropdown added
authorMartin Persson <xarragon@gmail.com>
Sun, 16 Aug 2015 22:01:05 +0000 (00:01 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 28 Aug 2015 13:30:17 +0000 (10:30 -0300)
This patch adds the 'Htmlarea' type to the dropdown box
introduced by bug 14268, commit 6e3bcc38.

Sponsored-By: Halmstad County Library
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt

index cea3731..03f1b29 100644 (file)
         [%- ELSE -%]
             <option value="Textarea">Textarea</option>
         [% END %]
+        [%- IF (preftype && preftype == 'Htmlarea') -%]
+            <option value="Htmlarea" selected>Htmlarea</option>
+        [%- ELSE -%]
+            <option value="Htmlarea">Htmlarea</option>
+        [% END %]
         [%- IF (preftype && preftype == 'Float') -%]
             <option value="Float" selected>Float</option>
         [%- ELSE -%]