Koha/koha-tmpl/opac-tmpl/prog/en/modules/opac-browser.tmpl
Galen Charlton ace9aa7248 bug 1448: improve subject classification browser
* turn on warnings
* fix problem where the top level of the classification
  hiearchy wasn't displayed, instead pointing to
  the link to the Wiki page with instructions on
  how to set up the feature.
* fix XHTML validation errors

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-05-15 15:52:28 -05:00

56 lines
2.6 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
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</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">
<!-- TMPL_INCLUDE name="masthead.inc" -->
<div id="yui-main">
<div class="yui-b"><div class="yui-g">
<div class="container">
<h1>Browse our catalogue</h1>
<!-- TMPL_IF name="have_hierarchy" -->
<ul>
<li>
<!-- TMPL_VAR name="description" --> <a href="opac-browser.pl">Top level</a>
</li>
<li style="list-style-type: none;"><ul>
<!-- TMPL_LOOP name="HIERARCHY_LOOP" -->
<li>
<a href="opac-browser.pl?level=<!-- TMPL_VAR name="level"-->&amp;filter=<!-- TMPL_VAR name="classification" ESCAPE="uri" -->"><!-- TMPL_VAR name="description" ESCAPE="html" --></a>
</li>
<li style="list-style-type: none;"><ul>
<!-- /TMPL_LOOP -->
<li style="list-style-type: none;"><table><tr>
<!-- TMPL_LOOP name="LEVEL_LOOP" -->
<td width="33%">
<p>
<!-- TMPL_IF name="endnode" -->
<a href="opac-search.pl?q=Dewey-classification:<!-- TMPL_VAR name="classification" ESCAPE="uri" -->"><!-- TMPL_VAR name="description" ESCAPE="html" --></a>
<!-- TMPL_ELSE -->
<a href="opac-browser.pl?level=<!-- TMPL_VAR name="level"-->&amp;filter=<!-- TMPL_VAR name="classification" ESCAPE="uri" -->"><!-- TMPL_VAR name="description" ESCAPE="html" --></a>
<!-- /TMPL_IF --></p>
<p style="font-size:0.75em"><i>(<!-- TMPL_VAR name="number"--> biblios)</i></p>
</td>
<!-- TMPL_IF name="count3" --></tr><tr><!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
</tr></table></li>
<!-- TMPL_LOOP name="HIERARCHY_LOOP" -->
</ul></li>
<!-- /TMPL_LOOP -->
</ul></li></ul>
<!-- TMPL_ELSE -->
<div class="warning">The browser table is empty. this feature is not fully set-up. See the <a href="http://wiki.koha.org/doku.php?id=opacbrowser">Koha Wiki</a> for more information on what it does and how to configure it.</div>
<!-- /TMPL_IF -->
</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" -->