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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
[% USE Branches %]
2
[% USE Branches %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Catalog &rsaquo; Advanced search</title>
4
<title>Koha &rsaquo; Catalog &rsaquo; Advanced search</title>
Lines 135-141 Link Here
135
        <tr>
136
        <tr>
136
    [% FOREACH itemtypeloo IN advsearchloo.code_loop %]
137
    [% FOREACH itemtypeloo IN advsearchloo.code_loop %]
137
        <td><input type="checkbox" id="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]" name="limit" value="mc-[% itemtypeloo.ccl %]:[% itemtypeloo.code %]"/><label for="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]">[% UNLESS ( noItemTypeImages ) %][% IF ( itemtypeloo.imageurl ) %]<img src="[% itemtypeloo.imageurl %]" alt="[% itemtypeloo.description %]" />[% END %]&nbsp;[% END %]
138
        <td><input type="checkbox" id="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]" name="limit" value="mc-[% itemtypeloo.ccl %]:[% itemtypeloo.code %]"/><label for="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]">[% UNLESS ( noItemTypeImages ) %][% IF ( itemtypeloo.imageurl ) %]<img src="[% itemtypeloo.imageurl %]" alt="[% itemtypeloo.description %]" />[% END %]&nbsp;[% END %]
138
        [% itemtypeloo.description %]</label></td>
139
        [% IF ( Koha.Preference('ItemTypeText') ) %][% itemtypeloo.description %][% END %]</label></td>
139
        [% IF ( loop.last ) %]</tr>[% ELSE %][% UNLESS ( loop.count % 5 ) %]</tr><tr>[% END %][% END %]
140
        [% IF ( loop.last ) %]</tr>[% ELSE %][% UNLESS ( loop.count % 5 ) %]</tr><tr>[% END %][% END %]
140
    [% END %]
141
    [% END %]
141
    </table>
142
    </table>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +1 lines)
Lines 1046-1052 function verify_images() { Link Here
1046
<div id="editions"><h4>Editions</h4>
1046
<div id="editions"><h4>Editions</h4>
1047
<table>
1047
<table>
1048
[% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" /></a></td>[% END %]
1048
[% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" /></a></td>[% END %]
1049
[% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
1049
[% UNLESS ( item_level_itypes ) %]<td>[% IF noItemTypeImages &&  Koha.Preference('ItemTypeText') %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
1050
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author | html %] &copy;[% XISBN.copyrightdate %]
1050
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author | html %] &copy;[% XISBN.copyrightdate %]
1051
  [% IF ( XISBN.publishercode ) %]
1051
  [% IF ( XISBN.publishercode ) %]
1052
[% XISBN.publishercode %] [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement %][% END %] [% IF ( XISBN.editionresponsability ) %][% XISBN.editionresponsability %][% END %]
1052
[% XISBN.publishercode %] [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement %][% END %] [% IF ( XISBN.editionresponsability ) %][% XISBN.editionresponsability %][% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-5 / +5 lines)
Lines 554-560 var holdForPatron = function () { Link Here
554
                                    [% IF !noItemTypeImages && SEARCH_RESULT.imageurl %]
554
                                    [% IF !noItemTypeImages && SEARCH_RESULT.imageurl %]
555
                                    <img src="[% SEARCH_RESULT.imageurl %]" title="[% SEARCH_RESULT.description %]" style="float: left; margin: .1em;" alt="[% SEARCH_RESULT.description %]" />
555
                                    <img src="[% SEARCH_RESULT.imageurl %]" title="[% SEARCH_RESULT.description %]" style="float: left; margin: .1em;" alt="[% SEARCH_RESULT.description %]" />
556
                                    [% END %]
556
                                    [% END %]
557
                                    [% SEARCH_RESULT.description %]
557
                                    [% IF ( Koha.Preference('ItemTypeText') ) %][% SEARCH_RESULT.description %][% END %]
558
                                    [% END %]
558
                                    [% END %]
559
                                    [% SEARCH_RESULT.summary %]</p>
559
                                    [% SEARCH_RESULT.summary %]</p>
560
                                [% ELSE %]
560
                                [% ELSE %]
Lines 576-582 var holdForPatron = function () { Link Here
576
										[% IF ( SEARCH_RESULT.edition ) %]<span class="results_edition">Edition: [% SEARCH_RESULT.edition %]</span>[% END %]
576
										[% IF ( SEARCH_RESULT.edition ) %]<span class="results_edition">Edition: [% SEARCH_RESULT.edition %]</span>[% END %]
577
                                        <span class="results_physicaldesc">[% IF ( SEARCH_RESULT.pages ) %]: [% SEARCH_RESULT.pages %][% END %]
577
                                        <span class="results_physicaldesc">[% IF ( SEARCH_RESULT.pages ) %]: [% SEARCH_RESULT.pages %][% END %]
578
                                        [% IF ( SEARCH_RESULT.size ) %] ; [% SEARCH_RESULT.size %][% END %]</span> [% IF ( SEARCH_RESULT.isbn ) %]<span class="results_isbn">ISBN: [% SEARCH_RESULT.isbn | replace('\s\|', ', ')%]</span>[% END %]
578
                                        [% IF ( SEARCH_RESULT.size ) %] ; [% SEARCH_RESULT.size %][% END %]</span> [% IF ( SEARCH_RESULT.isbn ) %]<span class="results_isbn">ISBN: [% SEARCH_RESULT.isbn | replace('\s\|', ', ')%]</span>[% END %]
579
                                        <span class="results_itemtype">[% SEARCH_RESULT.description %]</span>
579
                                        [% IF ( Koha.Preference('ItemTypeText') ) %]<span class="results_itemtype">[% SEARCH_RESULT.description %]</span>[% END %]
580
                                        [% IF ( SEARCH_RESULT.timestamp ) %] <i>(modified on [% SEARCH_RESULT.timestamp %])</i>[% END %]
580
                                        [% IF ( SEARCH_RESULT.timestamp ) %] <i>(modified on [% SEARCH_RESULT.timestamp %])</i>[% END %]
581
                                        [% IF ( SEARCH_RESULT.cn_class ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% SEARCH_RESULT.cn_class |uri %]%22">[% SEARCH_RESULT.cn_class %]</a>][% END %]
581
                                        [% IF ( SEARCH_RESULT.cn_class ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% SEARCH_RESULT.cn_class |uri %]%22">[% SEARCH_RESULT.cn_class %]</a>][% END %]
582
                                    </p>
582
                                    </p>
Lines 649-655 var holdForPatron = function () { Link Here
649
                                        [% IF ( available_items_loo.location ) %][% available_items_loo.location %][% END %]
649
                                        [% IF ( available_items_loo.location ) %][% available_items_loo.location %][% END %]
650
                                        [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% available_items_loo.itemcallnumber |uri %]%22">[% available_items_loo.itemcallnumber %]</a>][% END %]
650
                                        [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% available_items_loo.itemcallnumber |uri %]%22">[% available_items_loo.itemcallnumber %]</a>][% END %]
651
                                        ([% available_items_loo.count %])
651
                                        ([% available_items_loo.count %])
652
                                        [% IF item_level_itypes && available_items_loo.description %]
652
                                        [% IF item_level_itypes && available_items_loo.description && Koha.Preference('ItemTypeText') %]
653
                                        <br/>[% available_items_loo.description %]
653
                                        <br/>[% available_items_loo.description %]
654
                                        [% END %]
654
                                        [% END %]
655
                                        </li>
655
                                        </li>
Lines 671-677 var holdForPatron = function () { Link Here
671
                                        [% IF ( onloan_items_loo.location ) %][% onloan_items_loo.location %][% END %]
671
                                        [% IF ( onloan_items_loo.location ) %][% onloan_items_loo.location %][% END %]
672
                                        [% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber %]</a>][% END %]
672
                                        [% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber %]</a>][% END %]
673
                                        ([% onloan_items_loo.count %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue %] long overdue[% END %]) date due: [% onloan_items_loo.due_date | $KohaDates %]
673
                                        ([% onloan_items_loo.count %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue %] long overdue[% END %]) date due: [% onloan_items_loo.due_date | $KohaDates %]
674
                                        [% IF item_level_itypes && onloan_items_loo.description %]
674
                                        [% IF item_level_itypes && onloan_items_loo.description && Koha.Preference('ItemTypeText') %]
675
                                        <br/>[% onloan_items_loo.description %]
675
                                        <br/>[% onloan_items_loo.description %]
676
                                        [% END %]
676
                                        [% END %]
677
                                        </li>
677
                                        </li>
Lines 699-705 var holdForPatron = function () { Link Here
699
                                        [% IF ( other_items_loo.onhold ) %](On hold)[% END %]
699
                                        [% IF ( other_items_loo.onhold ) %](On hold)[% END %]
700
                                        [% IF ( other_items_loo.notforloan ) %][% other_items_loo.notforloan %][% END %]
700
                                        [% IF ( other_items_loo.notforloan ) %][% other_items_loo.notforloan %][% END %]
701
                                        ([% other_items_loo.count %])
701
                                        ([% other_items_loo.count %])
702
                                        [% IF item_level_itypes && other_items_loo.description %]
702
                                        [% IF item_level_itypes && other_items_loo.description && Koha.Preference('ItemTypeText') %]
703
                                        <br/>[% other_items_loo.description %]
703
                                        <br/>[% other_items_loo.description %]
704
                                        [% END %]
704
                                        [% END %]
705
                                        </li>
705
                                        </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-1 / +1 lines)
Lines 527-533 function checkMultiHold() { Link Here
527
                    [% UNLESS ( noItemTypeImages ) %]
527
                    [% UNLESS ( noItemTypeImages ) %]
528
                        [% IF ( itemloo.imageurl ) %]<img src="[% itemloo.imageurl %]" alt="" /> <br /> [% END %]
528
                        [% IF ( itemloo.imageurl ) %]<img src="[% itemloo.imageurl %]" alt="" /> <br /> [% END %]
529
                    [% END %]
529
                    [% END %]
530
                        [% itemloo.itypename %]
530
                        [% IF ( Koha.Preference('ItemTypeText') ) %][% itemloo.itypename %][% END %]
531
                    </td>
531
                    </td>
532
                [% END %]
532
                [% END %]
533
533
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-1 / +1 lines)
Lines 445-451 function placeHold () { Link Here
445
                </td>
445
                </td>
446
            [% END %]
446
            [% END %]
447
			[% UNLESS ( item_level_itypes ) %]<td>
447
			[% UNLESS ( item_level_itypes ) %]<td>
448
                [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %]<img src="[% itemsloo.imageurl %]" alt="[% itemsloo.description %]" title="[% itemsloo.description %]" />[% END %][% itemsloo.description %]
448
                [% UNLESS ( noItemTypeImages || !itemsloo.imageurl ) %]<img src="[% itemsloo.imageurl %]" alt="[% itemsloo.description %]" title="[% itemsloo.description %]" />[% END %][% IF ( Koha.Preference('ItemTypeText') ) %][% itemsloo.description %][% END %]
449
			</td>[% END %]
449
			</td>[% END %]
450
			<td>
450
			<td>
451
                [% IF ( itemsloo.XSLTBloc ) %]
451
                [% IF ( itemsloo.XSLTBloc ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt (-1 / +1 lines)
Lines 148-154 Link Here
148
                                                            [% END %]
148
                                                            [% END %]
149
                                                            &nbsp;
149
                                                            &nbsp;
150
                                                        [% END %]
150
                                                        [% END %]
151
                                                        [% itemtypeloo.description %]
151
                                                        [% IF ( Koha.Preference('ItemTypeText') ) %][% itemtypeloo.description %][% END %]
152
                                                    </label>
152
                                                    </label>
153
                                                </div>
153
                                                </div>
154
                                            [% IF ( loop.last ) %]</div>[% ELSE %][% UNLESS ( loop.count % 4 ) %]</div><div class="row-fluid">[% END %][% END %]
154
                                            [% IF ( loop.last ) %]</div>[% ELSE %][% UNLESS ( loop.count % 4 ) %]</div><div class="row-fluid">[% END %][% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (+2 lines)
Lines 321-326 Link Here
321
                            [% IF ( imgeurl ) %]
321
                            [% IF ( imgeurl ) %]
322
                                <img src="[% imageurl %]" alt="" />
322
                                <img src="[% imageurl %]" alt="" />
323
                            [% END %]
323
                            [% END %]
324
                            [% IF ( Koha.Preference('ItemTypeText') ) %]
324
                            <span class="results_summary itemtype"><span class="label">Item type: </span>
325
                            <span class="results_summary itemtype"><span class="label">Item type: </span>
325
                                [% IF ( description ) %]
326
                                [% IF ( description ) %]
326
                                    [% description %]
327
                                    [% description %]
Lines 328-333 Link Here
328
                                    [% itemtype %]
329
                                    [% itemtype %]
329
                                [% END %]
330
                                [% END %]
330
                            </span>
331
                            </span>
332
                            [% END %]
331
                        [% END %]
333
                        [% END %]
332
334
333
                        [% IF ( MARCURLS ) %]
335
                        [% IF ( MARCURLS ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (-1 / +3 lines)
Lines 136-143 Link Here
136
                                                        <img src="[% issue.imageurl %]" alt="" />
136
                                                        <img src="[% issue.imageurl %]" alt="" />
137
                                                    [% END %]
137
                                                    [% END %]
138
                                                [% END %]
138
                                                [% END %]
139
                                                [% IF ( Koha.Preference('ItemTypeText') ) %]
139
                                                <span class="tdlabel">Item type:</span>
140
                                                <span class="tdlabel">Item type:</span>
140
                                                [% issue.translated_description %]</td>
141
                                                [% issue.translated_description %][% END %]
142
                                                </td>
141
                                                <td>
143
                                                <td>
142
                                                <span class="tdlabel">Call number:</span>
144
                                                <span class="tdlabel">Call number:</span>
143
                                                [% issue.itemcallnumber %]
145
                                                [% issue.itemcallnumber %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-2 / +2 lines)
Lines 193-199 Link Here
193
                                                        <li class="itype">
193
                                                        <li class="itype">
194
                                                            <span class="label">Item type: </span>
194
                                                            <span class="label">Item type: </span>
195
                                                            [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl %]" alt="" />[% END %]
195
                                                            [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl %]" alt="" />[% END %]
196
                                                            [% bibitemloo.translated_description %]
196
                                                            [% IF ( Koha.Preference('ItemTypeText') ) %][% bibitemloo.translated_description %][% END %]
197
                                                        </li>
197
                                                        </li>
198
                                                    [% END %]
198
                                                    [% END %]
199
199
Lines 357-363 Link Here
357
                                                                                    <img src="[% itemLoo.imageurl %]" alt="" />
357
                                                                                    <img src="[% itemLoo.imageurl %]" alt="" />
358
                                                                                [% END %]
358
                                                                                [% END %]
359
                                                                            [% END %]
359
                                                                            [% END %]
360
                                                                            [% itemLoo.translated_description %]
360
                                                                            [% IF ( Koha.Preference('ItemTypeText') ) %][% itemLoo.translated_description %][% END %]
361
                                                                        </td>
361
                                                                        </td>
362
                                                                    [% END %]
362
                                                                    [% END %]
363
363
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results-grouped.tt (-1 / +1 lines)
Lines 165-171 href="/cgi-bin/koha/opac-rss.pl?[% query_cgi %][% limit_cgi |html %]" /> Link Here
165
                                                                    <img src="[% GROUP_RESULT.imageurl %]" title="[% GROUP_RESULT.description %]" />
165
                                                                    <img src="[% GROUP_RESULT.imageurl %]" title="[% GROUP_RESULT.description %]" />
166
                                                                [% END %]
166
                                                                [% END %]
167
                                                            [% END %]
167
                                                            [% END %]
168
                                                            [% GROUP_RESULT.description %]
168
                                                            [% IF ( Koha.Preference('ItemTypeText') ) %][% GROUP_RESULT.description %][% END %]
169
                                                        [% END %]
169
                                                        [% END %]
170
                                                        </td>
170
                                                        </td>
171
                                                        <td>
171
                                                        <td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-1 / +1 lines)
Lines 296-302 Link Here
296
                                                        [% UNLESS ( noItemTypeImages ) %]
296
                                                        [% UNLESS ( noItemTypeImages ) %]
297
                                                            <img src="[% itemsloo.imageurl %]" alt="[% itemsloo.description %]" title="[% itemsloo.description %]" />
297
                                                            <img src="[% itemsloo.imageurl %]" alt="[% itemsloo.description %]" title="[% itemsloo.description %]" />
298
                                                        [% END %]
298
                                                        [% END %]
299
                                                        [% itemsloo.description %]
299
                                                        [% IF ( Koha.Preference('ItemTypeText') ) %][% itemsloo.description %][% END %]
300
                                                    </td>
300
                                                    </td>
301
                                                [% END %]
301
                                                [% END %]
302
                                                <td>
302
                                                <td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-3 / +2 lines)
Lines 256-262 Using this account is not recommended because some parts of Koha will not functi Link Here
256
                                                        <span class="tdlabel">Item type:</span>
256
                                                        <span class="tdlabel">Item type:</span>
257
                                                        [% IF ( ISSUE.imageurl ) %]
257
                                                        [% IF ( ISSUE.imageurl ) %]
258
                                                            <img src="[% ISSUE.imageurl %]" title="[% ISSUE.description %]" alt="[% ISSUE.description %]" />
258
                                                            <img src="[% ISSUE.imageurl %]" title="[% ISSUE.description %]" alt="[% ISSUE.description %]" />
259
                                                        [% END %] [% ISSUE.description %]
259
                                                        [% END %][% IF ( Koha.Preference('ItemTypeText') ) %][% ISSUE.description %][% END %]
260
                                                    </td>
260
                                                    </td>
261
                                                [% END %]
261
                                                [% END %]
262
                                                [% IF ( show_barcode ) %]
262
                                                [% IF ( show_barcode ) %]
Lines 509-515 Using this account is not recommended because some parts of Koha will not functi Link Here
509
                                                    <td>
509
                                                    <td>
510
                                                        [% IF ( OVERDUE.imageurl ) %]
510
                                                        [% IF ( OVERDUE.imageurl ) %]
511
                                                            <img src="[% OVERDUE.imageurl %]" title="[% OVERDUE.description %]" alt="[% OVERDUE.description %]" />
511
                                                            <img src="[% OVERDUE.imageurl %]" title="[% OVERDUE.description %]" alt="[% OVERDUE.description %]" />
512
                                                        [% END %] [% OVERDUE.description %]
512
                                                        [% END %] [% IF ( Koha.Preference('ItemTypeText') ) %][% OVERDUE.description %][% END %]
513
                                                    </td>
513
                                                    </td>
514
                                                [% END %]
514
                                                [% END %]
515
                                                [% IF ( show_barcode ) %]
515
                                                [% IF ( show_barcode ) %]
516
- 

Return to bug 7960