Koha/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tmpl

87 lines
No EOL
3.1 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Advanced Search
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_IF Name="displayhierarchy"-->
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/includes/hierarchy.css">
<script language="JavaScript" 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";
}
}
}
</script>
<!--/TMPL_IF-->
</head>
<body>
<!-- TMPL_INCLUDE name="masthead.inc" -->
<div id="doc3" class="yui-t1">
<div id="bd">
<div id="yui-main">
<div class="yui-b"><div class="yui-g">
<!-- 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="current_value" -->
<!--TMPL_VAR Name="value" -->
<!-- TMPL_ELSE -->
<a href="opac-authoritiesdetail.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="opac-authoritiesdetail.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 -->
<div class="tabbed">
<h1>Authority #<!-- TMPL_VAR NAME="authid" --> (<!-- TMPL_VAR name="authtypetext" -->)</h1>
<a href="opac-search.pl?type=opac&amp;q=<!-- TMPL_VAR NAME="authid" -->&amp;idx=an"><!-- TMPL_VAR name="count" --> biblios</a>
</div>
<table border="0"><!-- TMPL_LOOP name="0XX" -->
<tr noborder ><td colspan="3" class="marctag"><b><!-- TMPL_VAR name="tag" --></b></td></tr>
<!-- TMPL_LOOP name="subfield" -->
<tr><td class="marcsubfieldletter" ><!-- TMPL_VAR name="marc_subfield" --></td>
<td class="marcsubfieldname" ><!-- TMPL_VAR name="marc_lib" --></td>
<td class="subfieldvalue" ><!-- TMPL_VAR name="marc_value" --></td>
</tr>
<!-- /TMPL_LOOP -->
<!-- /TMPL_LOOP -->
</table>
</div>
</div>
</div>
</div>
<div class="yui-b">
<!--TMPL_INCLUDE NAME="navigation.inc" -->
<!-- TMPL_INCLUDE name="usermenu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->