@@ -, +, @@ home pages --- ..._15008_add_custom_html_areas_to_circ_and_reports_home.sql | 2 ++ .../prog/en/modules/admin/preferences/staff_client.pref | 10 ++++++++++ .../intranet-tmpl/prog/en/modules/circ/circulation-home.tt | 4 ++++ .../intranet-tmpl/prog/en/modules/reports/reports-home.tt | 5 +++++ 4 files changed, 21 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_15008_add_custom_html_areas_to_circ_and_reports_home.sql --- a/installer/data/mysql/atomicupdate/bug_15008_add_custom_html_areas_to_circ_and_reports_home.sql +++ a/installer/data/mysql/atomicupdate/bug_15008_add_custom_html_areas_to_circ_and_reports_home.sql @@ -0,0 +1,2 @@ +INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES ('IntranetReportsHomeHTML', '', 'Show the following HTML in a div on the bottom of the reports home page', NULL, 'Free'); +INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES ('IntranetCirculationHomeHTML', '', 'Show the following HTML in a div on the bottom of the reports home page', NULL, 'Free'); --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref @@ -91,6 +91,16 @@ Staff Client: - pref: SlipCSS class: url - on Issue and Hold Slips. (This should be a complete URL, starting with http://.) + - + - "Show the following HTML in its own div on the bottom of the home page of the circulation module:" + - pref: IntranetCirculationHomeHTML + type: htmlarea + 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 + class: code Options: - - pref: viewMARC --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt @@ -68,7 +68,11 @@ + +
+ [% Koha.Preference('IntranetCirculationHomeHTML') %] +
[% INCLUDE 'intranet-bottom.inc' %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt @@ -1,3 +1,4 @@ +[% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] Koha › Reports [% INCLUDE 'doc-head-close.inc' %] @@ -69,6 +70,10 @@ + +
+ [% Koha.Preference('IntranetReportsHomeHTML') %] +
[% INCLUDE 'intranet-bottom.inc' %] --