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

(-)a/C4/Items.pm (-1 / +10 lines)
Lines 1222-1228 sub GetItemsInfo { Link Here
1222
           itemtypes.notforloan as notforloan_per_itemtype,
1222
           itemtypes.notforloan as notforloan_per_itemtype,
1223
           holding.branchurl,
1223
           holding.branchurl,
1224
           holding.branchname,
1224
           holding.branchname,
1225
           holding.opac_info as branch_opac_info
1225
           holding.opac_info as branch_opac_info,
1226
           home.branchurl AS homebranchurl
1226
     FROM items
1227
     FROM items
1227
     LEFT JOIN branches AS holding ON items.holdingbranch = holding.branchcode
1228
     LEFT JOIN branches AS holding ON items.holdingbranch = holding.branchcode
1228
     LEFT JOIN branches AS home ON items.homebranch=home.branchcode
1229
     LEFT JOIN branches AS home ON items.homebranch=home.branchcode
Lines 1274-1279 sub GetItemsInfo { Link Here
1274
        if ( my $bdata = $bsth->fetchrow_hashref ) {
1275
        if ( my $bdata = $bsth->fetchrow_hashref ) {
1275
            $data->{'branchname'} = $bdata->{'branchname'};
1276
            $data->{'branchname'} = $bdata->{'branchname'};
1276
        }
1277
        }
1278
        $bsth = $dbh->prepare(
1279
            "SELECT * FROM branches WHERE branchcode = ?
1280
        "
1281
        );
1282
        $bsth->execute( $data->{'homebranch'} );
1283
        if ( my $bdata = $bsth->fetchrow_hashref ) {
1284
            $data->{'homebranchname'} = $bdata->{'branchname'};
1285
        }
1277
        $data->{'datedue'}        = $datedue;
1286
        $data->{'datedue'}        = $datedue;
1278
1287
1279
        # get notforloan complete status if applicable
1288
        # get notforloan complete status if applicable
(-)a/installer/data/mysql/sysprefs.sql (+2 lines)
Lines 386-388 INSERT INTO systempreferences (variable,value,explanation,type) VALUES('OPACdidy Link Here
386
INSERT INTO systempreferences (variable,value,explanation,type) VALUES('INTRAdidyoumean',NULL,'Did you mean? configuration for the Intranet. Do not change, as this is controlled by /cgi-bin/koha/admin/didyoumean.pl.','Free');
386
INSERT INTO systempreferences (variable,value,explanation,type) VALUES('INTRAdidyoumean',NULL,'Did you mean? configuration for the Intranet. Do not change, as this is controlled by /cgi-bin/koha/admin/didyoumean.pl.','Free');
387
INSERT INTO systempreferences (variable, value, options, explanation, type) VALUES ('BlockReturnOfWithdrawnItems', '1', '0', 'If enabled, items that are marked as withdrawn cannot be returned.', 'YesNo');
387
INSERT INTO systempreferences (variable, value, options, explanation, type) VALUES ('BlockReturnOfWithdrawnItems', '1', '0', 'If enabled, items that are marked as withdrawn cannot be returned.', 'YesNo');
388
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('HoldsToPullStartDate','2','Set the default start date for the Holds to pull list to this many days ago',NULL,'Integer');
388
INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('HoldsToPullStartDate','2','Set the default start date for the Holds to pull list to this many days ago',NULL,'Integer');
389
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');
390
INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('OpacLocationBranchToDisplayShelving',  'holding',  'holding|home|both',  'In the OPAC, display the shelving location under which which column.',  'Choice');
(-)a/installer/data/mysql/updatedatabase.pl (+8 lines)
Lines 6055-6060 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
6055
   SetVersion ($DBversion);
6055
   SetVersion ($DBversion);
6056
}
6056
}
6057
6057
6058
$DBversion = "3.09.00.XXX";
6059
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
6060
    $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')");
6061
    $dbh->do("INSERT INTO systempreferences (variable,value,options,explanation,type) VALUES ('OpacLocationBranchToDisplayShelving',  'holding',  'holding|home|both',  'In the OPAC, display the shelving location under which which column',  'Choice')");
6062
    print "Upgrade to $DBversion done (Added system preference OpacLocationBranchToDisplay)\n";
6063
    SetVersion($DBversion);
6064
}
6065
6058
=head1 FUNCTIONS
6066
=head1 FUNCTIONS
6059
6067
6060
=head2 TableExists($table)
6068
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (+16 lines)
Lines 100-105 OPAC: Link Here
100
                  no: "Don't show"
100
                  no: "Don't show"
101
            - the name of the patron that has an item checked out on item detail pages on the OPAC.
101
            - the name of the patron that has an item checked out on item detail pages on the OPAC.
102
        -
102
        -
103
            - Display the
104
            - pref: OpacLocationBranchToDisplay
105
              choices:
106
                  home: "home library"
107
                  holding: "holding library"
108
                  both: "home and holding libraries"
109
            - for items on the OPAC record details page.
110
        -
111
            - Display the shelving location under the
112
            - pref: OpacLocationBranchToDisplayShelving
113
              choices:
114
                  home: "home library"
115
                  holding: "holding library"
116
                  both: "home and holding libraries"
117
            - for items on the OPAC record details page.
118
        -
103
            - pref: OpacKohaUrl
119
            - pref: OpacKohaUrl
104
              default: 0
120
              default: 0
105
              choices:
121
              choices:
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt (-88 / +107 lines)
Lines 70-86 Link Here
70
            $("#highlight_toggle_off").show().click(function() {highlightOff(); return false;});[% END %][% END %]
70
            $("#highlight_toggle_off").show().click(function() {highlightOff(); return false;});[% END %][% END %]
71
	[% IF ( GoogleJackets ) %]
71
	[% IF ( GoogleJackets ) %]
72
        KOHA.Google.GetCoverFromIsbn([% covernewwindow %]);
72
        KOHA.Google.GetCoverFromIsbn([% covernewwindow %]);
73
	[% END %]
73
        [% END %]
74
	[% IF OpenLibraryCovers %]
74
        [% IF OpenLibraryCovers %]
75
	KOHA.OpenLibrary.GetCoverFromIsbn();
75
        KOHA.OpenLibrary.GetCoverFromIsbn();
76
	[% END %]
76
        [% END %]
77
	[% IF OPACLocalCoverImages %]
77
        [% IF OPACLocalCoverImages %]
78
	KOHA.LocalCover.GetCoverFromBibnumber(true);
78
        KOHA.LocalCover.GetCoverFromBibnumber(true);
79
	[% END %]
79
        [% END %]
80
        [% IF ( NovelistSelectProfile ) %]
80
        [% IF ( NovelistSelectProfile ) %]
81
        novSelect.loadContentForISBN('[% normalized_isbn %]','[% NovelistSelectProfile %]', '[% NovelistSelectPassword %]', function(d){});
81
        novSelect.loadContentForISBN('[% normalized_isbn %]','[% NovelistSelectProfile %]', '[% NovelistSelectPassword %]', function(d){});
82
        [% END %]
82
        [% END %]
83
	[% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %]
83
        [% IF ( opacuserlogin ) %][% IF ( loggedinusername ) %][% IF ( TagsEnabled ) %]
84
        $(".tagbutton").click(KOHA.Tags.add_tag_button);[% END %][% END %][% END %]
84
        $(".tagbutton").click(KOHA.Tags.add_tag_button);[% END %][% END %][% END %]
85
85
86
86
Lines 278-294 function renderPagination(index, total, ul, highlIndex) Link Here
278
278
279
YAHOO.util.Event.onContentReady("furtherm", function () {
279
YAHOO.util.Event.onContentReady("furtherm", function () {
280
    $("#furtherm").css("display","block").css("visibility","hidden");
280
    $("#furtherm").css("display","block").css("visibility","hidden");
281
	$("#furthersearches").parent().show();
281
        $("#furthersearches").parent().show();
282
	var furthersearchesMenu = new YAHOO.widget.Menu("furtherm");
282
        var furthersearchesMenu = new YAHOO.widget.Menu("furtherm");
283
		furthersearchesMenu.render();
283
                furthersearchesMenu.render();
284
		furthersearchesMenu.cfg.setProperty("context", ["furthersearches", "tr", "br"]);
284
                furthersearchesMenu.cfg.setProperty("context", ["furthersearches", "tr", "br"]);
285
		furthersearchesMenu.subscribe("beforeShow",positionfurthersearchesMenu);
285
                furthersearchesMenu.subscribe("beforeShow",positionfurthersearchesMenu);
286
		furthersearchesMenu.subscribe("show", furthersearchesMenu.focus);
286
                furthersearchesMenu.subscribe("show", furthersearchesMenu.focus);
287
        function positionfurthersearchesMenu() {
287
        function positionfurthersearchesMenu() {
288
                    furthersearchesMenu.align("tr", "br");
288
                    furthersearchesMenu.align("tr", "br");
289
		}
289
                }
290
		YAHOO.util.Event.addListener("furthersearches", "click", furthersearchesMenu.show, null, furthersearchesMenu);
290
                YAHOO.util.Event.addListener("furthersearches", "click", furthersearchesMenu.show, null, furthersearchesMenu);
291
		YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionfurthersearchesMenu);
291
                YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionfurthersearchesMenu);
292
 });
292
 });
293
//]]>
293
//]]>
294
</script>
294
</script>
Lines 481-505 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
481
481
482
<!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them -->
482
<!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them -->
483
[% IF ( LibraryThingForLibrariesID ) %]
483
[% IF ( LibraryThingForLibrariesID ) %]
484
	[% UNLESS ( LibraryThingForLibrariesTabbedView ) %]
484
        [% UNLESS ( LibraryThingForLibrariesTabbedView ) %]
485
		<div class="results_summary"><div id="ltfl_related" class="ltfl"></div></div> 
485
                <div class="results_summary"><div id="ltfl_related" class="ltfl"></div></div>
486
		<div class="results_summary"><div id="ltfl_similars" class="ltfl"></div></div> 
486
                <div class="results_summary"><div id="ltfl_similars" class="ltfl"></div></div>
487
		<div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div> 
487
                <div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div>
488
	[% END %]
488
        [% END %]
489
	<span class="results_summary">
489
        <span class="results_summary">
490
        <span class="label">Reviews from LibraryThing.com:</span>	
490
        <span class="label">Reviews from LibraryThing.com:</span>
491
        <span style="display: block;" class="ltfl_reviews"></span>
491
        <span style="display: block;" class="ltfl_reviews"></span>
492
    </span>
492
    </span>
493
[% END %] 
493
[% END %] 
494
494
495
<!--This grabs all of the lists a bib record appears in -->
495
<!--This grabs all of the lists a bib record appears in -->
496
[% IF ( GetShelves ) %]
496
[% IF ( GetShelves ) %]
497
	<span class="results_summary"><span class="label">List(s) this item appears in: </span>
497
        <span class="results_summary"><span class="label">List(s) this item appears in: </span>
498
	[% FOREACH GetShelve IN GetShelves %]
498
        [% FOREACH GetShelve IN GetShelves %]
499
		<a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% GetShelve.shelfnumber %]">[% GetShelve.shelfname %]</a>
499
                <a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% GetShelve.shelfnumber %]">[% GetShelve.shelfname %]</a>
500
		[% IF ( loop.last ) %][% ELSE %]|[% END %]
500
                [% IF ( loop.last ) %][% ELSE %]|[% END %]
501
	[% END %]
501
        [% END %]
502
	</span>
502
        </span>
503
[% END %]
503
[% END %]
504
504
505
[% IF ( TagsEnabled ) %]
505
[% IF ( TagsEnabled ) %]
Lines 732-743 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
732
<div id="holdings">
732
<div id="holdings">
733
[% IF ( count ) %]
733
[% IF ( count ) %]
734
    [% IF ( lotsofitems ) %]
734
    [% IF ( lotsofitems ) %]
735
	<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>
735
        <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>
736
    [% ELSE %]
736
    [% ELSE %]
737
    <table id="holdingst">
737
    <table id="holdingst">
738
        <thead><tr>
738
        <thead><tr>
739
            [% IF ( item_level_itypes ) %]<th id="item_itemtype">Item type</th>[% END %]
739
            [% IF ( item_level_itypes ) %]<th id="item_itemtype">Item type</th>[% END %]
740
            <th id="item_location">Location</th>
740
                [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' || singleBranchMode ) %]
741
                        <th>Current Location</th>
742
                [% END %]
743
                [% UNLESS ( singleBranchMode ) %]
744
                        [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
745
                                <th>Home Library</th>
746
                        [% END %]
747
                [% END %]
741
            [% IF ( itemdata_ccode ) %]<th id="item_ccode">Collection</th>[% END %]
748
            [% IF ( itemdata_ccode ) %]<th id="item_ccode">Collection</th>[% END %]
742
            <th id="item_callnumber">Call number</th>
749
            <th id="item_callnumber">Call number</th>
743
            [% IF ( itemdata_enumchron ) %]<th id="item_enumchron">Vol info</th>[% END %]
750
            [% IF ( itemdata_enumchron ) %]<th id="item_enumchron">Vol info</th>[% END %]
Lines 753-797 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
753
            <th>Item hold queue priority</th>
760
            <th>Item hold queue priority</th>
754
        [% END %]
761
        [% END %]
755
        </tr></thead>
762
        </tr></thead>
756
	    <tbody>[% FOREACH ITEM_RESULT IN ITEM_RESULTS %]
763
            <tbody>[% FOREACH ITEM_RESULT IN ITEM_RESULTS %]
757
      <tr>[% IF ( item_level_itypes ) %]<td class="itype">[% 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 %]
764
            <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 %]
758
             <td class="location">
765
                [% UNLESS ( singleBranchMode ) %]
759
    [% UNLESS ( singleBranchMode ) %]
766
                        [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %]
760
        <span class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]">
767
                                <td>
761
        [% IF ( ITEM_RESULT.branchurl ) %]
768
                                        <span class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]">
762
        <a href="[% ITEM_RESULT.branchurl %]">[% ITEM_RESULT.branchname %]</a>
769
                                                [% IF ( ITEM_RESULT.branchurl ) %]
763
        [% ELSE %]
770
                                                        <a href="[% ITEM_RESULT.branchurl %]">[% ITEM_RESULT.branchname %]</a>
764
        [% ITEM_RESULT.branchname %]
771
                                                [% ELSE %]
765
        [% END %]
772
                                                        [% ITEM_RESULT.branchname %]
766
        </span>
773
                                                [% END %]
767
        <div class="branch-info-tooltip">[% ITEM_RESULT.branch_opac_info %]</div>
774
                                        </span>
768
    [% END %]
775
769
    <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
776
                                        [% IF ( OpacLocationBranchToDisplayShelving == 'holding' || OpacLocationBranchToDisplayShelving == 'both' ) %]
770
    </td>
777
                                                <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
771
            [% IF ( itemdata_ccode ) %]<td class="collection">[% ITEM_RESULT.ccode %]</td>[% END %]
778
                                        [% END %]
772
        <td class="call_no">[% 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>
779
773
            [% IF ( itemdata_enumchron ) %]<td class="vol_info">[% ITEM_RESULT.enumchron %]</td>[% END %]
780
                                        <div class="branch-info-tooltip">[% ITEM_RESULT.branch_opac_info %]</div>
774
          [% IF ( itemdata_uri ) %]<td class="url"><a href="[% ITEM_RESULT.uri %]">[% ITEM_RESULT.uri %]</a></td>[% END %]
781
                                </td>
775
               [% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber %]</td>[% END %]
782
                        [% END %]
776
              <td class="status">[% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
783
777
             [% IF ( itemdata_itemnotes ) %]<td class="notes">[% ITEM_RESULT.itemnotes %]</td>[% END %]
784
                        [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %]
778
        <td class="date_due">[% ITEM_RESULT.datedue | $KohaDates %]</td>
785
                                <td>
779
        [% IF ( OPACShowBarcode ) %]<td class="barcode">[% ITEM_RESULT.barcode %]</td>[% END %]
786
                                        <span class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]">
780
        [% IF holds_count.defined || show_priority %]
787
                                                [% IF ( ITEM_RESULT.homebranchurl ) %]
781
        <td class="holds_count">
788
                                                        <a href="[% ITEM_RESULT.homebranchurl %]">[% ITEM_RESULT.homebranchname %]</a>
782
            [% IF holds_count.defined %] [% ITEM_RESULT.holds_count %] [% END %]
789
                                                [% ELSE %]
783
            [% IF ITEM_RESULT.priority %]
790
                                                         [% ITEM_RESULT.homebranchname %]
784
                [% IF holds_count.defined %]
791
                                                [% END %]
785
                (priority [% ITEM_RESULT.priority %])
792
                                        </span>
786
                [% ELSE %]
793
787
                [% ITEM_RESULT.priority %]
794
                                        [% IF ( OpacLocationBranchToDisplayShelving == 'home' || OpacLocationBranchToDisplayShelving == 'both' ) %]
795
                                                <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
796
                                        [% END %]
797
                                </td>
798
                        [% END %]
799
		[% ELSE %]
800
                        <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
788
                [% END %]
801
                [% END %]
789
            [% END %]
802
790
                </td>
803
                [% IF ( itemdata_ccode ) %]<td>[% ITEM_RESULT.ccode %]</td>[% END %]
791
        [% END %]
804
                <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>
792
	    </tr>
805
                [% IF ( itemdata_enumchron ) %]<td>[% ITEM_RESULT.enumchron %]</td>[% END %]
793
	    [% END %]</tbody>
806
                [% IF ( itemdata_uri ) %]<td><a href="[% ITEM_RESULT.uri %]">[% ITEM_RESULT.uri %]</a></td>[% END %]
794
	</table>
807
                [% IF ( itemdata_copynumber ) %]<td>[% ITEM_RESULT.copynumber %]</td>[% END %]
808
                <td>[% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
809
                [% IF ( itemdata_itemnotes ) %]<td>[% ITEM_RESULT.itemnotes %]</td>[% END %]
810
                <td>[% ITEM_RESULT.datedue | $KohaDates %]</td>
811
            </tr>
812
            [% END %]</tbody>
813
        </table>
795
    [% END %]
814
    [% END %]
796
    [% IF holds_count.defined || priority %]
815
    [% IF holds_count.defined || priority %]
797
    <div id="bib_holds">
816
    <div id="bib_holds">
Lines 845-851 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
845
    [% IF ( OPACAmazonCoverImages ) %][% IF ( NEXT_SHELF_BROWS.browser_normalized_isbn ) %]
864
    [% IF ( OPACAmazonCoverImages ) %][% IF ( NEXT_SHELF_BROWS.browser_normalized_isbn ) %]
846
    <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 %]
865
    <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 %]
847
866
848
	[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( content_identifier_exists ) %]
867
        [% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( content_identifier_exists ) %]
849
    [% IF ( using_https ) %]
868
    [% IF ( using_https ) %]
850
    <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="" />
869
    <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="" />
851
    [% 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 %]
870
    [% 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 937-949 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
937
[% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %]
956
[% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %]
938
    [% IF ( SYNDETICS_REVIEW.title ) %]
957
    [% IF ( SYNDETICS_REVIEW.title ) %]
939
    <h4>[% SYNDETICS_REVIEW.title %]</h4>
958
    <h4>[% SYNDETICS_REVIEW.title %]</h4>
940
	[% FOREACH review IN SYNDETICS_REVIEW.reviews %]
959
        [% FOREACH review IN SYNDETICS_REVIEW.reviews %]
941
960
942
	[% IF ( review.content ) %]
961
        [% IF ( review.content ) %]
943
		[% review.content %]
962
                [% review.content %]
944
	[% END %]
963
        [% END %]
945
964
946
	[% END %]
965
        [% END %]
947
    [% END %]
966
    [% END %]
948
[% END %]
967
[% END %]
949
</div>
968
</div>
Lines 1024-1048 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
1024
1043
1025
[% IF ( LibraryThingForLibrariesID ) %] 
1044
[% IF ( LibraryThingForLibrariesID ) %] 
1026
[% IF ( LibraryThingForLibrariesTabbedView ) %]
1045
[% IF ( LibraryThingForLibrariesTabbedView ) %]
1027
	<!-- Library Thing for Libraries Content --> 
1046
        <!-- Library Thing for Libraries Content -->
1028
		<div id="LFTLSimilarItems">
1047
                <div id="LFTLSimilarItems">
1029
			<div class="content_set">
1048
                        <div class="content_set">
1030
	<!-- Uncommenting this span makes the font smaller in the tab for LTFL -->
1049
        <!-- Uncommenting this span makes the font smaller in the tab for LTFL -->
1031
    <!-- but breaks Xhtml validation -->
1050
    <!-- but breaks Xhtml validation -->
1032
 	<!--	<span class="results_summary">-->
1051
         <!--        <span class="results_summary">-->
1033
				<div id="ltfl_related"></div>
1052
                                <div id="ltfl_related"></div>
1034
				<div id="ltfl_similars"></div>
1053
                                <div id="ltfl_similars"></div>
1035
	<!--			</span>-->
1054
        <!--                        </span>-->
1036
			</div>
1055
                        </div>
1037
		</div>
1056
                </div>
1038
		 <div id="LTFLTagBrowse">
1057
                 <div id="LTFLTagBrowse">
1039
                        <div class="content_set">
1058
                        <div class="content_set">
1040
                                <!-- <span class="results_summary"> -->
1059
                                <!-- <span class="results_summary"> -->
1041
                                <div id="ltfl_tagbrowse" class="ltfl"></div>
1060
                                <div id="ltfl_tagbrowse" class="ltfl"></div>
1042
                                <!-- </span> -->
1061
                                <!-- </span> -->
1043
                        </div>
1062
                        </div>
1044
                </div>
1063
                </div>
1045
	[% END %]
1064
        [% END %]
1046
[% END %]
1065
[% END %]
1047
<!-- /Library Thing for Libraries Content -->
1066
<!-- /Library Thing for Libraries Content -->
1048
1067
(-)a/opac/opac-detail.pl (-1 / +5 lines)
Lines 975-978 if (C4::Context->preference('OpacHighlightedWords')) { Link Here
975
    $template->{VARS}->{query_desc} = $query->param('query_desc');
975
    $template->{VARS}->{query_desc} = $query->param('query_desc');
976
}
976
}
977
977
978
$template->param(
979
    'OpacLocationBranchToDisplay'         => C4::Context->preference('OpacLocationBranchToDisplay') ,
980
    'OpacLocationBranchToDisplayShelving' => C4::Context->preference('OpacLocationBranchToDisplayShelving'),
981
);
982
978
output_html_with_http_headers $query, $cookie, $template->output;
983
output_html_with_http_headers $query, $cookie, $template->output;
979
- 

Return to bug 7720