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

(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 236-241 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
236
('OpacMaintenance','0','','If ON, enables maintenance warning in OPAC','YesNo'),
236
('OpacMaintenance','0','','If ON, enables maintenance warning in OPAC','YesNo'),
237
('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
('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'),
238
('OpacMainUserBlockMobile','',NULL,'Show the following HTML in its own column on the main page of the OPAC (mobile version):','free'),
238
('OpacMainUserBlockMobile','',NULL,'Show the following HTML in its own column on the main page of the OPAC (mobile version):','free'),
239
('OPACMandatoryHoldNotes','',NULL,'Mandatory hold notes','Textarea'),
239
('OPACMobileUserCSS','',NULL,'Include the following CSS for the mobile view on all pages in the OPAC:','free'),
240
('OPACMobileUserCSS','',NULL,'Include the following CSS for the mobile view on all pages in the OPAC:','free'),
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'),
241
('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'),
241
('OpacNav','Important links here.','70|10','Use HTML tags to add navigational links to the left-hand navigational bar in OPAC','Textarea'),
242
('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 (-2 / +10 lines)
Lines 7146-7152 if ( CheckVersion($DBversion) ) { Link Here
7146
    SetVersion($DBversion);
7146
    SetVersion($DBversion);
7147
}
7147
}
7148
7148
7149
7150
$DBversion = "3.13.00.022";
7149
$DBversion = "3.13.00.022";
7151
if ( CheckVersion($DBversion) ) {
7150
if ( CheckVersion($DBversion) ) {
7152
    $dbh->do("DELETE from auth_tag_structure WHERE tagfield IN ('68a','68b')");
7151
    $dbh->do("DELETE from auth_tag_structure WHERE tagfield IN ('68a','68b')");
Lines 7155-7160 if ( CheckVersion($DBversion) ) { Link Here
7155
    SetVersion($DBversion);
7154
    SetVersion($DBversion);
7156
}
7155
}
7157
7156
7157
$DBversion = "3.13.00.XXX";
7158
if(CheckVersion($DBversion)) {
7159
    $dbh->do(
7160
"INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('OPACMandatoryHoldNotes','','Mandatory hold notes','','Textarea')"
7161
    );
7162
    print "Upgrade to $DBversion done (Bug 9743: Mandatory opac hold notes under specified conditions)\n";
7163
    SetVersion($DBversion);
7164
}
7165
7166
7158
=head1 FUNCTIONS
7167
=head1 FUNCTIONS
7159
7168
7160
=head2 TableExists($table)
7169
=head2 TableExists($table)
7161
- 

Return to bug 9743