Lines 1-11
Link Here
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Images for: [% biblio.title |html %] |
2 |
<title>Koha › Catalog › Details for [% biblio.title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
<script type="text/JavaScript" language="JavaScript"> |
4 |
[% IF ( LocalCoverImages == 1 ) %] |
|
|
5 |
<script type="text/JavaScript"> |
5 |
//<![CDATA[ |
6 |
//<![CDATA[ |
6 |
|
7 |
|
7 |
$(document).ready(function(){ |
8 |
$(document).ready(function(){ |
8 |
showCover($('.thumbnail').attr('id')); |
9 |
showCover([% imagenumber %]); |
9 |
}); |
10 |
}); |
10 |
|
11 |
|
11 |
function showCover(img) { |
12 |
function showCover(img) { |
Lines 16-43
function showCover(img) {
Link Here
|
16 |
//]]> |
17 |
//]]> |
17 |
</script> |
18 |
</script> |
18 |
<style type="text/css"> |
19 |
<style type="text/css"> |
|
|
20 |
#largeCoverImg { |
21 |
border : 1px solid #CCCCCC; |
22 |
display : block; |
23 |
margin : auto; |
24 |
padding : 1em; |
25 |
} |
26 |
#thumbnails { |
27 |
text-align : center; |
28 |
} |
29 |
#thumbnails a img { |
30 |
border : 1px solid #0000CC; |
31 |
} |
19 |
img.thumbnail { |
32 |
img.thumbnail { |
20 |
border-style: solid; |
33 |
display : block; |
21 |
border-width: 3px; |
34 |
float : none; |
22 |
border-color: white; |
35 |
margin: 0 5px 5px 0; |
|
|
36 |
padding : .5em; |
23 |
} |
37 |
} |
24 |
|
38 |
|
25 |
img.selected { |
39 |
#thumbnails a img.selected { |
26 |
border-color: black; |
40 |
border-color: black; |
|
|
41 |
cursor : default; |
42 |
opacity:0.4; |
43 |
filter:alpha(opacity=40); /* For IE8 and earlier */ |
27 |
} |
44 |
} |
28 |
</style> |
45 |
</style>[% END %] |
29 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
46 |
</head> |
30 |
<body id="imageviewer"> |
47 |
|
31 |
<div id="largeCover"><img id="largeCoverImg" alt="Large view" /></div> |
48 |
<body> |
32 |
[% IF LocalCoverImages == 1 %] |
49 |
|
33 |
[% FOREACH img IN images %] |
50 |
[% INCLUDE 'header.inc' %] |
34 |
[% IF img %] |
51 |
[% INCLUDE 'cat-search.inc' %] |
35 |
<a href='#' onclick='showCover([% img %])'><img class='thumbnail' id='[% img %]' src='/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img %]&thumbnail=1' alt='Image'/></a> |
52 |
|
36 |
[% END %] |
53 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Images for <i>[% biblio.title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i></div> |
37 |
[% END %] |
54 |
|
38 |
[% biblio.title %] [% biblio.author %] |
55 |
<div id="doc3" class="yui-t1"> |
|
|
56 |
|
57 |
<div id="bd"> |
58 |
<div id="yui-main"> |
59 |
<div class="yui-b"> |
60 |
<div class="yui-ge"> |
61 |
|
62 |
[% INCLUDE 'cat-toolbar.inc' %] |
63 |
|
64 |
<h3>Images for <i>[% biblio.title |html %]</i></h3> |
65 |
<h4>[% biblio.author %]</h4> |
66 |
|
67 |
[% IF ( LocalCoverImages == 1 ) %] |
68 |
[% IF ( images.size > 0 ) %] |
69 |
<div class="yui-u first"> |
70 |
<div id="largeCover"> |
71 |
<img id="largeCoverImg" alt="" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% imagenumber %]" /> |
72 |
</div></div> |
73 |
|
74 |
<div class="yui-u"><div id="thumbnails"> |
75 |
|
76 |
[% FOREACH img IN images %] |
77 |
[% IF img %] |
78 |
<a href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% img %]" onclick="showCover([% img %]); return false;"> |
79 |
[% IF ( imagenumber == img ) %] |
80 |
<img class="thumbnail selected" id="[% img %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img %]&thumbnail=1" alt="Thumbnail" /> |
81 |
[% ELSE %] |
82 |
<img class="thumbnail" id="[% img %]" src="/cgi-bin/koha/catalogue/image.pl?imagenumber=[% img %]&thumbnail=1" alt="Thumbnail" /> |
83 |
[% END %] |
84 |
</a> |
85 |
[% END %] |
86 |
[% END %] |
87 |
</div></div> |
88 |
|
89 |
[% ELSE %] |
90 |
<div class="dialog message">There are no images for this record.</div> |
91 |
[% END %] |
39 |
[% ELSE %] |
92 |
[% ELSE %] |
40 |
Unfortunately, images are not enabled for this catalog at this time. |
93 |
<div class="dialog message">Local images have not been enabled by your system administrator.</div> |
41 |
[% END %] |
94 |
[% END %] |
42 |
</body> |
95 |
|
43 |
</html> |
96 |
</div> |
|
|
97 |
</div> |
98 |
</div> |
99 |
<div class="yui-b"> |
100 |
[% INCLUDE 'biblio-view-menu.inc' %] |
101 |
</div> |
102 |
</div> |
103 |
[% INCLUDE 'intranet-bottom.inc' %] |
44 |
- |
|
|