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

(-)a/catalogue/search.pl (+3 lines)
Lines 538-543 for (my $i=0;$i<@servers;$i++) { Link Here
538
            } 
538
            } 
539
            exit;
539
            exit;
540
        }
540
        }
541
	unless(C4::Context->preference("StaffAuthorisedValueImages")) {
542
	  $_->{noauthimg}=1 for @newresults; #enh 5687
543
	}
541
544
542
545
543
        if ($hits) {
546
        if ($hits) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref (+6 lines)
Lines 63-68 Staff Client: Link Here
63
              choices:
63
              choices:
64
                  local: "included with Koha (faster, will work if internet goes down)."
64
                  local: "included with Koha (faster, will work if internet goes down)."
65
                  "http://yui.yahooapis.com/2.5.1/build": "from Yahoo's own servers (less demand on your servers)."
65
                  "http://yui.yahooapis.com/2.5.1/build": "from Yahoo's own servers (less demand on your servers)."
66
        -
67
            - pref: StaffAuthorisedValueImages
68
              choices:
69
                  yes: Show
70
                  no: "Don't show"
71
            - images for <a href="/cgi-bin/koha/admin/authorised_values.pl">authorized values</a> (such as lost statuses and locations) in search results.
66
    Options:
72
    Options:
67
        -
73
        -
68
            - pref: viewMARC
74
            - pref: viewMARC
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tmpl (-3 / +2 lines)
Lines 438-444 function GetZ3950Terms(){ Link Here
438
                                    </p>
438
                                    </p>
439
                                    <!-- TMPL_IF NAME="searchhighlightblob" --><p class="searchhighlightblob"><!-- TMPL_VAR NAME="searchhighlightblob" --></p><!-- /TMPL_IF -->
439
                                    <!-- TMPL_IF NAME="searchhighlightblob" --><p class="searchhighlightblob"><!-- TMPL_VAR NAME="searchhighlightblob" --></p><!-- /TMPL_IF -->
440
440
441
                                    <!-- TMPL_IF NAME="authorised_value_images" -->
441
                                    <!-- TMPL_UNLESS NAME="noauthimg"--><!-- TMPL_IF NAME="authorised_value_images" -->
442
                                <p>
442
                                <p>
443
                                  <!-- TMPL_LOOP NAME="authorised_value_images" -->
443
                                  <!-- TMPL_LOOP NAME="authorised_value_images" -->
444
                                  <img src="<!-- TMPL_VAR name="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" />
444
                                  <img src="<!-- TMPL_VAR name="imageurl" -->" alt="<!-- TMPL_VAR NAME="description" -->" />
Lines 446-452 function GetZ3950Terms(){ Link Here
446
                                </p>
446
                                </p>
447
                                <!-- /TMPL_IF -->
447
                                <!-- /TMPL_IF -->
448
448
449
                                <!-- /TMPL_IF -->
449
                                <!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
450
                                  <p class="hold"><!-- TMPL_IF NAME="norequests" -->
450
                                  <p class="hold"><!-- TMPL_IF NAME="norequests" -->
451
                                  <span class="noholdstext">No holds allowed</span>
451
                                  <span class="noholdstext">No holds allowed</span>
452
                              <!-- TMPL_ELSE -->
452
                              <!-- TMPL_ELSE -->
453
- 

Return to bug 5687