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

(-)a/installer/data/mysql/atomicupdate/8995_OpenURL_sysprefs.sql (-6 lines)
Lines 1-6 Link Here
1
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES
2
  ('OpenURLResolverURL', '', 'URL of OpenURL Resolver', NULL, 'Free'),
3
  ('OpenURLText', '', 'Text of OpenURL links (or image title if OpenURLImageLocation is defined)', NULL, 'Free'),
4
  ('OpenURLImageLocation', '', 'Location of image for OpenURL links', NULL, 'Free'),
5
  ('OPACShowOpenURL', '', 'Enable display of OpenURL links in OPAC search results and detail page', NULL, 'YesNo'),
6
  ('OPACOpenURLItemTypes', '', 'Show the OpenURL link only for these item types', NULL, 'Free');
(-)a/installer/data/mysql/atomicupdate/bug_8995.perl (-1 / +15 lines)
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
}

Return to bug 8995