Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
David Cook acc8de8214 Bug 11584: Introduce UseWYSIWYGinSystemPreferences syspref
This patch adds a system preference "UseWYSIWYGinSystemPreferences" to the Staff Client tab.

By default, it is off, which means that the TinyMCE WYSIWYG editor won't be shown for system
preferences with a type of "htmlarea".

However, when it's on, it will show the editor for "Local Use" preferences with a "htmlarea"
type, and for other system preferences in the "Opac", "Circulation", and "Staff Client" tabs,
which I have re-assigned. (Basically, I grepped for HTML and changed the type for all
the system preferences I found except for "IntranetNav", "OpacCustomSearch", and "OPACSearchForTitleIn",
as a WYSIWYG editor would potentially break the output for these system preferences or
add no value to them...)

_TEST PLAN_

0) Run `perl installer/data/mysql/updatedatabase.pl` after setting your environmental variables
1) Check the Opac tab to make sure that the WYSIWYG is nowhere to be seen
2) Change the "UseWYSIWYGinSystemPreferences" preference in "Staff Client" to "Show"
3) Refresh the Opac tab and notice that many system preferences now have a WYSIWYG editor

4) Try typing some text into these fields
5) Note that it gets marked as "modified"
6) Save the preference, and refresh the page
7) Note that the content has been saved
8) Take a look at how it's rendered on the actual webpage!

Signed-off-by: Martin Persson <xarragon@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-08-28 10:29:39 -03:00
..
acquisitions.pref Bug 11458: Improve confusing description of syspref 'gist' 2015-06-22 11:05:44 -03:00
admin.pref Bug 14215: Change the 'delimiter' syspref description for its wider use 2015-06-19 11:36:40 -03:00
authorities.pref
cataloguing.pref Bug 6874: Move uploadPath syspref to koha-conf.xml 2015-08-07 15:22:06 -03:00
circulation.pref Bug 11584: Introduce UseWYSIWYGinSystemPreferences syspref 2015-08-28 10:29:39 -03:00
enhanced_content.pref Bug 14318: iDreamBooks doesn't work when Koha is using https 2015-06-07 18:39:48 -03:00
i18n_l10n.pref Bug 12137: Extend CalendarFirstDayOfWeek to be any day 2015-07-20 10:43:35 -03:00
local_use.pref
logs.pref Bug 13948: Add ability to dump template toolkit variables to html comment 2015-07-28 10:29:43 -03:00
opac.pref Bug 11584: Introduce UseWYSIWYGinSystemPreferences syspref 2015-08-28 10:29:39 -03:00
patrons.pref Bug 13697: (QA followup) idiomatic fix add > charge 2015-08-28 10:00:20 -03:00
searching.pref Bug 13528: Use the different isbn variations on search on the isbn index (nb) 2015-04-16 13:44:57 -03:00
serials.pref Bug 9958: Improve RoutingSerials sys pref description 2014-12-28 20:32:37 -03:00
staff_client.pref Bug 11584: Introduce UseWYSIWYGinSystemPreferences syspref 2015-08-28 10:29:39 -03:00
tools.pref
web_services.pref Bug 3206: (QA followup) OAI repository deleted records support. 2015-07-08 14:55:17 -03:00