From a785dcb11d37456329d622e79438becbb76e93ca Mon Sep 17 00:00:00 2001
From: Chris Cormack <chrisc@catalyst.net.nz>
Date: Mon, 15 Jul 2019 14:28:16 +1200
Subject: [PATCH] Bug 23315 : Some systempreferences can not be edited
Content-Type: text/plain; charset=utf-8

To test
1/ Go to systempreferences
2/ Notice that SelfCheckHelpMessage IntranetmainUserblock
IntranetCirculationHomeHTML IntranetReportsHomeHTML
StaffLoginInstructions are not editable
3/ Apply patch, refresh page
4/ Now they can be edited

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
---
 .../prog/en/modules/admin/preferences/circulation.pref            | 2 +-
 .../prog/en/modules/admin/preferences/staff_client.pref           | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
index c005caa839..d51c4c6b52 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
@@ -970,7 +970,7 @@ Circulation:
         -
             - "Include the following HTML in the Help page of the web-based self checkout system:"
             - pref: SelfCheckHelpMessage
-              type: htmlarea
+              type: textarea
               class: code
         -
             - pref: AutoSelfCheckAllowed
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref
index 570c570982..789077c3bb 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref
@@ -47,7 +47,7 @@ Staff Client:
         -
             - "Show the following HTML in its own column on the main page of the staff client:"
             - pref: IntranetmainUserblock
-              type: htmlarea
+              type: textarea
               class: code
         -
             - "Show the following HTML to the left of the More menu at the top of each page on the staff client (should be a list of links or blank):"
@@ -104,17 +104,17 @@ Staff Client:
         -
             - "Show the following HTML in its own div on the bottom of the home page of the circulation module:"
             - pref: IntranetCirculationHomeHTML
-              type: htmlarea
+              type: textarea
               class: code
         -
             - "Show the following HTML in its own div on the bottom of the home page of the reports module:"
             - pref: IntranetReportsHomeHTML
-              type: htmlarea
+              type: textarea
               class: code
         -
             - "Show the following HTML on the staff client login page"
             - pref: StaffLoginInstructions
-              type: htmlarea
+              type: textarea
               class: code
     Options:
         -
-- 
2.11.0