Koha/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tmpl
Owen Leonard eb09aac059 Authorities detail page was missing toolbar, breadcrumbs.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-05-27 06:42:53 -05:00

158 lines
6.1 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Authorities &rsaquo; Details for Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
$('#authoritiestabs>ul').tabs();
});
function confirm_deletion() {
var is_confirmed = confirm('Are you sure you want to delete this authority?');
if (is_confirmed) {
window.location="authorities-home.pl?op=delete&amp;authid=<!-- TMPL_VAR NAME="authid" -->";
}
}
function Dopop(link) {
newin=window.open(link,'width=500,height=400,toolbar=false,scrollbars=yes');
}
</script>
<!-- TMPL_IF Name="displayhierarchy"-->
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/css/hierarchy.css" />
<script type="text/javascript">
function showParents(mynumber) {
var parents=document.getElementsByName(mynumber+'p')
for(i=0;i<parents.length;i++){
if (parents[i].style.display == "none") {
parents[i].style.display ="block";
} else {
parents[i].style.display ="none";
}
}
}
function showChildren(mynumber) {
var children=document.getElementsByName(mynumber+'c')
for(i=0;i<children.length;i++){
if (children[i].style.display == "none") {
children[i].style.display = "block";
} else {
children[i].style.display = "none";
}
}
}
function Help() {
newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
}
function addauthority() {
X = document.forms[0].authtype.value;
window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X;
}
function searchauthority() {
X = document.forms[0].authtype2.value;
Y = document.forms[0].value.value;
window.location="/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&authtypecode="+X+"&value="+Y+"&marclist=&and_or=and&excluding=&operator=contains";
}
</script>
<!--/TMPL_IF -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="authorities-search.inc" -->
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> &rsaquo; Details for Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->) </div>
<div id="doc" class="yui-t7">
<div id="bd">
<div id="yui-main">
<div class="yui-g">
<!-- TMPL_INCLUDE NAME="authorities-toolbar.inc" -->
<!-- TMPL_IF Name="displayhierarchy"-->
<div class="hierarchies">
<!--TMPL_LOOP Name="loophierarchies" -->
<div class="hierarchy">
<!--TMPL_LOOP Name="loopelement" -->
<div id="<!--TMPL_VAR Name="loopauthid" -->" class="<!--TMPL_VAR Name="class" -->">
<!--TMPL_IF Name="ifparents" -->
<!--TMPL_LOOP Name="loopparents" -->
<div name="<!--TMPL_VAR Name="loopauthid" -->p" class="parent"> <a href="detail.pl?authid=<!--TMPL_VAR Name="parentauthid" -->"><!--TMPL_VAR Name="parentvalue" --></a></div>
<!--/TMPL_LOOP-->
<!--/TMPL_IF -->
<!-- TMPL_IF name="current_value" -->
<!--TMPL_VAR Name="value" -->
<!-- TMPL_ELSE -->
<a href="detail.pl?authid=<!--TMPL_VAR Name="loopauthid" -->" title="Term"><!--TMPL_VAR Name="value" --></a>
<!-- /TMPL_IF -->
<!--TMPL_IF Name="ifchildren" -->
<sub><a class="parents" title="Narrower terms" href="JavaScript:showChildren('<!--TMPL_VAR Name="loopauthid" -->');">+</a></sub><br />
<!--TMPL_LOOP Name="loopchildren" -->
<div name="<!--TMPL_VAR Name="loopauthid" -->c" class="child"> <a href="detail.pl?authid=<!--TMPL_VAR Name="childauthid" -->"><!--TMPL_VAR Name="childvalue" --></a></div>
<!--/TMPL_LOOP-->
<!-- /TMPL_IF -->
</div>
<!--/TMPL_LOOP-->
</div>
<!--/TMPL_LOOP-->
</div>
<!-- /TMPL_IF -->
<h1>Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
<div id="action">
Used in <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&amp;op=do_search&amp;q=an=<!--TMPL_VAR Name="authid" -->"><!-- TMPL_VAR name="count" --> record(s)</a>
</div>
<div id="authoritiestabs" class="toptabs numbered">
<ul>
<!-- TMPL_LOOP name="BIG_LOOP" -->
<li>
<a href="/cgi-bin/koha/cataloguing/addbiblio.pl#tab<!-- TMPL_VAR name="number" -->XX"><!-- TMPL_VAR name="number"--></a>
</li>
<!-- /TMPL_LOOP -->
</ul>
<!-- TMPL_LOOP name="BIG_LOOP" -->
<div id="tab<!-- TMPL_VAR name="number" -->XX">
<!-- TMPL_LOOP NAME="innerloop" -->
<!-- TMPL_IF name="tag" -->
<div class="tag">
<div class="tag_title">
<!-- TMPL_VAR NAME="tag" -->
</div>
<!-- TMPL_ELSE -->
<div class="tag">
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="subfield" -->
<p>
<label class="labelsubfield">&nbsp;
<!-- TMPL_UNLESS name="hide_marc" --><b><!-- TMPL_VAR NAME="marc_subfield" --></b><!-- /TMPL_UNLESS -->
<span title="<!-- TMPL_VAR name="long_desc" -->"><!-- TMPL_VAR NAME="short_desc" --></span></label>
<!-- TMPL_VAR NAME="marc_value" -->
<!-- TMPL_IF name="link" -->
<a href="/cgi-bin/koha/catalogue/search.pl?op=do_search&amp;marclist=<!-- TMPL_VAR NAME="link" -->&amp;operator==&amp;type=intranet&amp;value=<!-- TMPL_VAR NAME="marc_value" ESCAPE="URL" -->">
<img border="0" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/filefind.png" height="15" title="Search on <!-- TMPL_VAR name="marc_value" -->">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="authority" -->
<a href="/cgi-bin/koha/authorities/detail.pl?authid=<!-- TMPL_VAR name="authority" -->" class="button">Auth</a>
<!-- /TMPL_IF -->
</p>
<!-- /TMPL_LOOP -->
</div>
<!-- /TMPL_LOOP -->
</div>
<!-- /TMPL_LOOP -->
</div>
</div>
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->