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

(-)a/catalogue/ISBDdetail.pl (+1 lines)
Lines 90-95 $template->param ( Link Here
90
	isbdview => 1,
90
	isbdview => 1,
91
	z3950_search_params	=> C4::Search::z3950_search_args(GetBiblioData($biblionumber)),
91
	z3950_search_params	=> C4::Search::z3950_search_args(GetBiblioData($biblionumber)),
92
	C4::Search::enabled_staff_search_views,
92
	C4::Search::enabled_staff_search_views,
93
    ocoins => GetCOinSBiblio($biblionumber),
93
);
94
);
94
95
95
output_html_with_http_headers $query, $cookie, $template->output;
96
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/catalogue/MARCdetail.pl (-3 / +5 lines)
Lines 1-6 Link Here
1
#!/usr/bin/perl
1
#!/usr/bin/perl
2
2
3
# Copyright 2000-2002 Katipo Communications
3
# Copyright 2000-2002 Katipo Communications
4
# Parts Copyright Biblibre 2010
4
#
5
#
5
# This file is part of Koha.
6
# This file is part of Koha.
6
#
7
#
Lines 14-20 Link Here
14
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
15
# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
15
#
16
#
16
# You should have received a copy of the GNU General Public License along
17
# You should have received a copy of the GNU General Public License along
17
# with Koha; if not, write to the Free Software Foundation, Inc.,
18
# with this program; if not, write to the Free Software Foundation, Inc.,
18
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
20
20
=head1 NAME
21
=head1 NAME
Lines 43-49 the items attached to the biblio Link Here
43
=cut
44
=cut
44
45
45
use strict;
46
use strict;
46
#use warnings; FIXME - Bug 2505
47
47
48
use C4::Auth;
48
use C4::Auth;
49
use C4::Context;
49
use C4::Context;
Lines 84-89 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
84
    }
84
    }
85
);
85
);
86
86
87
$template->param( ocoins => GetCOinSBiblio($biblionumber) );
88
87
#count of item linked
89
#count of item linked
88
my $itemcount = GetItemsCount($biblionumber);
90
my $itemcount = GetItemsCount($biblionumber);
89
$template->param( count => $itemcount,
91
$template->param( count => $itemcount,
Lines 118-124 for ( my $tabloop = 0 ; $tabloop <= 10 ; $tabloop++ ) { Link Here
118
120
119
    # deal with leader
121
    # deal with leader
120
    unless ( $tagslib->{'000'}->{'@'}->{tab} ne $tabloop )
122
    unless ( $tagslib->{'000'}->{'@'}->{tab} ne $tabloop )
121
    {    #  or ($tagslib->{'000'}->{'@'}->{hidden} =~ /-7|-4|-3|-2|2|3|5|8/ )) {
123
    {    #  
122
        my %subfield_data;
124
        my %subfield_data;
123
        $subfield_data{marc_lib}      = $tagslib->{'000'}->{'@'}->{lib};
125
        $subfield_data{marc_lib}      = $tagslib->{'000'}->{'@'}->{lib};
124
        $subfield_data{marc_value}    = $record->leader();
126
        $subfield_data{marc_value}    = $record->leader();
(-)a/catalogue/detail.pl (+2 lines)
Lines 65-70 if (C4::Context->preference("XSLTDetailsDisplay") ) { Link Here
65
}
65
}
66
66
67
$template->param( 'SpineLabelShowPrintOnBibDetails' => C4::Context->preference("SpineLabelShowPrintOnBibDetails") );
67
$template->param( 'SpineLabelShowPrintOnBibDetails' => C4::Context->preference("SpineLabelShowPrintOnBibDetails") );
68
$template->param( ocoins => GetCOinSBiblio($biblionumber) );
69
68
70
69
# some useful variables for enhanced content;
71
# some useful variables for enhanced content;
70
# in each case, we're grabbing the first value we find in
72
# in each case, we're grabbing the first value we find in
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tmpl (+6 lines)
Lines 16-21 Link Here
16
	<div class="yui-b">
16
	<div class="yui-b">
17
<!-- TMPL_INCLUDE NAME="cat-toolbar.inc" -->
17
<!-- TMPL_INCLUDE NAME="cat-toolbar.inc" -->
18
18
19
    <!-- TMPL_IF NAME="ocoins" -->
20
    <!-- COinS / OpenURL -->
21
    <span class="Z3988" title="<!-- TMPL_VAR NAME="ocoins" -->"></span>
22
    <!-- /TMPL_IF -->      
23
24
19
	<div id="catalogue_ISBDdetail">
25
	<div id="catalogue_ISBDdetail">
20
		<!-- TMPL_VAR NAME="ISBD" -->
26
		<!-- TMPL_VAR NAME="ISBD" -->
21
	</div>
27
	</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/MARCdetail.tmpl (-3 / +41 lines)
Lines 1-6 Link Here
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
1
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2
<title>Koha &rsaquo; Catalog &rsaquo; MARC Details for <!-- TMPL_VAR NAME="bibliotitle" --></title>
2
<title>Koha &rsaquo; Catalog &rsaquo; MARC Details for <!-- TMPL_VAR NAME="bibliotitle" --></title>
3
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.pager.js"></script>
6
<script type="text/javascript" id="js">$(document).ready(function() {
7
	$("#table_MARCdetail").tablesorter({
8
		sortList: [[0,0]]
9
	}).tablesorterPager({container: $("#pagertable_MARCdetail"),positionFixed: false,size: 20});
10
}); </script>
11
<style type="text/css">
12
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
13
    .ui-tabs-hide {
14
        display: block;  
15
    }
16
}
17
ul.ui-tabs-nav {display:none;}
18
</style>
4
<script type="text/javascript">
19
<script type="text/javascript">
5
//<![CDATA[
20
//<![CDATA[
6
21
Lines 43-48 function Changefwk(FwkList) { Link Here
43
                            <!-- /TMPL_LOOP -->
58
                            <!-- /TMPL_LOOP -->
44
            </select> </b></p>
59
            </select> </b></p>
45
60
61
    <!-- TMPL_IF NAME="ocoins" -->
62
    <!-- COinS / OpenURL -->
63
    <span class="Z3988" title="<!-- TMPL_VAR NAME="ocoins" -->"></span>
64
    <!-- /TMPL_IF -->      
65
46
<div id="bibliotabs" class="toptabs numbered">
66
<div id="bibliotabs" class="toptabs numbered">
47
	<ul>
67
	<ul>
48
            <!-- TMPL_IF name="zeroXX" -->
68
            <!-- TMPL_IF name="zeroXX" -->
Lines 381-394 function Changefwk(FwkList) { Link Here
381
401
382
     <!-- TMPL_IF name="tenXX" -->
402
     <!-- TMPL_IF name="tenXX" -->
383
    <div id="tab10XX">
403
    <div id="tab10XX">
384
        <table>
404
    <span id="pagertable_MARCdetail" class="pager">
385
                <tr>
405
	<form class="formpager">&nbsp;<strong>page(s)</strong>&nbsp;:
406
		<img src="<!-- TMPL_VAR name="interface" -->/prog/img/first.png" class="first"/>
407
		<img src="<!-- TMPL_VAR name="interface" -->/prog/img/prev.png" class="prev"/>
408
		<input type="text" size="5" class="pagedisplay"/>
409
		<img src="<!-- TMPL_VAR name="interface" -->/prog/img/next.png" class="next"/>
410
		<img src="<!-- TMPL_VAR name="interface" -->/prog/img/last.png" class="last"/>
411
		, entries/page : 
412
		<select class="pagesize">
413
        	<option value="10">10</option>
414
			<option selected="selected" value="20">20</option>
415
			<option value="30">30</option>
416
			<option value="40">40</option>
417
			<option value="50">50</option>
418
			<option value="100">100</option>
419
		</select>
420
	</form>
421
</span>
422
        <table id="table_MARCdetail">
423
                <thead>
386
                    <!-- TMPL_LOOP NAME="item_header_loop" -->
424
                    <!-- TMPL_LOOP NAME="item_header_loop" -->
387
                        <th>
425
                        <th>
388
                            <!-- TMPL_VAR NAME="header_value" -->
426
                            <!-- TMPL_VAR NAME="header_value" -->
389
                        </th>
427
                        </th>
390
                    <!-- /TMPL_LOOP -->
428
                    <!-- /TMPL_LOOP -->
391
                </tr>
429
                </thead>
392
                <!-- TMPL_LOOP NAME="item_loop" -->
430
                <!-- TMPL_LOOP NAME="item_loop" -->
393
                    <tr>
431
                    <tr>
394
                        <!-- TMPL_VAR NAME="item_value" -->
432
                        <!-- TMPL_VAR NAME="item_value" -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl (-1 / +6 lines)
Lines 146-151 function verify_images() { Link Here
146
<!-- TMPL_IF NAME="AmazonEnabled" --><!-- TMPL_IF NAME="AmazonCoverImages" --><div class="yui-u" id="bookcoverimg">
146
<!-- TMPL_IF NAME="AmazonEnabled" --><!-- TMPL_IF NAME="AmazonCoverImages" --><div class="yui-u" id="bookcoverimg">
147
<a href="http://www.amazon<!-- TMPL_VAR NAME="AmazonTld" -->/gp/reader/<!-- TMPL_VAR NAME="normalized_isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="normalized_isbn" -->.01.MZZZZZZZ.jpg" alt="" /></a></div><!-- /TMPL_IF --><!-- /TMPL_IF -->
147
<a href="http://www.amazon<!-- TMPL_VAR NAME="AmazonTld" -->/gp/reader/<!-- TMPL_VAR NAME="normalized_isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="http://images.amazon.com/images/P/<!-- TMPL_VAR NAME="normalized_isbn" -->.01.MZZZZZZZ.jpg" alt="" /></a></div><!-- /TMPL_IF --><!-- /TMPL_IF -->
148
        
148
        
149
    <!-- TMPL_IF NAME="ocoins" -->
150
    <!-- COinS / OpenURL -->
151
    <span class="Z3988" title="<!-- TMPL_VAR NAME="ocoins" -->"></span>
152
    <!-- /TMPL_IF -->
153
   
154
 
149
        <div class="yui-u" style="margin-top: 1em;">
155
        <div class="yui-u" style="margin-top: 1em;">
150
        <ul>
156
        <ul>
151
        <!-- TMPL_IF NAME="MARCISBNS" -->
157
        <!-- TMPL_IF NAME="MARCISBNS" -->
152
- 

Return to bug 5729