Lines 19-24
Link Here
|
19 |
|
19 |
|
20 |
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Details for: [% title |html %][% FOREACH subtitl IN subtitle %], [% subtitl.subfield |html %][% END %] |
20 |
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Details for: [% title |html %][% FOREACH subtitl IN subtitle %], [% subtitl.subfield |html %][% END %] |
21 |
[% INCLUDE 'doc-head-close.inc' %] |
21 |
[% INCLUDE 'doc-head-close.inc' %] |
|
|
22 |
[% INCLUDE 'calendar.inc' %] |
22 |
[% INCLUDE 'datatables.inc' %] |
23 |
[% INCLUDE 'datatables.inc' %] |
23 |
[% IF ( SocialNetworks ) %] |
24 |
[% IF ( SocialNetworks ) %] |
24 |
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"> |
25 |
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"> |
Lines 35-40
Link Here
|
35 |
[% IF ( bidi ) %] |
36 |
[% IF ( bidi ) %] |
36 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" /> |
37 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" /> |
37 |
[% END %] |
38 |
[% END %] |
|
|
39 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/opac-detail.css" /> |
38 |
<script type="text/javascript"> |
40 |
<script type="text/javascript"> |
39 |
//<![CDATA[ |
41 |
//<![CDATA[ |
40 |
|
42 |
|
Lines 66-72
Link Here
|
66 |
$(".highlight_toggle").toggle(); |
68 |
$(".highlight_toggle").toggle(); |
67 |
} |
69 |
} |
68 |
[% END %] |
70 |
[% END %] |
69 |
|
71 |
// ------------------------------ // |
|
|
72 |
//>>> Document READY starts here! // |
73 |
// ------------------------------ // |
70 |
$(document).ready(function() { |
74 |
$(document).ready(function() { |
71 |
$('#bibliodescriptions').tabs(); |
75 |
$('#bibliodescriptions').tabs(); |
72 |
$(".branch-info-tooltip-trigger").tooltip({ |
76 |
$(".branch-info-tooltip-trigger").tooltip({ |
Lines 109-135
Link Here
|
109 |
}); |
113 |
}); |
110 |
[% END %] |
114 |
[% END %] |
111 |
|
115 |
|
112 |
$(".holdingst").dataTable($.extend(true, {}, dataTablesDefaults, { |
116 |
$(".holdingst").dataTable($.extend(true, {}, dataTablesDefaults, { |
113 |
"aoColumns": [ |
117 |
"aoColumns": [ |
114 |
[% IF ( item_level_itypes ) %]null,[% END %] |
118 |
[% IF ( item_level_itypes ) %]null,[% END %] |
115 |
null, |
119 |
null, |
116 |
[% IF ( itemdata_ccode ) %]null,[% END %] |
120 |
[% IF ( itemdata_ccode ) %]null,[% END %] |
|
|
121 |
null, |
122 |
[% IF ( itemdata_enumchron ) %]null,[% END %] |
123 |
[% IF ( itemdata_uri ) %]null,[% END %] |
124 |
[% IF ( itemdata_copynumber ) %]null,[% END %] |
125 |
null, |
126 |
[% IF ( itemdata_itemnotes ) %]null,[% END %] |
127 |
{ "sType": "title-string" }, |
128 |
[% IF ( OPACShowBarcode ) %]null,[% END %] |
129 |
[% IF holds_count.defined %] |
117 |
null, |
130 |
null, |
118 |
[% IF ( itemdata_enumchron ) %]null,[% END %] |
131 |
[% ELSIF show_priority %] |
119 |
[% IF ( itemdata_uri ) %]null,[% END %] |
|
|
120 |
[% IF ( itemdata_copynumber ) %]null,[% END %] |
121 |
null, |
132 |
null, |
122 |
[% IF ( itemdata_itemnotes ) %]null,[% END %] |
133 |
[% END %] |
123 |
{ "sType": "title-string" }, |
134 |
[% IF ( ShowCourseReservesHeader ) %]null,[% END %] |
124 |
[% IF ( OPACShowBarcode ) %]null,[% END %] |
135 |
] |
125 |
[% IF holds_count.defined %] |
136 |
})); |
126 |
null, |
137 |
|
127 |
[% ELSIF show_priority %] |
138 |
//Bind the datepicker |
128 |
null, |
139 |
$('.datepicker').datepicker(); |
129 |
[% END %] |
|
|
130 |
[% IF ( ShowCourseReservesHeader ) %]null,[% END %] |
131 |
] |
132 |
})); |
133 |
|
140 |
|
134 |
[% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]"; |
141 |
[% IF ( query_desc ) %][% IF ( OpacHighlightedWords ) %]var query_desc = "[% query_desc |replace("'", "\'") |replace('\n', '\\n') |replace('\r', '\\r') |html %]"; |
135 |
q_array = query_desc.split(" "); |
142 |
q_array = query_desc.split(" "); |
Lines 248-254
$(function () {
Link Here
|
248 |
} |
255 |
} |
249 |
|
256 |
|
250 |
[% END %] |
257 |
[% END %] |
251 |
}); |
258 |
|
|
|
259 |
$('#filterIssuesFormContainer').hide(); /* Making this element unobtrusive for javascript consumers */ |
260 |
$('#filterIssuesButton').click(function() { |
261 |
$('#filterIssuesFormContainer').toggle(); |
262 |
}); |
263 |
}); |
264 |
// --------------------------- // |
265 |
//<<< Document READY ends here // |
266 |
// --------------------------- // |
252 |
[% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %] |
267 |
[% IF ( IDreamBooksReviews || IDreamBooksReadometer ) %] |
253 |
function parseIDBJSON( json ) { |
268 |
function parseIDBJSON( json ) { |
254 |
if(json.total_results > 0 && json.book.rating > 0){ |
269 |
if(json.total_results > 0 && json.book.rating > 0){ |
Lines 1038-1046
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
1038 |
|
1053 |
|
1039 |
|
1054 |
|
1040 |
<div id="holdings"> |
1055 |
<div id="holdings"> |
|
|
1056 |
|
1057 |
[% IF ( lotsofholdingsitems ) %] |
1058 |
[%# Display the items filtering form used to filter the shown items. See the end of this file! %] |
1059 |
[% INCLUDE filter_form tab="holdings" %] |
1060 |
[% END %] |
1061 |
|
1041 |
[% IF ( itemloop.size ) %] |
1062 |
[% IF ( itemloop.size ) %] |
1042 |
[% IF ( lotsofholdingsitems ) %] |
1063 |
[% IF ( lotsofholdingsitems ) %] |
1043 |
<p>This record has many physical items. <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]&viewallitems=1#holdings">Click here to view them all.</a></p> |
1064 |
<p>This record has many physical items. <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]&viewallitems=1#holdings">Click here to view them all.</a> Or use the filter above to limit your selection</p> |
1044 |
[% ELSE %] |
1065 |
[% ELSE %] |
1045 |
[% INCLUDE items_table items=itemloop tab="holdings" %] |
1066 |
[% INCLUDE items_table items=itemloop tab="holdings" %] |
1046 |
[% END %] |
1067 |
[% END %] |
Lines 1064-1070
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
1064 |
<div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div> |
1085 |
<div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div> |
1065 |
[% END %] |
1086 |
[% END %] |
1066 |
[% ELSE %] |
1087 |
[% ELSE %] |
1067 |
<div id="noitems">No physical items for this record</div> |
1088 |
<h4 id="noitems"> |
|
|
1089 |
No physical items for this record. |
1090 |
[% IF filter %] |
1091 |
<br/> Try clearing the filter. |
1092 |
[% END %] |
1093 |
</h4> |
1068 |
[% END %] |
1094 |
[% END %] |
1069 |
[% END %] |
1095 |
[% END %] |
1070 |
|
1096 |
|
Lines 1604-1606
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
1604 |
[% END %]</tbody> |
1630 |
[% END %]</tbody> |
1605 |
</table> |
1631 |
</table> |
1606 |
[% END %][%# end of items_table block %] |
1632 |
[% END %][%# end of items_table block %] |
|
|
1633 |
|
1634 |
[% BLOCK filter_form %] |
1635 |
[% IF ( notDefined_NumberingFormulaParsingRegexp ) %] |
1636 |
<div class="dialog alert"> |
1637 |
You must define the NumberingFormulaParsingRegexp system preference to filter items by enumeration! |
1638 |
</div> |
1639 |
[% END %] |
1640 |
|
1641 |
<div id="filterIssuesParentContainer"> |
1642 |
<a id="filterIssuesButton" >Limit issues</a> |
1643 |
[% IF filter %] |
1644 |
<form id="issuesFilter" method="get" action="/cgi-bin/koha/opac-detail.pl"> |
1645 |
<input type="hidden" name="biblionumber" id="biblionumber" value="[% biblionumber %]"/> |
1646 |
<input type="submit" name="clearFilter" value="Clear filter" class="submit"/> |
1647 |
</form> |
1648 |
[% END %] |
1649 |
<div id="filterIssuesFormContainer"> |
1650 |
<form id="issuesFilter" method="get" action="/cgi-bin/koha/opac-detail.pl"> |
1651 |
<input type="hidden" name="biblionumber" id="biblionumber" value="[% biblionumber %]"/> |
1652 |
<input type="hidden" name="viewallitems" id="viewallitems" value="1"/> |
1653 |
|
1654 |
<fieldset> |
1655 |
<table> |
1656 |
<tr><td> |
1657 |
<label for="filterBranchLimiter"> |
1658 |
Library: |
1659 |
</label> |
1660 |
</td><td> |
1661 |
<select name="filterBranchLimiter" size="1" id="filterBranchLimiter"> |
1662 |
[%- FOREACH branchloo IN branchloop %] |
1663 |
[% IF ( branchloo.selected ) -%] |
1664 |
<option value="[% branchloo.branchcode %]" selected="selected"> |
1665 |
[%- ELSE -%] |
1666 |
<option value="[% branchloo.branchcode %]"> |
1667 |
[%- END -%] |
1668 |
[% IF ( branchloo.branchcode ) == '_ShowAll' -%] |
1669 |
Show from any library</option> |
1670 |
[%- ELSE -%] |
1671 |
[% branchloo.branchname %]</option> |
1672 |
[%- END -%] |
1673 |
[%- END %] |
1674 |
</select> |
1675 |
</td> |
1676 |
</tr> |
1677 |
[% IF isSerial %] |
1678 |
<tr> |
1679 |
<td> |
1680 |
<label for="filterVolume"> |
1681 |
Issue volume: |
1682 |
</label> |
1683 |
</td><td> |
1684 |
<input type="number" id="filterVolume" name="filterVolume" min="0" max="9999" maxlength="4" value="[% filter.volume %]"> |
1685 |
</td> |
1686 |
</tr><tr> |
1687 |
<td> |
1688 |
<label for="filterNumber"> |
1689 |
Issue number: |
1690 |
</label> |
1691 |
</td><td> |
1692 |
<input type="number" id="filterNumber" name="filterNumber" min="0" max="99" maxlength="2" value="[% filter.number %]"> |
1693 |
</td> |
1694 |
</tr> |
1695 |
[% IF useFilterIssueInput %] |
1696 |
<tr> |
1697 |
<td> |
1698 |
<label for="filterIssue"> |
1699 |
Issue issue: |
1700 |
</label> |
1701 |
</td><td> |
1702 |
<input type="number" id="filterIssue" name="filterIssue" min="0" max="99" maxlength="2" value="[% filter.issue %]"> |
1703 |
</td> |
1704 |
</tr> |
1705 |
[% END %] |
1706 |
[% END %][%# End of IF isSerial %] |
1707 |
<tr> |
1708 |
<td> |
1709 |
<label for="filterFrom"> |
1710 |
From date: |
1711 |
</label> |
1712 |
</td><td> |
1713 |
<input type="text" size="10" id="filterFrom" name="filterFrom" value="[% filter.serialFromDate %]" class="datepicker" /> |
1714 |
</td> |
1715 |
</tr><tr> |
1716 |
<td> |
1717 |
<label for="filterTo"> |
1718 |
To date: |
1719 |
</label> |
1720 |
</td><td> |
1721 |
<input type="text" size="10" id="filterTo" name="filterTo" value="[% filter.serialToDate %]" class="datepicker" /> |
1722 |
</td> |
1723 |
</tr> |
1724 |
</table> |
1725 |
|
1726 |
<input type="submit" name="filterIssues" value="Submit" class="submit"/> |
1727 |
</fieldset> |
1728 |
</form> |
1729 |
</div> |
1730 |
</div> |
1731 |
[% END %][%# end of filter_form block %] |