|
Line 0
Link Here
|
| 0 |
- |
1 |
$DBversion = 'XXX'; # will be replaced by the RM |
|
|
2 |
if ( CheckVersion($DBversion) ) { |
| 3 |
$dbh->do(q{ |
| 4 |
INSERT IGNORE INTO `systempreferences` (`variable`, `value`, `explanation`, `options`, `type`) VALUES |
| 5 |
('OpenURLResolverURL', '', 'URL of OpenURL Resolver', NULL, 'Free'), |
| 6 |
('OpenURLText', '', 'Text of OpenURL links (or image title if OpenURLImageLocation is defined)', NULL, 'Free'), |
| 7 |
('OpenURLImageLocation', '', 'Location of image for OpenURL links', NULL, 'Free'), |
| 8 |
('OPACShowOpenURL', '', 'Enable display of OpenURL links in OPAC search results and detail page', NULL, 'YesNo'), |
| 9 |
('OPACOpenURLItemTypes', '', 'Show the OpenURL link only for these item types', NULL, 'Free'); |
| 10 |
}); |
| 11 |
|
| 12 |
SetVersion($DBversion); |
| 13 |
print |
| 14 |
"Upgrade to $DBversion done (Bug 8995 - Add new preferences for OpenURLResolvers)\n"; |
| 15 |
} |