Koha/koha-tmpl/opac-tmpl/prog/en/modules/opac-ISBDdetail.tmpl
Koustubha Kale dcfeab4eee Adding id tags to some OPAC templates.
Many of the templates in OPAC, which deal with users data eg opac-account.tmpl, opac-passwd.tmpl etc do not have a id for the container div,
like opac-user.tmpl has an id userdetail. Having these id's makes it easier to customize with css.
This patch adds id's to most of the <div class="container"> tags.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-02-09 15:20:45 +13:00

113 lines
4.7 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();
});
YAHOO.util.Event.onContentReady("furtherm", function () {
$("#furtherm").css("display","block").css("visibility","hidden");
$("#furthersearches").parent().show();
var furthersearchesMenu = new YAHOO.widget.Menu("furtherm");
furthersearchesMenu.render();
furthersearchesMenu.cfg.setProperty("context", ["furthersearches", "tr", "br"]);
furthersearchesMenu.subscribe("beforeShow",positionfurthersearchesMenu);
furthersearchesMenu.subscribe("show", furthersearchesMenu.focus);
function positionfurthersearchesMenu() {
furthersearchesMenu.align("tr", "br");
}
YAHOO.util.Event.addListener("furthersearches", "click", furthersearchesMenu.show, null, furthersearchesMenu);
YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionfurthersearchesMenu);
});
//]]>
</script>
</head>
<body id="opac-isbddetail">
<div id="doc3" class="yui-t7">
<div id="bd">
<!--TMPL_INCLUDE NAME="masthead.inc" -->
<div id="yui-main">
<div class="yui-b">
<div id="opac-detail" class="yui-ge">
<div class="yui-u first">
<div id="userisbddetail" class="container">
<div id="catalogue_detail_biblio">
<h1 style="float:left;margin:0 1em 1em 0;">ISBD View</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> <span class="view"><a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">MARC View</a></span> <span class="view"><span id="ISBDview">ISBD View</span></span></div>
<div id="isbdcontents"><!-- TMPL_VAR name="ISBD" --></div>
</div>
</div>
</div>
<div class="yui-u">
<div id="ulactioncontainer" class="container">
<ul id="action">
<!-- TMPL_UNLESS NAME="norequests" -->
<!-- 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 -->
<li><a class="print" href="javascript:window.print();">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 -->
<li style="display:none;"><a href="#" id="furthersearches">More searches</a></li>
</ul>
<!-- TMPL_IF name="OPACSearchForTitleIn" -->
<div id="furtherm" class="yuimenu">
<div class="bd">
<h4>Search for this title in:</h4>
<ul class="first-of-type">
<!-- TMPL_VAR NAME="OPACSearchForTitleIn" -->
</ul>
</div>
</div>
<!-- /TMPL_IF -->
<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="bibtex">BibTex</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>
<option value="mods">MODS (XML)</option>
<option value="ris">RIS</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_INCLUDE NAME="opac-bottom.inc" -->