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

(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 lines)
Lines 357-363 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
357
('IntranetNumbersPreferPhrase','0',NULL,'Control the use of phr operator in callnumber and standard number staff interface searches','YesNo'),
357
('IntranetNumbersPreferPhrase','0',NULL,'Control the use of phr operator in callnumber and standard number staff interface searches','YesNo'),
358
('intranetreadinghistory','1','','If ON, Checkout history is enabled for all patrons','YesNo'),
358
('intranetreadinghistory','1','','If ON, Checkout history is enabled for all patrons','YesNo'),
359
('IntranetReadingHistoryHolds', 1, '', 'If ON, Holds history is enabled for all patrons','YesNo'),
359
('IntranetReadingHistoryHolds', 1, '', 'If ON, Holds history is enabled for all patrons','YesNo'),
360
('IntranetReportsHomeHTML', '', NULL, 'Show the following HTML in a div on the bottom of the reports home page', 'Free'),
361
('IntranetSlipPrinterJS','','','Use this JavaScript for printing slips. Define at least function printThenClose(). For use e.g. with Firefox PlugIn jsPrintSetup, see http://jsprintsetup.mozdev.org/','Free'),
360
('IntranetSlipPrinterJS','','','Use this JavaScript for printing slips. Define at least function printThenClose(). For use e.g. with Firefox PlugIn jsPrintSetup, see http://jsprintsetup.mozdev.org/','Free'),
362
('intranetstylesheet','','50','Enter a complete URL to use an alternate layout stylesheet in Intranet','free'),
361
('intranetstylesheet','','50','Enter a complete URL to use an alternate layout stylesheet in Intranet','free'),
363
('IntranetUserCSS','',NULL,'Add CSS to be included in the intranet in an embedded <style> tag.','free'),
362
('IntranetUserCSS','',NULL,'Add CSS to be included in the intranet in an embedded <style> tag.','free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html-customization-help.inc (+2 lines)
Lines 16-21 Link Here
16
16
17
<div id="IntranetmainUserblock_notes" class="hint customization_note"> Include this content in its own section on the main page of the staff interface </div>
17
<div id="IntranetmainUserblock_notes" class="hint customization_note"> Include this content in its own section on the main page of the staff interface </div>
18
18
19
<div id="IntranetReportsHomeHTML_notes" class="hint customization_note"> Include this content in its own section on the reports home page</div>
20
19
<div id="opaccredits_notes" class="hint customization_note"> Include this content in the footer of all pages in the OPAC. </div>
21
<div id="opaccredits_notes" class="hint customization_note"> Include this content in the footer of all pages in the OPAC. </div>
20
22
21
<div id="OpacCustomSearch_notes" class="hint customization_note"> Replace the search box at the top of OPAC pages with this content. </div>
23
<div id="OpacCustomSearch_notes" class="hint customization_note"> Replace the search box at the top of OPAC pages with this content. </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref (-6 lines)
Lines 113-124 Staff interface: Link Here
113
              type: textarea
113
              type: textarea
114
              syntax: text/html
114
              syntax: text/html
115
              class: code
115
              class: code
116
        -
117
            - "Show the following HTML in its own div on the bottom of the home page of the reports module:"
118
            - pref: IntranetReportsHomeHTML
119
              type: textarea
120
              syntax: text/html
121
              class: code
122
        -
116
        -
123
            - pref: StaffHighlightedWords
117
            - pref: StaffHighlightedWords
124
              type: boolean
118
              type: boolean
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt (-3 / +20 lines)
Lines 1-5 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE AdditionalContents %]
3
[% PROCESS 'i18n.inc' %]
4
[% PROCESS 'i18n.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title
6
<title
Lines 126-135 Link Here
126
                </div>
127
                </div>
127
            </div>
128
            </div>
128
            <!-- /.row -->
129
            <!-- /.row -->
130
131
            [% SET IntranetReportsHomeHTML = AdditionalContents.get( location => "IntranetReportsHomeHTML", lang => lang, library => Branches.GetLoggedInBranchcode || default_branch ) %]
132
133
            [% IF ( IntranetReportsHomeHTML.content && IntranetReportsHomeHTML.content.count > 0 ) %]
134
                <div class="row">
135
                    <div class="col-sm-12">
136
                        <div id="[% IntranetReportsHomeHTML.location | html %]" class="page-section">
137
                            [% FOREACH n IN IntranetReportsHomeHTML.content %]
138
                                <div class="[% n.lang | html %]_item">
139
                                    <div class="[% n.lang | html %]_body">[% n.content | $raw %]</div>
140
                                </div>
141
                            [% END %]
142
                        </div>
143
                        <!-- /#IntranetReportsHomeHTML -->
144
                    </div>
145
                    <!-- /.col-sm-12 -->
146
                </div>
147
                <!-- /.row -->
148
            [% END # /IF IntranetReportsHomeHTML %]
129
        </div>
149
        </div>
130
    </div>
150
    </div>
131
    <div class="row">
132
        <div class="col-md-10 offset-md-1 col-lg-8 offset-lg-2" id="intranet-reports-home-html"> [% Koha.Preference('IntranetReportsHomeHTML') | $raw %] </div>
133
    </div>
134
</div>
151
</div>
135
[% INCLUDE 'intranet-bottom.inc' %]
152
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-2 / +1 lines)
Lines 542-548 Link Here
542
                [% END %]
542
                [% END %]
543
            [% END %]
543
            [% END %]
544
        </optgroup>
544
        </optgroup>
545
        [% SET staff_available_options = [ 'IntranetmainUserblock', 'RoutingListNote', 'StaffAcquisitionsHome', 'StaffAuthoritiesHome', 'StaffCataloguingHome', 'StaffListsHome', 'StaffLoginInstructions', 'StaffPatronsHome', 'StaffPOSHome', 'StaffSerialsHome' ] %]
545
        [% SET staff_available_options = [ 'IntranetmainUserblock', 'IntranetReportsHomeHTML', 'RoutingListNote', 'StaffAcquisitionsHome', 'StaffAuthoritiesHome', 'StaffCataloguingHome', 'StaffListsHome', 'StaffLoginInstructions', 'StaffPatronsHome', 'StaffPOSHome', 'StaffSerialsHome' ] %]
546
        <optgroup label="Staff interface">
546
        <optgroup label="Staff interface">
547
            [% FOREACH l IN staff_available_options.sort %]
547
            [% FOREACH l IN staff_available_options.sort %]
548
                [% IF l == location %]
548
                [% IF l == location %]
549
- 

Return to bug 34561