Koha/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl
Kyle M Hall 207fb1c02a Bugfix 2339 - Place hold button display with AllowOnShelfHolds OFF (Part 2)
Added code to opac-ISBDdetail.pl to match the changes made to the template file.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-07-30 11:37:04 -04:00

215 lines
9.8 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo; ISBD View
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<script type="text/JavaScript" language="JavaScript">
//<![CDATA[
$(document).ready(function() {
$('#bibliodescriptions > ul').tabs();
});
//]]>
</script>
<!-- TMPL_IF NAME="XSLTDetailsDisplay" --><script type="text/javascript">
var GB_ROOT_DIR = "/intranet-tmpl/prog/en/lib/greybox/";
</script>
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/greybox/AJS.js"></script>
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/greybox/AJS_fx.js"></script>
<script type="text/javascript" src="/intranet-tmpl/prog/en/lib/greybox/gb_scripts.js"></script>
<link href="/intranet-tmpl/prog/en/lib/greybox/gb_styles.css" rel="stylesheet" type="text/css" />
<!-- /TMPL_IF -->
</head>
<body>
<!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
<div id="bd" class="columnfix">
<!-- TMPL_INCLUDE name="masthead.inc" -->
<div id="yui-main">
<div class="yui-b">
<div class="yui-ge">
<div class="yui-u first">
<div class="container">
<h1 style="float:left;margin:0 1em 1em 0;">ISBD</h1> <div id="views">
<span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->">Normal View</a></span> <!-- TMPL_IF NAME="XSLTDetailsDisplay" -->
<span class="view"><a id="MARCviewPop" href="/cgi-bin/koha/opac-showmarc.pl?id=<!-- TMPL_VAR NAME="biblionumber" -->" title="MARC" rel="gb_page_center[600,500]">MARC View</a></span>
<span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->">Expanded MARC View</a></span>
<!-- TMPL_ELSE -->
<span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">MARC View</a></span>
<!-- /TMPL_IF --> <span class="view"><span id="ISBDview">ISBD View</span></span>
</div>
<div id="isbdcontents"><!-- TMPL_VAR name="ISBD" --></div>
<div id="bibliodescriptions" class="toptabs">
<ul>
<!-- TMPL_IF name="subscriptionsnumber" --><li>
<a href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#opac-isbd-subscriptions">Subscriptions</a>
</li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="reviewson" --><li><a href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#comments">Comments</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="OPACAmazonEnabled" --><li><a href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->#opac-isbd-amazonreviews">Amazon Reviews</a></li><!-- /TMPL_IF -->
</ul>
<div id="opac-isbd-subscriptions"> <!-- TMPL_IF name="subscriptionsnumber" -->
<h2>
We have <!-- TMPL_VAR name="subscriptionsnumber" --> subscription(s) associated with this title.
</h2>
<!-- TMPL_LOOP Name="subscriptions" -->
<h3>At library: <!-- TMPL_VAR name="branchcode" --> <!-- TMPL_VAR name="notes" --></h3>
<p>Below is a list of the <!-- TMPL_VAR NAME="opacdisplaycount" --> latest issues :</p>
<!-- TMPL_IF name="subscriptionnotes"-->
<p><!--TMPL_VAR Name="subscriptionnotes"--> </p>
<!-- /TMPL_IF -->
<!--TMPL_IF Name="latestserials"-->
<table>
<tr><th>Issue number</th><th>Date</th><th>Status</th></tr>
<!--TMPL_LOOP Name="latestserials"-->
<tr>
<td> <!--TMPL_VAR Name="serialseq"-->
</td>
<td> <!--TMPL_VAR Name="planneddate"-->
</td>
<td> <!--TMPL_IF Name="status1"-->Pending
<!--TMPL_ELSE -->
<!-- TMPL_IF Name="status2"-->Arrived
<!--TMPL_ELSE -->
<!-- TMPL_IF Name="status3"-->Late
<!--TMPL_ELSE -->
<!-- TMPL_IF Name="status4"-->Missing
<!--TMPL_ELSE -->
<!-- TMPL_IF Name="status5"-->Not Issued
<!--/TMPL_IF-->
<!--/TMPL_IF-->
<!--/TMPL_IF-->
<!--/TMPL_IF-->
<!--/TMPL_IF-->
</td>
</tr>
<!--/TMPL_LOOP -->
</table>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<p><a href="/cgi-bin/koha/opac-serial-issues.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" title="Serial issues">Click here</a> for more information on subscription(s) history</p>
<!-- /TMPL_IF --></div>
<!-- TMPL_IF NAME="reviewson" -->
<div id="comments">
<!-- TMPL_IF NAME="reviews" -->
<!--TMPL_LOOP NAME="reviews"-->
<h5>
Comment by
<!--TMPL_VAR NAME="title"-->
<!--TMPL_VAR NAME="firstname"-->
<!--TMPL_VAR NAME="surname"-->
</h5>
<small>
<!--TMPL_VAR NAME="datereviewed"-->
</small>
<p>
<!--TMPL_VAR NAME="review" ESCAPE="HTML"-->
</p>
<!--/TMPL_LOOP-->
<!-- TMPL_ELSE -->
<p>There are no comments for this item.</p>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="loggedinusername" -->
<p> <a href="javascript:Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber"-->');">
Post or edit your comments on this item.
</a></p>
<!-- TMPL_ELSE -->
<p><a href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to post a comment.</p>
<!-- /TMPL_IF -->
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="OPACAmazonEnabled" -->
<!-- Amazon Reviews -->
<div id="opac-isbd-amazonreviews">
<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
<!-- TMPL_IF NAME="normalized_isbn" -->
<h4><a href="http://www.amazon.com/gp/customer-reviews/write-a-review.html/002-2970817-7876066?%5Fencoding=UTF8&asin=<!-- TMPL_VAR NAME="normalized_isbn" -->&amp;store=books">Add your own review</a></h4>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP --><br/>
<!-- TMPL_IF NAME="rating" -->
<h4>Rating (from Amazon.com):</h4>
<div id="starMT"><div id="starFull" style="width:<!-- TMPL_VAR NAME="rating" -->px"></div></div>
<!-- TMPL_LOOP NAME="AMAZONREVIEWS" -->
<div class="content_set">
<!-- TMPL_IF NAME="summary" -->
<h4 class="underline"> <!-- TMPL_VAR NAME="summary" --></h4>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="comment" -->
<p><!-- TMPL_VAR NAME="comment" -->
</p><!-- /TMPL_IF -->
</div>
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
<p> Sorry, there are no reviews available for this title. </p>
<!-- /TMPL_IF -->
</div> <!-- itemReviews -->
<!-- /TMPL_IF-->
</div>
</div>
</div>
<div class="yui-u">
<div class="container">
<ul id="action">
<!-- TMPL_UNLESS NAME="norequests" -->
<!-- TMPL_UNLESS name="bi_notforloan" -->
<!-- TMPL_IF NAME="opacuserlogin" -->
<!-- TMPL_IF NAME="RequestOnOpac" -->
<!-- TMPL_IF NAME="AllowOnShelfHolds" -->
<li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Place Hold</a></li>
<!-- TMPL_ELSE -->
<!-- TMPL_IF NAME="ItemsIssued" -->
<li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Place Hold</a></li>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- /TMPL_UNLESS -->
<!-- /TMPL_UNLESS -->
<li><a class="print" href="/cgi-bin/koha/opac-detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
Print
</a></li>
<!-- TMPL_IF name="virtualshelves" -->
<!-- TMPL_IF NAME="opacuserlogin" --> <!-- TMPL_IF NAME="loggedinusername" -->
<li><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
Save to Your Lists
</a></li>
<!-- /TMPL_IF --><!-- /TMPL_IF -->
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="opacbookbag" --><li><a class="addtocart" href="#" onclick="addRecord('<!-- TMPL_VAR NAME="biblionumber" -->'); return false;">
Add to Your Cart
</a></li><!-- /TMPL_IF -->
</ul>
<div id="export">
<form method="get" action="/cgi-bin/koha/opac-export.pl">
<label for="format">Save Record:</label>
<select name="format" id="format">
<option value="">-- Choose Format --</option>
<option value="mods">MODS (XML)</option>
<option value="dc">Dublin Core (XML)</option>
<option value="marcxml">MARCXML</option>
<option value="marc8">MARC (non-Unicode/MARC-8)</option>
<option value="utf8">MARC (Unicode/UTF-8)</option> </select><input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
<input type="submit" name="save" value="Go" /></form></div>
</div>
</div>
</div>
</div>
</div><!-- TMPL_IF NAME="OpacNav" -->
<div class="yui-b">
<div class="container">
<!--TMPL_INCLUDE NAME="navigation.inc" -->
</div>
</div><!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->