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

(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 235-240 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
235
('OpacMaintenance','0','','If ON, enables maintenance warning in OPAC','YesNo'),
235
('OpacMaintenance','0','','If ON, enables maintenance warning in OPAC','YesNo'),
236
('OpacMainUserBlock','Welcome to Koha...\r\n<hr>','70|10','A user-defined block of HTML  in the main content area of the opac main page','Textarea'),
236
('OpacMainUserBlock','Welcome to Koha...\r\n<hr>','70|10','A user-defined block of HTML  in the main content area of the opac main page','Textarea'),
237
('OpacMainUserBlockMobile','',NULL,'Show the following HTML in its own column on the main page of the OPAC (mobile version):','free'),
237
('OpacMainUserBlockMobile','',NULL,'Show the following HTML in its own column on the main page of the OPAC (mobile version):','free'),
238
('OPACMandatoryHoldNotes','',NULL,'Mandatory hold notes','Textarea'),
238
('OPACMobileUserCSS','',NULL,'Include the following CSS for the mobile view on all pages in the OPAC:','free'),
239
('OPACMobileUserCSS','',NULL,'Include the following CSS for the mobile view on all pages in the OPAC:','free'),
239
('OPACMySummaryHTML','','70|10','Enter the HTML that will appear in a column on the \'my summary\' and \'my reading history\' tabs when a user is logged in to the OPAC. Enter {BIBLIONUMBER}, {TITLE}, {AUTHOR}, or {ISBN} in place of their respective variables in the HTML. Leave blank to disable.','Textarea'),
240
('OPACMySummaryHTML','','70|10','Enter the HTML that will appear in a column on the \'my summary\' and \'my reading history\' tabs when a user is logged in to the OPAC. Enter {BIBLIONUMBER}, {TITLE}, {AUTHOR}, or {ISBN} in place of their respective variables in the HTML. Leave blank to disable.','Textarea'),
240
('OpacNav','Important links here.','70|10','Use HTML tags to add navigational links to the left-hand navigational bar in OPAC','Textarea'),
241
('OpacNav','Important links here.','70|10','Use HTML tags to add navigational links to the left-hand navigational bar in OPAC','Textarea'),
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +10 lines)
Lines 7139-7144 if ( CheckVersion($DBversion) ) { Link Here
7139
    SetVersion ($DBversion);
7139
    SetVersion ($DBversion);
7140
}
7140
}
7141
7141
7142
$DBversion = "3.13.00.XXX";
7143
if(CheckVersion($DBversion)) {
7144
    $dbh->do(
7145
"INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('OPACMandatoryHoldNotes','','Mandatory hold notes','','Textarea')"
7146
    );
7147
    print "Upgrade to $DBversion done (Bug 9743: Mandatory opac hold notes under specified conditions)\n";
7148
    SetVersion($DBversion);
7149
}
7150
7151
7142
=head1 FUNCTIONS
7152
=head1 FUNCTIONS
7143
7153
7144
=head2 TableExists($table)
7154
=head2 TableExists($table)
7145
- 

Return to bug 9743