View | Details | Raw Unified | Return to bug 28083
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_28083_atomicupdate.perl (+6 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
        $dbh->do( "INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('IntranetHTMLHead','', 'Allow the insertion of HTML in the document <head>', NULL,'textarea')" );
4
            # Always end with this (adjust the bug info)
5
            NewVersion( $DBversion, 28083, "Allow the insertion of HTML in the document <head> via system preference");
6
}
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 272-277 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
272
('IntranetCoce','0', NULL, 'If on, enables cover retrieval from the configured Coce server in the staff interface', 'YesNo'),
272
('IntranetCoce','0', NULL, 'If on, enables cover retrieval from the configured Coce server in the staff interface', 'YesNo'),
273
('intranetcolorstylesheet','','50','Define the color stylesheet to use in the staff interface','free'),
273
('intranetcolorstylesheet','','50','Define the color stylesheet to use in the staff interface','free'),
274
('IntranetFavicon','','','Enter a complete URL to an image to replace the default Koha favicon on the staff interface','free'),
274
('IntranetFavicon','','','Enter a complete URL to an image to replace the default Koha favicon on the staff interface','free'),
275
('IntranetHTMLHead','',NULL,'Add HTML to be included in the OPAC in the document <head> tag.','free'),
275
('IntranetmainUserblock','','70|10','Add a block of HTML that will display on the intranet home page','Textarea'),
276
('IntranetmainUserblock','','70|10','Add a block of HTML that will display on the intranet home page','Textarea'),
276
('IntranetNav','','70|10','Use HTML tabs to add navigational links to the top-hand navigational bar in the staff interface','Textarea'),
277
('IntranetNav','','70|10','Use HTML tabs to add navigational links to the top-hand navigational bar in the staff interface','Textarea'),
277
('IntranetNumbersPreferPhrase','0',NULL,'Control the use of phr operator in callnumber and standard number staff interface searches','YesNo'),
278
('IntranetNumbersPreferPhrase','0',NULL,'Control the use of phr operator in callnumber and standard number staff interface searches','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc (+2 lines)
Lines 42-44 var Koha = {}; Link Here
42
[% UNLESS ( footerjs ) %]
42
[% UNLESS ( footerjs ) %]
43
    [% INCLUDE js_includes.inc %]
43
    [% INCLUDE js_includes.inc %]
44
[% END %]
44
[% END %]
45
46
[% Koha.Preference( 'IntranetHTMLHead' ) | $raw %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref (-1 / +6 lines)
Lines 29-34 Staff interface: Link Here
29
              syntax: javascript
29
              syntax: javascript
30
              class: code
30
              class: code
31
        -
31
        -
32
            - "Include the following in the HTML head on all pages in the staff interface::"
33
            - pref: IntranetHTMLHead
34
              type: textarea
35
              syntax: html
36
              class: code
37
        -
32
            - "Include the following CSS on all pages in the staff interface:"
38
            - "Include the following CSS on all pages in the staff interface:"
33
            - pref: IntranetUserCSS
39
            - pref: IntranetUserCSS
34
              type: textarea
40
              type: textarea
35
- 

Return to bug 28083