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

(-)a/C4/XSLT.pm (-1 / +1 lines)
Lines 188-194 sub XSLTParse4Display { Link Here
188
                              UseAuthoritiesForTracings TraceSubjectSubdivisions
188
                              UseAuthoritiesForTracings TraceSubjectSubdivisions
189
                              Display856uAsImage OPACDisplay856uAsImage 
189
                              Display856uAsImage OPACDisplay856uAsImage 
190
                              UseControlNumber IntranetBiblioDefaultView BiblioDefaultView
190
                              UseControlNumber IntranetBiblioDefaultView BiblioDefaultView
191
                              singleBranchMode
191
                              singleBranchMode BiblioItemtypeImage
192
                              AlternateHoldingsField AlternateHoldingsSeparator / )
192
                              AlternateHoldingsField AlternateHoldingsSeparator / )
193
    {
193
    {
194
        my $sp = C4::Context->preference( $syspref );
194
        my $sp = C4::Context->preference( $syspref );
(-)a/catalogue/detail.pl (-1 / +3 lines)
Lines 364-370 if (C4::Context->preference('OPACBaseURL')){ Link Here
364
}
364
}
365
365
366
# Displaying tags
366
# Displaying tags
367
368
my $tag_quantity;
367
my $tag_quantity;
369
if (C4::Context->preference('TagsEnabled') and $tag_quantity = C4::Context->preference('TagsShowOnDetail')) {
368
if (C4::Context->preference('TagsEnabled') and $tag_quantity = C4::Context->preference('TagsShowOnDetail')) {
370
    $template->param(
369
    $template->param(
Lines 375-378 if (C4::Context->preference('TagsEnabled') and $tag_quantity = C4::Context->pref Link Here
375
                                'sort'=>'-weight', limit=>$tag_quantity}));
374
                                'sort'=>'-weight', limit=>$tag_quantity}));
376
}
375
}
377
376
377
$template->{VARS}->{'BiblioItemtypeImage'} = C4::Context->preference('BiblioItemtypeImage');
378
379
378
output_html_with_http_headers $query, $cookie, $template->output;
380
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 384-386 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES(' Link Here
384
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('AuthDisplayHierarchy','0','Display authority hierarchies','','YesNo');
384
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('AuthDisplayHierarchy','0','Display authority hierarchies','','YesNo');
385
INSERT INTO systempreferences (variable,value,explanation,type) VALUES('OPACdidyoumean',NULL,'Did you mean? configuration for the OPAC. Do not change, as this is controlled by /cgi-bin/koha/admin/didyoumean.pl.','Free');
385
INSERT INTO systempreferences (variable,value,explanation,type) VALUES('OPACdidyoumean',NULL,'Did you mean? configuration for the OPAC. 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');
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,explanation,options,type) VALUES('BiblioItemtypeImage','Control','Control which itemtype info displays for biblio level itemtypes','Control|Koha','Choice');
(-)a/installer/data/mysql/updatedatabase.pl (+7 lines)
Lines 5988-5993 if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { Link Here
5988
    SetVersion($DBversion);
5988
    SetVersion($DBversion);
5989
}
5989
}
5990
5990
5991
$DBversion = "XXX";
5992
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
5993
    $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES('BiblioItemtypeImage', 'Control','Control what biblio level itemtype image displays','Control|Koha','Choice')");
5994
    print "Upgrade to $DBversion done (Add new BiblioItemtypeImage to system preferences)";
5995
    SetVersion($DBversion);
5996
}
5997
5991
=head1 FUNCTIONS
5998
=head1 FUNCTIONS
5992
5999
5993
=head2 TableExists($table)
6000
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +1 lines)
Lines 520-523 OPAC: Link Here
520
              choices:
520
              choices:
521
                  yes: Use
521
                  yes: Use
522
                  no: "Don't use"
522
                  no: "Don't use"
523
            - "the item collection code when finding items for the shelf browser."      
523
            - "the item collection code when finding items for the shelf browser."
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/searching.pref (+7 lines)
Lines 185-187 Searching: Link Here
185
            - pref: FacetLabelTruncationLength
185
            - pref: FacetLabelTruncationLength
186
              class: integer
186
              class: integer
187
            - characters, in OPAC/staff interface.
187
            - characters, in OPAC/staff interface.
188
        -
189
            - "Display "
190
            - pref: BiblioItemtypeImage
191
              choices:
192
                  Control: "Itemtype information from the MARC control fields"
193
                  Koha: "Itemtype information from the Koha biblio level itemtype"
194
		  
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-3 / +25 lines)
Lines 115-124 function verify_images() { Link Here
115
                    [% END %]
115
                    [% END %]
116
                    </span>
116
                    </span>
117
        [% END %]
117
        [% END %]
118
	[% IF !item_level_itypes ||  BiblioItemtypeImage == 'Koha' %]
119
           <span class="results_summary itemtype">Itemtype:
120
          [% IF ( description ) %]
121
            [% description %]
122
          [% ELSE %]
123
            [% itemtype %]
124
          [% END %]
125
          </span>
126
        [% END %] 
118
        [% IF ( holdcount ) %]<span class="results_summary"><span class="label">Holds:</span> <span class="holdcount"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></span>[% ELSE %][% END %]
127
        [% IF ( holdcount ) %]<span class="results_summary"><span class="label">Holds:</span> <span class="holdcount"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></span>[% ELSE %][% END %]
119
128
120
        [% IF ( AmazonCoverImages ) %]</div><div class="yui-u" id="bookcoverimg">
129
        [% IF ( AmazonCoverImages ) %]</div><div class="yui-u" id="bookcoverimg">
121
        <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="http://images.amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" /></a>[% END %]
130
        <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="http://images.amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" /></a>
131
	[% END %]
132
133
122
    [% ELSE %]
134
    [% ELSE %]
123
135
124
    <h3>[% title |html %]</h3>
136
    <h3>[% title |html %]</h3>
Lines 247-255 function verify_images() { Link Here
247
                    [% END %]
259
                    [% END %]
248
                    </ul></li>
260
                    </ul></li>
249
        [% END %]
261
        [% END %]
250
            [% IF ( holdcount ) %]<li><strong>Holds:</strong> <span class="holdcount"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></li>[% ELSE %][% END %]
262
	[% IF ( holdcount ) %]<li><strong>Holds:</strong> <span class="holdcount"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></li>[% ELSE %][% END %]
263
	[% IF !item_level_itypes ||  BiblioItemtypeImage == 'Koha' %]
264
          <li><strong>Itemtype: </strong>
265
          [% IF ( description ) %]
266
            [% description %]
267
          [% ELSE %]
268
            [% itemtype %]
269
          [% END %]
270
          </li>
271
        [% END %] 
251
        </ul>
272
        </ul>
252
		[% END %]
273
   [% END %]
274
253
275
254
</div>
276
</div>
255
</div>
277
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-2 / +3 lines)
Lines 25-30 Link Here
25
        <xsl:variable name="UseAuthoritiesForTracings" select="marc:sysprefs/marc:syspref[@name='UseAuthoritiesForTracings']"/>
25
        <xsl:variable name="UseAuthoritiesForTracings" select="marc:sysprefs/marc:syspref[@name='UseAuthoritiesForTracings']"/>
26
        <xsl:variable name="TraceSubjectSubdivisions" select="marc:sysprefs/marc:syspref[@name='TraceSubjectSubdivisions']"/>
26
        <xsl:variable name="TraceSubjectSubdivisions" select="marc:sysprefs/marc:syspref[@name='TraceSubjectSubdivisions']"/>
27
        <xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='Display856uAsImage']"/>
27
        <xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='Display856uAsImage']"/>
28
	 <xsl:variable name="BiblioItemtypeImage" select="marc:sysprefs/marc:syspref[@name='BiblioItemtypeImage']"/>
28
        <xsl:variable name="TracingQuotesLeft">
29
        <xsl:variable name="TracingQuotesLeft">
29
           <xsl:choose>
30
           <xsl:choose>
30
             <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICU']='1'">{</xsl:when>
31
             <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICU']='1'">{</xsl:when>
Lines 141-147 Link Here
141
        <!-- Author Statement -->
142
        <!-- Author Statement -->
142
        <xsl:call-template name="showAuthor"><xsl:with-param name="authorfield" select="marc:datafield[@tag=100 or @tag=110 or @tag=111]"/><xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/></xsl:call-template>
143
        <xsl:call-template name="showAuthor"><xsl:with-param name="authorfield" select="marc:datafield[@tag=100 or @tag=110 or @tag=111]"/><xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/></xsl:call-template>
143
        <xsl:call-template name="showAuthor"><xsl:with-param name="authorfield" select="marc:datafield[@tag=700 or @tag=710 or @tag=711]"/><xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/></xsl:call-template>
144
        <xsl:call-template name="showAuthor"><xsl:with-param name="authorfield" select="marc:datafield[@tag=700 or @tag=710 or @tag=711]"/><xsl:with-param name="UseAuthoritiesForTracings" select="$UseAuthoritiesForTracings"/></xsl:call-template>
144
145
   <xsl:if test="$BiblioItemtypeImage='Control'">
145
   <xsl:if test="$materialTypeCode!=''">
146
   <xsl:if test="$materialTypeCode!=''">
146
        <span class="results_summary type"><span class="label">Type: </span>
147
        <span class="results_summary type"><span class="label">Type: </span>
147
        <xsl:element name="img"><xsl:attribute name="src">/intranet-tmpl/prog/img/famfamfam/<xsl:value-of select="$materialTypeCode"/>.png</xsl:attribute><xsl:attribute name="alt"></xsl:attribute></xsl:element>
148
        <xsl:element name="img"><xsl:attribute name="src">/intranet-tmpl/prog/img/famfamfam/<xsl:value-of select="$materialTypeCode"/>.png</xsl:attribute><xsl:attribute name="alt"></xsl:attribute></xsl:element>
Lines 149-155 Link Here
149
        <xsl:value-of select="$materialTypeLabel"/>
150
        <xsl:value-of select="$materialTypeLabel"/>
150
        </span>
151
        </span>
151
   </xsl:if>
152
   </xsl:if>
152
153
   </xsl:if>
153
        <!--Series: Alternate Graphic Representation (MARC 880) -->
154
        <!--Series: Alternate Graphic Representation (MARC 880) -->
154
        <xsl:if test="$display880">
155
        <xsl:if test="$display880">
155
            <xsl:call-template name="m880Select">
156
            <xsl:call-template name="m880Select">
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt (-4 / +14 lines)
Lines 347-361 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
347
    <h1 class="title">[% title |html %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl.subfield |html %] [% END %]</span>[% END %]</h1>
347
    <h1 class="title">[% title |html %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl.subfield |html %] [% END %]</span>[% END %]</h1>
348
    [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author |html %]</a></h5>[% END %] 
348
    [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author |html %]</a></h5>[% END %] 
349
349
350
    <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
350
    <span class="results_summary">
351
        [
351
     [% IF !item_level_itypes ||  BiblioItemtypeImage == 'Koha' %]
352
        [% IF ( description ) %]
352
        [% IF ( description ) %]
353
            [% description %]
353
            [% description %]
354
        [% ELSE %]
354
        [% ELSE %]
355
            [% itemtype %]
355
            [% itemtype %]
356
        [% END %]
356
        [% END %]
357
        ] [% END %]
357
     [% END %]
358
        [% IF ( unititle ) %], [% unititle %][% END %]
358
     [% IF ( unititle ) %], [% unititle %][% END %]
359
    </span>
359
    </span>
360
360
361
    [% IF ( MARCAUTHORS ) %]
361
    [% IF ( MARCAUTHORS ) %]
Lines 479-484 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
479
        [% END %]
479
        [% END %]
480
        [% END %]
480
        [% END %]
481
481
482
        [% IF !item_level_itypes ||  BiblioItemtypeImage == 'Koha' %]
483
          <div class="results_summary">Itemtype:
484
          [% IF ( description ) %]
485
            [% description %]
486
          [% ELSE %]
487
            [% itemtype %]
488
	  [% END %]
489
	  </div>
490
	[% END %]
491
482
<!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them -->
492
<!-- 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 ) %]
493
[% IF ( LibraryThingForLibrariesID ) %]
484
	[% UNLESS ( LibraryThingForLibrariesTabbedView ) %]
494
	[% UNLESS ( LibraryThingForLibrariesTabbedView ) %]
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt (-1 / +1 lines)
Lines 427-433 $(document).ready(function(){ Link Here
427
[% IF ( RequestOnOpac ) %][% UNLESS ( SEARCH_RESULT.norequests ) %][% IF ( opacuserlogin ) %]<input type="checkbox" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" /> <label for="bib[% SEARCH_RESULT.biblionumber %]"></label>[% END %][% END %][% END %][% END %][% END %]</td>
427
[% IF ( RequestOnOpac ) %][% UNLESS ( SEARCH_RESULT.norequests ) %][% IF ( opacuserlogin ) %]<input type="checkbox" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" /> <label for="bib[% SEARCH_RESULT.biblionumber %]"></label>[% END %][% END %][% END %][% END %][% END %]</td>
428
                <td class="select selectcol">[% UNLESS suppress_result_number %][% SEARCH_RESULT.result_number %].[% END %]</td>
428
                <td class="select selectcol">[% UNLESS suppress_result_number %][% SEARCH_RESULT.result_number %].[% END %]</td>
429
429
430
                [% UNLESS ( item_level_itypes ) %]
430
                [% IF !item_level_itypes ||  BiblioItemtypeImage == 'Koha' %]
431
                [% UNLESS ( noItemTypeImages ) %]
431
                [% UNLESS ( noItemTypeImages ) %]
432
432
433
                <td class="itypecol">
433
                <td class="itypecol">
(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl (+3 lines)
Lines 26-31 Link Here
26
    <xsl:variable name="UseAuthoritiesForTracings" select="marc:sysprefs/marc:syspref[@name='UseAuthoritiesForTracings']"/>
26
    <xsl:variable name="UseAuthoritiesForTracings" select="marc:sysprefs/marc:syspref[@name='UseAuthoritiesForTracings']"/>
27
    <xsl:variable name="TraceSubjectSubdivisions" select="marc:sysprefs/marc:syspref[@name='TraceSubjectSubdivisions']"/>
27
    <xsl:variable name="TraceSubjectSubdivisions" select="marc:sysprefs/marc:syspref[@name='TraceSubjectSubdivisions']"/>
28
    <xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='OPACDisplay856uAsImage']"/>
28
    <xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='OPACDisplay856uAsImage']"/>
29
    <xsl:variable name="BiblioItemtypeImage" select="marc:sysprefs/marc:syspref[@name='BiblioItemtypeImage']"/>
29
    <xsl:variable name="TracingQuotesLeft">
30
    <xsl:variable name="TracingQuotesLeft">
30
      <xsl:choose>
31
      <xsl:choose>
31
        <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICU']='1'">{</xsl:when>
32
        <xsl:when test="marc:sysprefs/marc:syspref[@name='UseICU']='1'">{</xsl:when>
Lines 149-160 Link Here
149
        </xsl:choose>
150
        </xsl:choose>
150
151
151
   <xsl:if test="$DisplayOPACiconsXSLT!='0'">
152
   <xsl:if test="$DisplayOPACiconsXSLT!='0'">
153
        <xsl:if test="$BiblioItemtypeImage='Control'">
152
        <xsl:if test="$materialTypeCode!=''">
154
        <xsl:if test="$materialTypeCode!=''">
153
        <span class="results_summary type"><span class="label">Type: </span>
155
        <span class="results_summary type"><span class="label">Type: </span>
154
        <xsl:element name="img"><xsl:attribute name="src">/opac-tmpl/lib/famfamfam/<xsl:value-of select="$materialTypeCode"/>.png</xsl:attribute><xsl:attribute name="alt">materialTypeLabel</xsl:attribute><xsl:attribute name="class">materialtype</xsl:attribute></xsl:element>
156
        <xsl:element name="img"><xsl:attribute name="src">/opac-tmpl/lib/famfamfam/<xsl:value-of select="$materialTypeCode"/>.png</xsl:attribute><xsl:attribute name="alt">materialTypeLabel</xsl:attribute><xsl:attribute name="class">materialtype</xsl:attribute></xsl:element>
155
        <xsl:value-of select="$materialTypeLabel"/>
157
        <xsl:value-of select="$materialTypeLabel"/>
156
        </span>
158
        </span>
157
        </xsl:if>
159
        </xsl:if>
160
	</xsl:if>
158
   </xsl:if>
161
   </xsl:if>
159
162
160
        <!--Series: Alternate Graphic Representation (MARC 880) -->
163
        <!--Series: Alternate Graphic Representation (MARC 880) -->
(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACResults.xsl (+5 lines)
Lines 28-33 Link Here
28
    <xsl:variable name="AlternateHoldingsSubfields" select="substring(marc:sysprefs/marc:syspref[@name='AlternateHoldingsField'], 4)"/>
28
    <xsl:variable name="AlternateHoldingsSubfields" select="substring(marc:sysprefs/marc:syspref[@name='AlternateHoldingsField'], 4)"/>
29
    <xsl:variable name="AlternateHoldingsSeparator" select="marc:sysprefs/marc:syspref[@name='AlternateHoldingsSeparator']"/>
29
    <xsl:variable name="AlternateHoldingsSeparator" select="marc:sysprefs/marc:syspref[@name='AlternateHoldingsSeparator']"/>
30
    <xsl:variable name="singleBranchMode" select="marc:sysprefs/marc:syspref[@name='singleBranchMode']"/>
30
    <xsl:variable name="singleBranchMode" select="marc:sysprefs/marc:syspref[@name='singleBranchMode']"/>
31
    <xsl:variable name="BiblioItemtypeImage" select="marc:sysprefs/marc:syspref[@name='BiblioItemtypeImage']"/>
31
        <xsl:variable name="leader" select="marc:leader"/>
32
        <xsl:variable name="leader" select="marc:leader"/>
32
        <xsl:variable name="leader6" select="substring($leader,7,1)"/>
33
        <xsl:variable name="leader6" select="substring($leader,7,1)"/>
33
        <xsl:variable name="leader7" select="substring($leader,8,1)"/>
34
        <xsl:variable name="leader7" select="substring($leader,8,1)"/>
Lines 530-535 Link Here
530
531
531
<xsl:if test="$DisplayOPACiconsXSLT!='0'">
532
<xsl:if test="$DisplayOPACiconsXSLT!='0'">
532
    <span class="results_summary">
533
    <span class="results_summary">
534
535
    <xsl:if test="$BiblioItemtypeImage='Control'">
536
533
    <xsl:if test="$typeOf008!=''">
537
    <xsl:if test="$typeOf008!=''">
534
        <span class="label">Type: </span>
538
        <span class="label">Type: </span>
535
            <xsl:choose>
539
            <xsl:choose>
Lines 870-875 Link Here
870
            </xsl:when>
874
            </xsl:when>
871
            </xsl:choose>
875
            </xsl:choose>
872
    </xsl:if>
876
    </xsl:if>
877
    </xsl:if>
873
<xsl:text> </xsl:text> <!-- added blank space to fix font display problem, see Bug 3671 -->
878
<xsl:text> </xsl:text> <!-- added blank space to fix font display problem, see Bug 3671 -->
874
	</span>
879
	</span>
875
</xsl:if>
880
</xsl:if>
(-)a/opac/opac-detail.pl (+1 lines)
Lines 964-969 my $defaulttab = Link Here
964
    @serialcollections > 0 
964
    @serialcollections > 0 
965
        ? 'serialcollection' : 'subscription';
965
        ? 'serialcollection' : 'subscription';
966
$template->param('defaulttab' => $defaulttab);
966
$template->param('defaulttab' => $defaulttab);
967
$template->{VARS}->{'BiblioItemtypeImage'} = C4::Context->preference('BiblioItemtypeImage');
967
968
968
if (C4::Context->preference('OPACLocalCoverImages') == 1) {
969
if (C4::Context->preference('OPACLocalCoverImages') == 1) {
969
    my @images = ListImagesForBiblio($biblionumber);
970
    my @images = ListImagesForBiblio($biblionumber);
(-)a/opac/opac-search.pl (-1 / +2 lines)
Lines 3-8 Link Here
3
# Copyright 2008 Garry Collum and the Koha Development team
3
# Copyright 2008 Garry Collum and the Koha Development team
4
# Copyright 2010 BibLibre
4
# Copyright 2010 BibLibre
5
# Copyright 2011 KohaAloha, NZ
5
# Copyright 2011 KohaAloha, NZ
6
# Copyright 2012 Catalyst IT, NZ
6
#
7
#
7
# This file is part of Koha.
8
# This file is part of Koha.
8
#
9
#
Lines 824-829 if (C4::Context->preference('GoogleIndicTransliteration')) { Link Here
824
}
825
}
825
826
826
$template->{VARS}->{DidYouMean} = C4::Context->preference('OPACdidyoumean') =~ m/enable/;
827
$template->{VARS}->{DidYouMean} = C4::Context->preference('OPACdidyoumean') =~ m/enable/;
828
$template->{VARS}->{'BiblioItemtypeImage'} = C4::Context->preference('BiblioItemtypeImage');
827
829
828
    $template->param( borrowernumber    => $borrowernumber);
830
    $template->param( borrowernumber    => $borrowernumber);
829
output_with_http_headers $cgi, $cookie, $template->output, $content_type;
831
output_with_http_headers $cgi, $cookie, $template->output, $content_type;
830
- 

Return to bug 8732