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

(-)a/C4/Items.pm (+9 lines)
Lines 1192-1197 sub GetItemsInfo { Link Here
1192
           holding.branchurl,
1192
           holding.branchurl,
1193
           holding.branchname,
1193
           holding.branchname,
1194
           holding.opac_info as branch_opac_info
1194
           holding.opac_info as branch_opac_info
1195
           home.branchurl AS homebranchurl
1195
     FROM items
1196
     FROM items
1196
     LEFT JOIN branches AS holding ON items.holdingbranch = holding.branchcode
1197
     LEFT JOIN branches AS holding ON items.holdingbranch = holding.branchcode
1197
     LEFT JOIN branches AS home ON items.homebranch=home.branchcode
1198
     LEFT JOIN branches AS home ON items.homebranch=home.branchcode
Lines 1243-1248 sub GetItemsInfo { Link Here
1243
        if ( my $bdata = $bsth->fetchrow_hashref ) {
1244
        if ( my $bdata = $bsth->fetchrow_hashref ) {
1244
            $data->{'branchname'} = $bdata->{'branchname'};
1245
            $data->{'branchname'} = $bdata->{'branchname'};
1245
        }
1246
        }
1247
        $bsth = $dbh->prepare(
1248
            "SELECT * FROM branches WHERE branchcode = ?
1249
        "
1250
        );
1251
        $bsth->execute( $data->{'homebranch'} );
1252
        if ( my $bdata = $bsth->fetchrow_hashref ) {
1253
            $data->{'homebranchname'} = $bdata->{'branchname'};
1254
        }
1246
        $data->{'datedue'}        = $datedue;
1255
        $data->{'datedue'}        = $datedue;
1247
1256
1248
        # get notforloan complete status if applicable
1257
        # get notforloan complete status if applicable
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 360-362 INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES Link Here
360
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('SocialNetworks','1','Enable/Disable social networks links in opac detail pages','','YesNo');
360
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('SocialNetworks','1','Enable/Disable social networks links in opac detail pages','','YesNo');
361
INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('SubscriptionDuplicateDroppedInput','','','List of fields which must not be rewritten when a subscription is duplicated (Separated by pipe |)','Free');
361
INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES('SubscriptionDuplicateDroppedInput','','','List of fields which must not be rewritten when a subscription is duplicated (Separated by pipe |)','Free');
362
INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('AutoResumeSuspendedHolds',  '1', NULL ,  'Allow suspended holds to be automatically resumed by a set date.',  'YesNo');
362
INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('AutoResumeSuspendedHolds',  '1', NULL ,  'Allow suspended holds to be automatically resumed by a set date.',  'YesNo');
363
INSERT INTO systempreferences` (variable,value,options,explanation,type) VALUES ('OpacLocationBranchToDisplay',  'holding',  'holding|home|both',  'In the OPAC, under location show which branch for Location in the record details.',  'Choice');
(-)a/installer/data/mysql/updatedatabase.pl (+7 lines)
Lines 5139-5144 if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { Link Here
5139
    SetVersion($DBversion);
5139
    SetVersion($DBversion);
5140
}
5140
}
5141
5141
5142
$DBversion = "3.07.00.XXX";
5143
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
5144
    $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('OpacLocationBranchToDisplay',  'holding',  'holding|home|both',  'In the OPAC, under location show which branch for Location in the record details.',  'Choice')");
5145
    print "Upgrade to $DBversion done (Added system preference OpacLocationBranchToDisplay)\n";
5146
    SetVersion($DBversion);
5147
}
5148
5142
=head1 FUNCTIONS
5149
=head1 FUNCTIONS
5143
5150
5144
=head2 DropAllForeignKeys($table)
5151
=head2 DropAllForeignKeys($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (+8 lines)
Lines 84-89 OPAC: Link Here
84
                  no: "Don't show"
84
                  no: "Don't show"
85
            - the name of the patron that has an item checked out on item detail pages on the OPAC.
85
            - the name of the patron that has an item checked out on item detail pages on the OPAC.
86
        -
86
        -
87
            - Display the
88
            - pref: OpacLocationBranchToDisplay
89
              choices:
90
                  home: "home library" 
91
                  holding: "holding library"
92
                  both: "home and holding libraries"
93
            - for items on the OPAC record details page.
94
        -
87
            - pref: OpacKohaUrl
95
            - pref: OpacKohaUrl
88
              default: 0
96
              default: 0
89
              choices:
97
              choices:
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt (-92 / +128 lines)
Lines 41-59 Link Here
41
            widgets : ['zebra'],
41
            widgets : ['zebra'],
42
            sortList: [[0,0]]
42
            sortList: [[0,0]]
43
        });
43
        });
44
	[% IF ( GoogleJackets ) %]
44
        [% IF ( GoogleJackets ) %]
45
        KOHA.Google.GetCoverFromIsbn([% covernewwindow %]);
45
        KOHA.Google.GetCoverFromIsbn([% covernewwindow %]);
46
	[% END %]
46
        [% END %]
47
	[% IF OpenLibraryCovers %]
47
        [% IF OpenLibraryCovers %]
48
	KOHA.OpenLibrary.GetCoverFromIsbn();
48
        KOHA.OpenLibrary.GetCoverFromIsbn();
49
	[% END %]
49
        [% END %]
50
	[% IF OPACLocalCoverImages %]
50
        [% IF OPACLocalCoverImages %]
51
	KOHA.LocalCover.GetCoverFromBibnumber(true);
51
        KOHA.LocalCover.GetCoverFromBibnumber(true);
52
	[% END %]
52
        [% END %]
53
        [% IF ( NovelistSelectProfile ) %]
53
        [% IF ( NovelistSelectProfile ) %]
54
        novSelect.loadContentForISBN('[% normalized_isbn %]','[% NovelistSelectProfile %]', '[% NovelistSelectPassword %]', function(d){});
54
        novSelect.loadContentForISBN('[% normalized_isbn %]','[% NovelistSelectProfile %]', '[% NovelistSelectPassword %]', function(d){});
55
        [% END %]
55
        [% END %]
56
	[% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %]
56
        [% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %]
57
        $(".tagbutton").click(KOHA.Tags.add_tag_button);[% END %][% END %][% END %]
57
        $(".tagbutton").click(KOHA.Tags.add_tag_button);[% END %][% END %][% END %]
58
        [% IF ( busc ) %]
58
        [% IF ( busc ) %]
59
        if (arrPagination.length > 0) {
59
        if (arrPagination.length > 0) {
Lines 203-221 function renderPagination(index, total, ul, highlIndex) Link Here
203
203
204
YAHOO.util.Event.onContentReady("furtherm", function () {
204
YAHOO.util.Event.onContentReady("furtherm", function () {
205
    $("#furtherm").css("display","block").css("visibility","hidden");
205
    $("#furtherm").css("display","block").css("visibility","hidden");
206
	$("#furthersearches").parent().show();
206
        $("#furthersearches").parent().show();
207
	var furthersearchesMenu = new YAHOO.widget.Menu("furtherm");
207
        var furthersearchesMenu = new YAHOO.widget.Menu("furtherm");
208
		furthersearchesMenu.render();
208
                furthersearchesMenu.render();
209
		furthersearchesMenu.cfg.setProperty("context", ["furthersearches", "tr", "br"]);
209
                furthersearchesMenu.cfg.setProperty("context", ["furthersearches", "tr", "br"]);
210
		furthersearchesMenu.subscribe("beforeShow",positionfurthersearchesMenu);
210
                furthersearchesMenu.subscribe("beforeShow",positionfurthersearchesMenu);
211
		furthersearchesMenu.subscribe("show", furthersearchesMenu.focus);
211
                furthersearchesMenu.subscribe("show", furthersearchesMenu.focus);
212
        function positionfurthersearchesMenu() {
212
        function positionfurthersearchesMenu() {
213
                    furthersearchesMenu.align("tr", "br");
213
                    furthersearchesMenu.align("tr", "br");
214
		}
214
                }
215
		YAHOO.util.Event.addListener("furthersearches", "click", furthersearchesMenu.show, null, furthersearchesMenu);
215
                YAHOO.util.Event.addListener("furthersearches", "click", furthersearchesMenu.show, null, furthersearchesMenu);
216
		YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionfurthersearchesMenu);
216
                YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionfurthersearchesMenu);
217
 });
217
 });
218
	
218
        
219
//]]>
219
//]]>
220
</script>
220
</script>
221
[% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %]<style type="text/css">
221
[% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %]<style type="text/css">
Lines 393-417 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
393
393
394
<!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them -->
394
<!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them -->
395
[% IF ( LibraryThingForLibrariesID ) %]
395
[% IF ( LibraryThingForLibrariesID ) %]
396
	[% UNLESS ( LibraryThingForLibrariesTabbedView ) %]
396
        [% UNLESS ( LibraryThingForLibrariesTabbedView ) %]
397
		<div class="results_summary"><div id="ltfl_related" class="ltfl"></div></div> 
397
                <div class="results_summary"><div id="ltfl_related" class="ltfl"></div></div> 
398
		<div class="results_summary"><div id="ltfl_similars" class="ltfl"></div></div> 
398
                <div class="results_summary"><div id="ltfl_similars" class="ltfl"></div></div> 
399
		<div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div> 
399
                <div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div> 
400
	[% END %]
400
        [% END %]
401
	<span class="results_summary">
401
        <span class="results_summary">
402
        <span class="label">Reviews from LibraryThing.com:</span>	
402
        <span class="label">Reviews from LibraryThing.com:</span>        
403
        <span style="display: block;" class="ltfl_reviews"></span>
403
        <span style="display: block;" class="ltfl_reviews"></span>
404
    </span>
404
    </span>
405
[% END %] 
405
[% END %] 
406
406
407
<!--This grabs all of the lists a bib record appears in -->
407
<!--This grabs all of the lists a bib record appears in -->
408
[% IF ( GetShelves ) %]
408
[% IF ( GetShelves ) %]
409
	<span class="results_summary"><span class="label">List(s) this item appears in: </span>
409
        <span class="results_summary"><span class="label">List(s) this item appears in: </span>
410
	[% FOREACH GetShelve IN GetShelves %]
410
        [% FOREACH GetShelve IN GetShelves %]
411
		<a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% GetShelve.shelfnumber %]">[% GetShelve.shelfname %]</a>
411
                <a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% GetShelve.shelfnumber %]">[% GetShelve.shelfname %]</a>
412
		[% IF ( loop.last ) %][% ELSE %]|[% END %]
412
                [% IF ( loop.last ) %][% ELSE %]|[% END %]
413
	[% END %]
413
        [% END %]
414
	</span>
414
        </span>
415
[% END %]
415
[% END %]
416
416
417
[% IF ( TagsEnabled ) %]
417
[% IF ( TagsEnabled ) %]
Lines 594-613 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
594
[% IF ( serialcollection ) %]
594
[% IF ( serialcollection ) %]
595
<div id="serialcollection">
595
<div id="serialcollection">
596
    <table id="serialcollectiont">
596
    <table id="serialcollectiont">
597
	<thead>
597
        <thead>
598
	    <tr>
598
            <tr>
599
		<th id="serial_library">Library</th>
599
                <th id="serial_library">Library</th>
600
		<th id="seral_collection">Serial collection</th>
600
                <th id="seral_collection">Serial collection</th>
601
	    </tr>
601
            </tr>
602
	</thead>
602
        </thead>
603
	<tbody>
603
        <tbody>
604
	[% FOREACH serialcollection IN serialcollections %]
604
        [% FOREACH serialcollection IN serialcollections %]
605
	    <tr>
605
            <tr>
606
		<td>[% serialcollection.branch %]</td>
606
                <td>[% serialcollection.branch %]</td>
607
		<td>[% serialcollection.text %]</td>
607
                <td>[% serialcollection.text %]</td>
608
	    </tr>
608
            </tr>
609
	[% END %]
609
        [% END %]
610
	</tbody>
610
        </tbody>
611
    </table>
611
    </table>
612
</div>
612
</div>
613
[% END %]
613
[% END %]
Lines 615-626 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
615
<div id="holdings">
615
<div id="holdings">
616
[% IF ( count ) %]
616
[% IF ( count ) %]
617
    [% IF ( lotsofitems ) %]
617
    [% IF ( lotsofitems ) %]
618
	<p>This record has many physical items. <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]&amp;viewallitems=1#holdings">Click here to view them all.</a></p>
618
        <p>This record has many physical items. <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]&amp;viewallitems=1#holdings">Click here to view them all.</a></p>
619
    [% ELSE %]
619
    [% ELSE %]
620
    <table id="holdingst">
620
    <table id="holdingst">
621
        <thead><tr>
621
        <thead><tr>
622
            [% IF ( item_level_itypes ) %]<th id="item_itemtype">Item type</th>[% END %]
622
            [% IF ( item_level_itypes ) %]<th id="item_itemtype">Item type</th>[% END %]
623
            <th id="item_location">Location</th>
623
                [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' || singleBranchMode ) %]
624
                        <th>Current Location</th>
625
                [% END %]
626
                [% UNLESS ( singleBranchMode ) %]
627
                        [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
628
                                <th>Home Library</th>
629
                        [% END %]
630
                [% END %]
624
            [% IF ( itemdata_ccode ) %]<th id="item_ccode">Collection</th>[% END %]
631
            [% IF ( itemdata_ccode ) %]<th id="item_ccode">Collection</th>[% END %]
625
            <th id="item_callnumber">Call Number</th>
632
            <th id="item_callnumber">Call Number</th>
626
            [% IF ( itemdata_enumchron ) %]<th id="item_enumchron">Vol Info</th>[% END %]
633
            [% IF ( itemdata_enumchron ) %]<th id="item_enumchron">Vol Info</th>[% END %]
Lines 630-661 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
630
            [% IF ( itemdata_itemnotes ) %]<th id="item_notes">Notes</th>[% END %]
637
            [% IF ( itemdata_itemnotes ) %]<th id="item_notes">Notes</th>[% END %]
631
            <th id="item_datedue">Date Due</th>
638
            <th id="item_datedue">Date Due</th>
632
        </tr></thead>
639
        </tr></thead>
633
	    <tbody>[% FOREACH ITEM_RESULT IN ITEM_RESULTS %]
640
            <tbody>[% FOREACH ITEM_RESULT IN ITEM_RESULTS %]
634
	    <tr>[% IF ( item_level_itypes ) %]<td>[% UNLESS ( noItemTypeImages ) %][% IF ( ITEM_RESULT.imageurl ) %]<img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />[% END %][% END %] [% ITEM_RESULT.description %]</td>[% END %]
641
            <tr>[% IF ( item_level_itypes ) %]<td>[% UNLESS ( noItemTypeImages ) %][% IF ( ITEM_RESULT.imageurl ) %]<img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />[% END %][% END %] [% ITEM_RESULT.description %]</td>[% END %]
635
		<td>
642
                <td>
636
    [% UNLESS ( singleBranchMode ) %]
643
                        [% UNLESS ( singleBranchMode ) %]
637
        <span class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]">
644
                                <span class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]">
638
        [% IF ( ITEM_RESULT.branchurl ) %]
645
                                    [% IF ( ITEM_RESULT.branchurl ) %]
639
        <a href="[% ITEM_RESULT.branchurl %]">[% ITEM_RESULT.branchname %]</a>
646
                                        <a href="[% ITEM_RESULT.branchurl %]">[% ITEM_RESULT.branchname %]</a>
640
        [% ELSE %]
647
                                    [% ELSE %]
641
        [% ITEM_RESULT.branchname %]
648
                                        [% ITEM_RESULT.branchname %]
642
        [% END %]
649
                                    [% END %]
643
        </span>
650
                                </span>
644
        <div class="branch-info-tooltip">[% ITEM_RESULT.branch_opac_info %]</div>
651
                                <div class="branch-info-tooltip">[% ITEM_RESULT.branch_opac_info %]</div>
645
    [% END %]
652
                        [% END %]
646
    <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
653
647
    </td>
654
                        [% IF ( singleBranchMode ) %]
648
		[% IF ( itemdata_ccode ) %]<td>[% ITEM_RESULT.ccode %]</td>[% END %]
655
                                <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
649
		<td>[% IF ( ITEM_RESULT.itemcallnumber ) %] [% ITEM_RESULT.itemcallnumber %][% IF ( OPACShelfBrowser ) %] (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&amp;shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#shelfbrowser">Browse Shelf</a>)[% END %][% END %]</td>
656
                        [% END %]
650
		[% IF ( itemdata_enumchron ) %]<td>[% ITEM_RESULT.enumchron %]</td>[% END %]
657
                </td>
651
		[% IF ( itemdata_uri ) %]<td><a href="[% ITEM_RESULT.uri %]">[% ITEM_RESULT.uri %]</a></td>[% END %]
658
652
		[% IF ( itemdata_copynumber ) %]<td>[% ITEM_RESULT.copynumber %]</td>[% END %]
659
                [% UNLESS ( singleBranchMode ) %]
653
		<td>[% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
660
                        [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
654
		[% IF ( itemdata_itemnotes ) %]<td>[% ITEM_RESULT.itemnotes %]</td>[% END %]
661
                                <td>
655
		<td>[% ITEM_RESULT.datedue | $KohaDates %]</td>
662
                                        [% IF ( ITEM_RESULT.branchurl ) %]
656
	    </tr>
663
                                                <a href="[% ITEM_RESULT.branchurl %]">[% ITEM_RESULT.branchname %]</a>
657
	    [% END %]</tbody>
664
                                        [% ELSE %]
658
	</table>
665
                                                [% ITEM_RESULT.branchname %]
666
                                        [% END %]
667
        
668
                                </td>
669
                        [% END %]
670
671
                        [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
672
                                <td>
673
                                        [% IF ( ITEM_RESULT.homebranchurl ) %]
674
                                                <a href="[% ITEM_RESULT.homebranchurl %]">[% ITEM_RESULT.homebranchname %]</a>
675
                                        [% ELSE %]
676
                                                [% ITEM_RESULT.homebranchname %]
677
                                        [% END %]                        
678
679
                                        <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
680
                                </td>
681
                        [% END %]
682
                [% END %]
683
684
                [% IF ( itemdata_ccode ) %]<td>[% ITEM_RESULT.ccode %]</td>[% END %]
685
                <td>[% IF ( ITEM_RESULT.itemcallnumber ) %] [% ITEM_RESULT.itemcallnumber %][% IF ( OPACShelfBrowser ) %] (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&amp;shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#shelfbrowser">Browse Shelf</a>)[% END %][% END %]</td>
686
                [% IF ( itemdata_enumchron ) %]<td>[% ITEM_RESULT.enumchron %]</td>[% END %]
687
                [% IF ( itemdata_uri ) %]<td><a href="[% ITEM_RESULT.uri %]">[% ITEM_RESULT.uri %]</a></td>[% END %]
688
                [% IF ( itemdata_copynumber ) %]<td>[% ITEM_RESULT.copynumber %]</td>[% END %]
689
                <td>[% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
690
                [% IF ( itemdata_itemnotes ) %]<td>[% ITEM_RESULT.itemnotes %]</td>[% END %]
691
                <td>[% ITEM_RESULT.datedue | $KohaDates %]</td>
692
            </tr>
693
            [% END %]</tbody>
694
        </table>
659
    [% END %]
695
    [% END %]
660
[% ELSE %]
696
[% ELSE %]
661
    [% IF ( ALTERNATEHOLDINGS ) %]
697
    [% IF ( ALTERNATEHOLDINGS ) %]
Lines 695-701 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
695
    [% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonCoverImages ) %][% IF ( NEXT_SHELF_BROWS.browser_normalized_isbn ) %]
731
    [% IF ( OPACAmazonEnabled ) %][% IF ( OPACAmazonCoverImages ) %][% IF ( NEXT_SHELF_BROWS.browser_normalized_isbn ) %]
696
    <img border="0" src="http://images.amazon.com/images/P/[% NEXT_SHELF_BROWS.browser_normalized_isbn %].01._AA75_PU_PU-5_.jpg" alt="" />[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %][% END %]
732
    <img border="0" src="http://images.amazon.com/images/P/[% NEXT_SHELF_BROWS.browser_normalized_isbn %].01._AA75_PU_PU-5_.jpg" alt="" />[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %][% END %]
697
733
698
	[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( content_identifier_exists ) %]
734
        [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( content_identifier_exists ) %]
699
    [% IF ( using_https ) %]
735
    [% IF ( using_https ) %]
700
    <img border="0" src="https://secure.syndetics.com/index.aspx?isbn=[% NEXT_SHELF_BROWS.browser_normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %][% IF ( NEXT_SHELF_BROWS.browser_normalized_upc ) %]&amp;upc=[% NEXT_SHELF_BROWS.browser_normalized_upc %][% END %][% IF ( NEXT_SHELF_BROWS.browser_normalized_oclc ) %]&amp;oclc=[% NEXT_SHELF_BROWS.browser_normalized_oclc %][% END %]&amp;type=xw10" alt="" />
736
    <img border="0" src="https://secure.syndetics.com/index.aspx?isbn=[% NEXT_SHELF_BROWS.browser_normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %][% IF ( NEXT_SHELF_BROWS.browser_normalized_upc ) %]&amp;upc=[% NEXT_SHELF_BROWS.browser_normalized_upc %][% END %][% IF ( NEXT_SHELF_BROWS.browser_normalized_oclc ) %]&amp;oclc=[% NEXT_SHELF_BROWS.browser_normalized_oclc %][% END %]&amp;type=xw10" alt="" />
701
    [% ELSE %]<img border="0" src="http://www.syndetics.com/index.aspx?isbn=[% NEXT_SHELF_BROWS.browser_normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %][% IF ( NEXT_SHELF_BROWS.browser_normalized_upc ) %]&amp;upc=[% NEXT_SHELF_BROWS.browser_normalized_upc %][% END %][% IF ( NEXT_SHELF_BROWS.browser_normalized_oclc ) %]&amp;oclc=[% NEXT_SHELF_BROWS.browser_normalized_oclc %][% END %]&amp;type=xw10" alt="" />[% END %]
737
    [% ELSE %]<img border="0" src="http://www.syndetics.com/index.aspx?isbn=[% NEXT_SHELF_BROWS.browser_normalized_isbn %]/SC.GIF&amp;client=[% SyndeticsClientCode %][% IF ( NEXT_SHELF_BROWS.browser_normalized_upc ) %]&amp;upc=[% NEXT_SHELF_BROWS.browser_normalized_upc %][% END %][% IF ( NEXT_SHELF_BROWS.browser_normalized_oclc ) %]&amp;oclc=[% NEXT_SHELF_BROWS.browser_normalized_oclc %][% END %]&amp;type=xw10" alt="" />[% END %]
Lines 796-808 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
796
[% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %]
832
[% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %]
797
    [% IF ( SYNDETICS_REVIEW.title ) %]
833
    [% IF ( SYNDETICS_REVIEW.title ) %]
798
    <h4>[% SYNDETICS_REVIEW.title %]</h4>
834
    <h4>[% SYNDETICS_REVIEW.title %]</h4>
799
	[% FOREACH review IN SYNDETICS_REVIEW.reviews %]
835
        [% FOREACH review IN SYNDETICS_REVIEW.reviews %]
800
836
801
	[% IF ( review.content ) %]
837
        [% IF ( review.content ) %]
802
		[% review.content %]
838
                [% review.content %]
803
	[% END %]
839
        [% END %]
804
840
805
	[% END %]
841
        [% END %]
806
    [% END %]
842
    [% END %]
807
[% END %]
843
[% END %]
808
</div>
844
</div>
Lines 883-907 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
883
919
884
[% IF ( LibraryThingForLibrariesID ) %] 
920
[% IF ( LibraryThingForLibrariesID ) %] 
885
[% IF ( LibraryThingForLibrariesTabbedView ) %]
921
[% IF ( LibraryThingForLibrariesTabbedView ) %]
886
	<!-- Library Thing for Libraries Content --> 
922
        <!-- Library Thing for Libraries Content --> 
887
		<div id="LFTLSimilarItems">
923
                <div id="LFTLSimilarItems">
888
			<div class="content_set">
924
                        <div class="content_set">
889
	<!-- Uncommenting this span makes the font smaller in the tab for LTFL -->
925
        <!-- Uncommenting this span makes the font smaller in the tab for LTFL -->
890
    <!-- but breaks Xhtml validation -->
926
    <!-- but breaks Xhtml validation -->
891
 	<!--	<span class="results_summary">-->
927
         <!--        <span class="results_summary">-->
892
				<div id="ltfl_related"></div>
928
                                <div id="ltfl_related"></div>
893
				<div id="ltfl_similars"></div>
929
                                <div id="ltfl_similars"></div>
894
	<!--			</span>-->
930
        <!--                        </span>-->
895
			</div>
931
                        </div>
896
		</div>
932
                </div>
897
		 <div id="LTFLTagBrowse">
933
                 <div id="LTFLTagBrowse">
898
                        <div class="content_set">
934
                        <div class="content_set">
899
                                <!-- <span class="results_summary"> -->
935
                                <!-- <span class="results_summary"> -->
900
                                <div id="ltfl_tagbrowse" class="ltfl"></div>
936
                                <div id="ltfl_tagbrowse" class="ltfl"></div>
901
                                <!-- </span> -->
937
                                <!-- </span> -->
902
                        </div>
938
                        </div>
903
                </div>
939
                </div>
904
	[% END %]
940
        [% END %]
905
[% END %]
941
[% END %]
906
<!-- /Library Thing for Libraries Content -->
942
<!-- /Library Thing for Libraries Content -->
907
943
(-)a/opac/opac-detail.pl (-1 / +2 lines)
Lines 945-948 if (C4::Context->preference('OPACLocalCoverImages') == 1) { Link Here
945
    $template->{VARS}->{localimages} = \@images;
945
    $template->{VARS}->{localimages} = \@images;
946
}
946
}
947
947
948
$template->param('OpacLocationBranchToDisplay' => C4::Context->preference('OpacLocationBranchToDisplay') );
949
948
output_html_with_http_headers $query, $cookie, $template->output;
950
output_html_with_http_headers $query, $cookie, $template->output;
949
- 

Return to bug 7720