Koha/koha-tmpl/opac-tmpl/prog/en/modules/opac-authoritiesdetail.tmpl
Paul Poulain a898b69dcc Bug 5930 : improving/modifying authority display on OPAC
- changing some terms that are unclear for a patron
- removing tag & subfields values & indicators
- removing UNIMARC coded fields
- changing the search page (removing options useless for a patron)

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-03-27 20:54:10 +13:00

85 lines
3 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; Entry
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_IF Name="displayhierarchy"-->
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/css/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 id="opac-authoritiesdetail">
<div id="doc3" class="yui-t1">
<div id="bd">
<!-- TMPL_INCLUDE name="masthead.inc" -->
<div id="yui-main">
<div class="yui-b"><div class="yui-g">
<div id="userauthdetails" class="container">
<!-- 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 -->
<h1>Entry <!-- TMPL_VAR name="authtypetext" --></h1>
<p>Used in <a href="opac-search.pl?type=opac&amp;q=<!-- TMPL_VAR NAME="authid" -->&amp;idx=an"><!-- TMPL_VAR name="count" --> records</a></p>
<!-- TMPL_LOOP name="0XX" -->
<p><b><!-- TMPL_VAR name="tag" --></b></p>
<ul>
<!-- TMPL_LOOP name="subfield" -->
<p><b><!-- TMPL_VAR name="marc_lib" -->:</b> <!-- TMPL_VAR name="marc_value" --></p>
<!-- /TMPL_LOOP -->
</ul>
<!-- /TMPL_LOOP -->
</div>
</div>
</div>
</div>
<!-- TMPL_IF NAME="OpacNav" -->
<div class="yui-b">
<div id="leftmenus" class="container">
<!--TMPL_INCLUDE NAME="navigation.inc" -->
</div>
</div><!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->