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

(-)a/admin/systempreferences.pl (+2 lines)
Lines 288-293 $tabsysprefs{AmazonSimilarItems} = "EnhancedContent"; Link Here
288
$tabsysprefs{OPACAmazonSimilarItems} = "EnhancedContent";
288
$tabsysprefs{OPACAmazonSimilarItems} = "EnhancedContent";
289
$tabsysprefs{AmazonReviews}          = "EnhancedContent";
289
$tabsysprefs{AmazonReviews}          = "EnhancedContent";
290
$tabsysprefs{OPACAmazonReviews}      = "EnhancedContent";
290
$tabsysprefs{OPACAmazonReviews}      = "EnhancedContent";
291
$tabsysprefs{OPAClinkresolver}       = "EnhancedContent";
292
$tabsysprefs{OPAClinkresolverURL}    = "EnhancedContent";
291
293
292
# Babelthèque
294
# Babelthèque
293
$tabsysprefs{Babeltheque}            = "EnhancedContent";
295
$tabsysprefs{Babeltheque}            = "EnhancedContent";
(-)a/installer/data/mysql/de-DE/mandatory/sysprefs.sql (+3 lines)
Lines 286-288 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
286
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI:Authorized_IPs','','.','Restricts usage of ILS-DI to some IPs','Free');
286
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI:Authorized_IPs','','.','Restricts usage of ILS-DI to some IPs','Free');
287
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OverduesBlockCirc','noblock','When checking out an item should overdues block checkout, generate a confirmation dialogue, or allow checkout','noblock|confirmation|block','Choice');
287
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OverduesBlockCirc','noblock','When checking out an item should overdues block checkout, generate a confirmation dialogue, or allow checkout','noblock|confirmation|block','Choice');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('DisplayMultiPlaceHold','1','Display the ability to place multiple holds or not','','YesNo');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('DisplayMultiPlaceHold','1','Display the ability to place multiple holds or not','','YesNo');
289
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPAClinkresolver','0','Enable use of a link resolver such as SFX for full-text access to ISSNs','','YesNo');
290
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPAClinkresolverURL','','Enter URL for OPAC ISSN full-text access link resolver such as SFX, plus any additional parameters (e.g., http://mysfxserver.com/sfxlcl3/?sfx.ignore_date_threshold=1&issn=)','','free');
291
(-)a/installer/data/mysql/en/mandatory/sysprefs.sql (+3 lines)
Lines 286-288 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
286
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI:Authorized_IPs','','.','Restricts usage of ILS-DI to some IPs','Free');
286
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI:Authorized_IPs','','.','Restricts usage of ILS-DI to some IPs','Free');
287
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OverduesBlockCirc','noblock','When checking out an item should overdues block checkout, generate a confirmation dialogue, or allow checkout','noblock|confirmation|block','Choice');
287
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OverduesBlockCirc','noblock','When checking out an item should overdues block checkout, generate a confirmation dialogue, or allow checkout','noblock|confirmation|block','Choice');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('DisplayMultiPlaceHold','1','Display the ability to place multiple holds or not','','YesNo');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('DisplayMultiPlaceHold','1','Display the ability to place multiple holds or not','','YesNo');
289
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPAClinkresolver','0','Enable use of a link resolver such as SFX for full-text access to ISSNs','','YesNo');
290
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPAClinkresolverURL','','Enter URL for OPAC ISSN full-text access link resolver such as SFX, plus any additional parameters (e.g., http://mysfxserver.com/sfxlcl3/?sfx.ignore_date_threshold=1&issn=)','','free');
291
(-)a/installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql (+2 lines)
Lines 286-288 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
286
INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'PrintNoticesMaxLines', '0', '', 'If greater than 0, sets the maximum number of lines an overdue notice will print. If the number of items is greater than this number, the notice will end with a warning asking the borrower to check their online account for a full list of overdue items.', 'Integer' );
286
INSERT INTO `systempreferences` ( `variable` , `value` , `options` , `explanation` , `type` ) VALUES ( 'PrintNoticesMaxLines', '0', '', 'If greater than 0, sets the maximum number of lines an overdue notice will print. If the number of items is greater than this number, the notice will end with a warning asking the borrower to check their online account for a full list of overdue items.', 'Integer' );
287
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI','0','Active les services ILS-DI à l''OPAC.','','YesNo');
287
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('ILS-DI','0','Active les services ILS-DI à l''OPAC.','','YesNo');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OverduesBlockCirc','noblock','When checking out an item should overdues block checkout, generate a confirmation dialogue, or allow checkout','noblock|confirmation|block','Choice');
288
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OverduesBlockCirc','noblock','When checking out an item should overdues block checkout, generate a confirmation dialogue, or allow checkout','noblock|confirmation|block','Choice');
289
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPAClinkresolver','0','Enable use of a link resolver such as SFX for full-text access to ISSNs','','YesNo');
290
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPAClinkresolverURL','','Enter URL for OPAC ISSN full-text access link resolver such as SFX, plus any additional parameters (e.g., http://mysfxserver.com/sfxlcl3/?sfx.ignore_date_threshold=1&issn=)','','free');
(-)a/installer/data/mysql/pl-PL/mandatory/sysprefs.sql (+2 lines)
Lines 273-275 INSERT INTO systempreferences (variable,value,explanation,options,type)VALUES('S Link Here
273
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('EnableOpacSearchHistory', '1', 'Enable or disable opac search history','', 'YesNo');
273
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('EnableOpacSearchHistory', '1', 'Enable or disable opac search history','', 'YesNo');
274
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('RoutingListAddReserves','1','If ON the patrons on routing lists are automatically added to holds on the issue.','','YesNo');
274
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('RoutingListAddReserves','1','If ON the patrons on routing lists are automatically added to holds on the issue.','','YesNo');
275
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('soundon','0','Enable circulation sounds during checkin and checkout in the staff interface.  Not supported by all web browsers yet.','','YesNo');
275
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('soundon','0','Enable circulation sounds during checkin and checkout in the staff interface.  Not supported by all web browsers yet.','','YesNo');
276
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPAClinkresolver','0','Enable use of a link resolver such as SFX for full-text access to ISSNs','','YesNo');
277
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPAClinkresolverURL','','Enter URL for OPAC ISSN full-text access link resolver such as SFX, plus any additional parameters (e.g., http://mysfxserver.com/sfxlcl3/?sfx.ignore_date_threshold=1&issn=)','','free');
(-)a/installer/data/mysql/ru-RU/mandatory/system_preferences_full_optimal_for_install_only.sql (+3 lines)
Lines 292-294 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( Link Here
292
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('OPACviewMARC','1','Allow display of MARC view of bibiographic records in OPAC','','YesNo');
292
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('OPACviewMARC','1','Allow display of MARC view of bibiographic records in OPAC','','YesNo');
293
-- from 3.00.06.005
293
-- from 3.00.06.005
294
294
295
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPAClinkresolver','0','Enable use of a link resolver such as SFX for full-text access to ISSNs','','YesNo');
296
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPAClinkresolverURL','','Enter URL for OPAC ISSN full-text access link resolver such as SFX, plus any additional parameters (e.g., http://mysfxserver.com/sfxlcl3/?sfx.ignore_date_threshold=1&issn=)','','free');
297
(-)a/installer/data/mysql/updatedatabase.pl (+14 lines)
Lines 3700-3705 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
3700
    print "Upgrade to $DBversion done (Add index on guarantorid)\n";
3700
    print "Upgrade to $DBversion done (Add index on guarantorid)\n";
3701
    SetVersion ($DBversion);
3701
    SetVersion ($DBversion);
3702
}
3702
}
3703
$DBversion = '3.01.00.146';
3704
if (C4::Context->preference('Version') < TransformToNum($DBversion)){
3705
    $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPAClinkresolver','0','Enable use of a link resolver such as SFX for full-text access to ISSNs','','YesNo');");
3706
    print "Upgrade to $DBversion done adding syspref OPAClinkresolver to allow use of a link resolver such as SFX";
3707
    SetVersion ($DBversion);
3708
}
3709
3710
$DBversion = '3.01.00.138';
3711
if (C4::Context->preference('Version') < TransformToNum($DBversion)){
3712
    $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('OPAClinkresolverURL','','Enter URL for OPAC ISSN full-text access link resolver such as SFX, plus any additional parameters (e.g., http://mysfxserver.com/sfxlcl3/?sfx.ignore_date_threshold=1&issn=)','','free');");
3713
    print "Upgrade to $DBversion done adding syspref OPAClinkresolverURL to allow use of a link resolver such as SFX";
3714
    SetVersion ($DBversion);
3715
}
3716
3703
3717
3704
=item DropAllForeignKeys($table)
3718
=item DropAllForeignKeys($table)
3705
3719
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced-content.pref (+12 lines)
Lines 16-21 Enhanced Content: Link Here
16
                  yes: Show
16
                  yes: Show
17
                  no: "Don't show"
17
                  no: "Don't show"
18
            - other editions of an item on the OPAC.
18
            - other editions of an item on the OPAC.
19
        -
20
            - pref: OPAClinkresolver
21
              default: 0
22
              choices:
23
                  yes: Enable
24
                  no: "Don't enable"
25
            - Use a link resolver such as SFX for full-text access to ISSNs (enter URL for link resolver in OPAClinkresolverURL).
26
        -
27
            - Enter URL for OPAC ISSN full-text access link resolver such as SFX, plus any additional parameters:<code>
28
            - pref: OPAClinkresolverURL
29
              class: multi
30
            - "</code>example: <code>http://mysfxserver.com/sfxlcl3/?sfx.ignore_date_threshold=1&issn=</code>" 
19
    Amazon:
31
    Amazon:
20
        -
32
        -
21
            - pref: AmazonEnabled
33
            - pref: AmazonEnabled
(-)a/koha-tmpl/opac-tmpl/prog/en/css/opac.css (-1 / +5 lines)
Lines 406-411 a .term { Link Here
406
	background-image:url(../../images/print.gif);
406
	background-image:url(../../images/print.gif);
407
}
407
}
408
408
409
#action a.linkresolver {
410
	background-image:url(../../famfamfam/silk/arrow_right.png);
411
}
412
409
#action a#furthersearches {
413
#action a#furthersearches {
410
	background : transparent url(../../images/menu-arrow.gif) no-repeat right center;
414
	background : transparent url(../../images/menu-arrow.gif) no-repeat right center;
411
	border : 1px solid #F3F3F3;
415
	border : 1px solid #F3F3F3;
Lines 1957-1960 div.ft { Link Here
1957
	font-size:90%;
1961
	font-size:90%;
1958
	list-style:disc outside url("../../images/item-bullet.gif");
1962
	list-style:disc outside url("../../images/item-bullet.gif");
1959
	padding:0.2em 0;
1963
	padding:0.2em 0;
1960
}
1964
}
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl (+3 lines)
Lines 798-803 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
798
	<!-- /TMPL_IF -->
798
	<!-- /TMPL_IF -->
799
<!-- /TMPL_UNLESS -->
799
<!-- /TMPL_UNLESS -->
800
        <li><a class="print" href="javascript:window.print();">Print</a></li>
800
        <li><a class="print" href="javascript:window.print();">Print</a></li>
801
<!-- TMPL_IF name="OPAClinkresolver" --><!-- TMPL_IF name="issn" -->
802
        <li><a class="linkresolver" target="_blank" href="<!-- TMPL_VAR NAME="OPAClinkresolverURL" --><!-- TMPL_VAR NAME="issn" -->"><span id="linkresolverlabel">Check Full Text Availability</span></a></li>
803
        <!-- /TMPL_IF --><!-- /TMPL_IF -->
801
<!-- TMPL_IF name="virtualshelves" -->
804
<!-- TMPL_IF name="virtualshelves" -->
802
    <!-- TMPL_IF NAME="opacuserlogin" --><!-- TMPL_IF NAME="loggedinusername" -->
805
    <!-- TMPL_IF NAME="opacuserlogin" --><!-- TMPL_IF NAME="loggedinusername" -->
803
        <li><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
806
        <li><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
(-)a/opac/opac-detail.pl (-1 / +2 lines)
Lines 239-244 $template->param( Link Here
239
	normalized_ean => $ean,
239
	normalized_ean => $ean,
240
	normalized_oclc => $oclc,
240
	normalized_oclc => $oclc,
241
	normalized_isbn => $isbn,
241
	normalized_isbn => $isbn,
242
        OPAClinkresolver   => C4::Context->preference("OPAClinkresolver"),
243
        OPAClinkresolverURL => C4::Context->preference("OPAClinkresolverURL"),
242
	content_identifier_exists =>  $content_identifier_exists,
244
	content_identifier_exists =>  $content_identifier_exists,
243
);
245
);
244
246
245
- 

Return to bug 3634