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

(-)a/installer/data/mysql/en/mandatory/sysprefs.sql (+1 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 ('GooglePreview','1','Display the ability to place multiple holds or not','','YesNo');
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced-content.pref (+6 lines)
Lines 130-135 Enhanced Content: Link Here
130
                  yes: Add
130
                  yes: Add
131
                  no: "Don't add"
131
                  no: "Don't add"
132
            - cover images from Google Books to search results and item detail pages on the OPAC.
132
            - cover images from Google Books to search results and item detail pages on the OPAC.
133
        -
134
            - pref: GooglePreview
135
              choices:
136
                  yes: Add
137
                  no: "Don't add"
138
            - add link to detail page to Google preview when it exists for a biblio (by isbn)
133
    Library Thing:
139
    Library Thing:
134
        # Awkward syntax below, due to quoting conflicts
140
        # Awkward syntax below, due to quoting conflicts
135
        -
141
        -
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl (+10 lines)
Lines 70-75 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
70
    <div id="catalogue_detail_biblio">
70
    <div id="catalogue_detail_biblio">
71
71
72
    <div id="bookcover">
72
    <div id="bookcover">
73
   
74
   <!-- TMPL_IF NAME="GooglePreview" -->
75
   <!-- TMPL_IF NAME="normalized_isbn" -->
76
   <script type="text/javascript" src="http://books.google.com/books/previewlib.js"></script>
77
   <script type="text/javascript">
78
   GBS_insertPreviewButtonPopup('ISBN:' + <!-- TMPL_VAR NAME="normalized_isbn" --> );
79
   </script><br />
80
   <!-- /TMPL_IF -->
81
   <!-- /TMPL_IF -->
82
      
73
    <!-- TMPL_IF NAME="OPACAmazonEnabled" --><!-- TMPL_IF NAME="OPACAmazonCoverImages" --><!-- TMPL_IF NAME="OPACURLOpenInNewWindow" --><a href="http://www.amazon<!-- TMPL_VAR NAME="AmazonTld" -->/gp/reader/<!-- TMPL_VAR NAME="normalized_isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link" target="_blank"><img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="normalized_isbn" -->.01.MZZZZZZZ.jpg" alt="Cover Image" /></a><!-- TMPL_ELSE --><a href="http://www.amazon<!-- TMPL_VAR NAME="AmazonTld" -->/gp/reader/<!-- TMPL_VAR NAME="normalized_isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="normalized_isbn" -->.01.MZZZZZZZ.jpg" alt="Cover Image" /></a><!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF -->
83
    <!-- TMPL_IF NAME="OPACAmazonEnabled" --><!-- TMPL_IF NAME="OPACAmazonCoverImages" --><!-- TMPL_IF NAME="OPACURLOpenInNewWindow" --><a href="http://www.amazon<!-- TMPL_VAR NAME="AmazonTld" -->/gp/reader/<!-- TMPL_VAR NAME="normalized_isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link" target="_blank"><img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="normalized_isbn" -->.01.MZZZZZZZ.jpg" alt="Cover Image" /></a><!-- TMPL_ELSE --><a href="http://www.amazon<!-- TMPL_VAR NAME="AmazonTld" -->/gp/reader/<!-- TMPL_VAR NAME="normalized_isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="normalized_isbn" -->.01.MZZZZZZZ.jpg" alt="Cover Image" /></a><!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF -->
74
84
75
    <!-- TMPL_IF NAME="SyndeticsEnabled" --><!-- TMPL_IF NAME="SyndeticsCoverImages" --><!-- TMPL_IF NAME="content_identifier_exists" --><!-- TMPL_IF NAME="using_https" -->
85
    <!-- TMPL_IF NAME="SyndeticsEnabled" --><!-- TMPL_IF NAME="SyndeticsCoverImages" --><!-- TMPL_IF NAME="content_identifier_exists" --><!-- TMPL_IF NAME="using_https" -->
(-)a/opac/opac-detail.pl (-1 / +2 lines)
Lines 62-67 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
62
62
63
my $biblionumber = $query->param('biblionumber') || $query->param('bib');
63
my $biblionumber = $query->param('biblionumber') || $query->param('bib');
64
64
65
$template->param( 'GooglePreview' => C4::Context->preference('GooglePreView') );
66
65
$template->param( 'AllowOnShelfHolds' => C4::Context->preference('AllowOnShelfHolds') );
67
$template->param( 'AllowOnShelfHolds' => C4::Context->preference('AllowOnShelfHolds') );
66
$template->param( 'ItemsIssued' => CountItemsIssued( $biblionumber ) );
68
$template->param( 'ItemsIssued' => CountItemsIssued( $biblionumber ) );
67
69
68
- 

Return to bug 5292