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

(-)a/installer/data/mysql/atomicupdate/bug_6419_Add_customizable_areas_to_module_start_pages.sql (+9 lines)
Line 0 Link Here
1
$DBversion = 'XXX';  # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    # you can use $dbh here like:
4
$dbh->do(q{
5
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES ('IntranetAcquisitionsHomeHTML', '', 'Show the following HTML in a div on the bottom of the acquisitions home page', NULL, 'Free'), ('IntranetAuthoritiesHomeHTML', '', 'Show the following HTML in a div on the bottom of the authorities home page', NULL, 'Free'), ('IntranetCatalogingHomeHTML', '', 'Show the following HTML in a div on the bottom of the cataloging home page', NULL, 'Free'), ('IntranetListsHomeHTML', '', 'Show the following HTML in a div on the bottom of the lists home page', NULL, 'Free'), ('IntranetPatronsHomeHTML', '', 'Show the following HTML in a div on the bottom of the patrons home page', NULL, 'Free'), ('IntranetPOSHomeHTML', '', 'Show the following HTML in a div on the bottom of the point of sale home page', NULL, 'Free'), ('IntranetSerialsHomeHTML', '', 'Show the following HTML in a div on the bottom of the serials home page', NULL, 'Free')});
6
7
    SetVersion( $DBversion );
8
    print "Upgrade to $DBversion done (Bug 6419 - Add customizable areas to intranet start pages)\n";
9
}
(-)a/installer/data/mysql/sysprefs.sql (+7 lines)
Lines 246-251 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
246
('IndependentBranches','0',NULL,'If ON, increases security between libraries','YesNo'),
246
('IndependentBranches','0',NULL,'If ON, increases security between libraries','YesNo'),
247
('IndependentBranchesPatronModifications','0', NULL, 'Show only modification request for the logged in branch','YesNo'),
247
('IndependentBranchesPatronModifications','0', NULL, 'Show only modification request for the logged in branch','YesNo'),
248
('IndependentBranchesTransfers','0', NULL, 'Allow non-superlibrarians to transfer items between libraries','YesNo'),
248
('IndependentBranchesTransfers','0', NULL, 'Allow non-superlibrarians to transfer items between libraries','YesNo'),
249
('IntranetAcquisitionsHomeHTML', '', NULL, 'Show the following HTML in a div on the bottom of the acquisitions home page', 'Free'),
250
('IntranetAuthoritiesHomeHTML', '', NULL, 'Show the following HTML in a div on the bottom of the authorities home page', 'Free'),
251
('IntranetCatalogingHomeHTML', '', NULL, 'Show the following HTML in a div on the bottom of the cataloging home page', 'Free'),
249
('IntranetCatalogSearchPulldown','0', NULL, 'Show a search field pulldown for \"Search the catalog\" boxes','YesNo'),
252
('IntranetCatalogSearchPulldown','0', NULL, 'Show a search field pulldown for \"Search the catalog\" boxes','YesNo'),
250
('RecordedBooksClientSecret','','30','Client key for RecordedBooks integration','YesNo'),
253
('RecordedBooksClientSecret','','30','Client key for RecordedBooks integration','YesNo'),
251
('RecordedBooksDomain','','','RecordedBooks domain','Free'),
254
('RecordedBooksDomain','','','RecordedBooks domain','Free'),
Lines 259-269 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
259
('IntranetCoce','0', NULL, 'If on, enables cover retrieval from the configured Coce server in the staff client', 'YesNo'),
262
('IntranetCoce','0', NULL, 'If on, enables cover retrieval from the configured Coce server in the staff client', 'YesNo'),
260
('intranetcolorstylesheet','','50','Define the color stylesheet to use in the Staff Client','free'),
263
('intranetcolorstylesheet','','50','Define the color stylesheet to use in the Staff Client','free'),
261
('IntranetFavicon','','','Enter a complete URL to an image to replace the default Koha favicon on the Staff client','free'),
264
('IntranetFavicon','','','Enter a complete URL to an image to replace the default Koha favicon on the Staff client','free'),
265
('IntranetListsHomeHTML', '', NULL, 'Show the following HTML in a div on the bottom of the lists home page', 'Free'),
262
('IntranetmainUserblock','','70|10','Add a block of HTML that will display on the intranet home page','Textarea'),
266
('IntranetmainUserblock','','70|10','Add a block of HTML that will display on the intranet home page','Textarea'),
263
('IntranetNav','','70|10','Use HTML tabs to add navigational links to the top-hand navigational bar in the Staff Client','Textarea'),
267
('IntranetNav','','70|10','Use HTML tabs to add navigational links to the top-hand navigational bar in the Staff Client','Textarea'),
264
('IntranetNumbersPreferPhrase','0',NULL,'Control the use of phr operator in callnumber and standard number staff client searches','YesNo'),
268
('IntranetNumbersPreferPhrase','0',NULL,'Control the use of phr operator in callnumber and standard number staff client searches','YesNo'),
269
('IntranetPatronsHomeHTML', '', NULL, 'Show the following HTML in a div on the bottom of the patrons home page', 'Free'),
270
('IntranetPOSHomeHTML', '', NULL, 'Show the following HTML in a div on the bottom of the point of sale home page', 'Free'),
265
('intranetreadinghistory','1','','If ON, Reading History is enabled for all patrons','YesNo'),
271
('intranetreadinghistory','1','','If ON, Reading History is enabled for all patrons','YesNo'),
266
('IntranetReportsHomeHTML', '', NULL, 'Show the following HTML in a div on the bottom of the reports home page', 'Free'),
272
('IntranetReportsHomeHTML', '', NULL, 'Show the following HTML in a div on the bottom of the reports home page', 'Free'),
273
('IntranetSerialsHomeHTML', '', NULL, 'Show the following HTML in a div on the bottom of the serials home page', 'Free'),
267
('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'),
274
('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'),
268
('intranetstylesheet','','50','Enter a complete URL to use an alternate layout stylesheet in Intranet','free'),
275
('intranetstylesheet','','50','Enter a complete URL to use an alternate layout stylesheet in Intranet','free'),
269
('IntranetUserCSS','',NULL,'Add CSS to be included in the intranet in an embedded <style> tag.','free'),
276
('IntranetUserCSS','',NULL,'Add CSS to be included in the intranet in an embedded <style> tag.','free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt (+4 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE Price %]
3
[% USE Price %]
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE Koha %]
5
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Acquisitions</title>
8
<title>Koha &rsaquo; Acquisitions</title>
Lines 264-268 Link Here
264
        });
265
        });
265
    </script>
266
    </script>
266
[% END %]
267
[% END %]
268
    <div class="yui-g" id="intranet-acqui-home-html">
269
        [% Koha.Preference('IntranetAcquisitionsHomeHTML') %]
270
    </div>
267
271
268
[% INCLUDE 'intranet-bottom.inc' %]
272
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref (+42 lines)
Lines 103-120 Staff Client: Link Here
103
              class: url
103
              class: url
104
            - on Issue and Hold Slips. (This should be a complete URL, starting with <code>http://</code>.)
104
            - on Issue and Hold Slips. (This should be a complete URL, starting with <code>http://</code>.)
105
        -
105
        -
106
            - "Show the following HTML in its own div on the bottom of the home page of the acquisitions module:"
107
            - pref: IntranetAcquisitionsHomeHTML
108
              type: textarea
109
              syntax: text/html
110
              class: code
111
        -
112
            - "Show the following HTML in its own div on the bottom of the home page of the authorities module:"
113
            - pref: IntranetAuthoritiesHomeHTML
114
              type: textarea
115
              syntax: text/html
116
              class: code
117
        -
118
            - "Show the following HTML in its own div on the bottom of the home page of the cataloguing module:"
119
            - pref: IntranetCatalogingHomeHTML
120
              type: textarea
121
              syntax: text/html
122
              class: code
123
        -
106
            - "Show the following HTML in its own div on the bottom of the home page of the circulation module:"
124
            - "Show the following HTML in its own div on the bottom of the home page of the circulation module:"
107
            - pref: IntranetCirculationHomeHTML
125
            - pref: IntranetCirculationHomeHTML
108
              type: textarea
126
              type: textarea
109
              syntax: text/html
127
              syntax: text/html
110
              class: code
128
              class: code
111
        -
129
        -
130
            - "Show the following HTML in its own div on the bottom of the home page of the lists module:"
131
            - pref: IntranetListsHomeHTML
132
              type: textarea
133
              syntax: text/html
134
              class: code
135
        -
136
            - "Show the following HTML in its own div on the bottom of the home page of the patrons module:"
137
            - pref: IntranetPatronsHomeHTML
138
              type: textarea
139
              syntax: text/html
140
              class: code
141
        -
142
            - "Show the following HTML in its own div on the bottom of the home page of the POS module:"
143
            - pref: IntranetPOSHomeHTML
144
              type: textarea
145
              syntax: text/area
146
              class: code
147
        -
112
            - "Show the following HTML in its own div on the bottom of the home page of the reports module:"
148
            - "Show the following HTML in its own div on the bottom of the home page of the reports module:"
113
            - pref: IntranetReportsHomeHTML
149
            - pref: IntranetReportsHomeHTML
114
              type: textarea
150
              type: textarea
115
              syntax: text/html
151
              syntax: text/html
116
              class: code
152
              class: code
117
        -
153
        -
154
            - "Show the following HTML in its own div on the bottom of the home page of the serials module:"
155
            - pref: IntranetSerialsHomeHTML
156
              type: textarea
157
              syntax: text/html
158
              class: code
159
        -
118
            - "Show the following HTML on the staff client login page"
160
            - "Show the following HTML on the staff client login page"
119
            - pref: StaffLoginInstructions
161
            - pref: StaffLoginInstructions
120
              type: textarea
162
              type: textarea
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt (+5 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Authorities</title>
4
<title>Koha &rsaquo; Authorities</title>
Lines 25-28 Link Here
25
    [% INCLUDE 'authorities_js.inc' %]
26
    [% INCLUDE 'authorities_js.inc' %]
26
[% END %]
27
[% END %]
27
28
29
    <div class="yui-g" id="intranet-authorities-home-html">
30
        [% Koha.Preference('IntranetAuthoritiesHomeHTML') %]
31
    </div>
32
28
[% INCLUDE 'intranet-bottom.inc' %]
33
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (+4 lines)
Lines 298-301 Link Here
298
    </script>
298
    </script>
299
[% END %]
299
[% END %]
300
300
301
    <div class="yui-g" id="intranet-cataloging-home-html">
302
        [% Koha.Preference('IntranetCatalogingHomeHTML') %]
303
    </div>
304
301
[% INCLUDE 'intranet-bottom.inc' %]
305
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt (+4 lines)
Lines 513-516 Link Here
513
    </script>
513
    </script>
514
[% END %]
514
[% END %]
515
515
516
    <div class="yui-g" id="intranet-members-home-html">
517
        [% Koha.Preference('IntranetPatronsHomeHTML') %]
518
    </div>
519
516
[% INCLUDE 'intranet-bottom.inc' %]
520
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt (+4 lines)
Lines 391-394 Link Here
391
    </script>
391
    </script>
392
[% END %]
392
[% END %]
393
393
394
    <div class="yui-g" id="intranet-pos-home-html">
395
        [% Koha.Preference('IntranetPOSHomeHTML') %]
396
    </div>
397
394
[% INCLUDE 'intranet-bottom.inc' %]
398
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt (+4 lines)
Lines 41-44 Link Here
41
    </script>
41
    </script>
42
[% END %]
42
[% END %]
43
43
44
    <div class="yui-g" id="intranet-serials-home-html">
45
        [% Koha.Preference('IntranetSerialsHomeHTML') %]
46
    </div>
47
44
[% INCLUDE 'intranet-bottom.inc' %]
48
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-1 / +4 lines)
Lines 763-766 Link Here
763
    </script>
763
    </script>
764
[% END %]
764
[% END %]
765
765
766
    <div class="yui-g" id="intranet-lists-home-html">
767
        [% Koha.Preference('IntranetListsHomeHTML') %]
768
    </div>
769
766
[% INCLUDE 'intranet-bottom.inc' %]
770
[% INCLUDE 'intranet-bottom.inc' %]
767
- 

Return to bug 6419