Bug 10552: make several sysprefs available to the OPAC login page
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-browser.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog ›  ISBD
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5 <body id="opac-browser">
6         [% IF ( OpacNav ) %]<div id="doc3" class="yui-t1">[% ELSE %]<div id="doc3" class="yui-t7">[% END %]
7    <div id="bd">
8 [% INCLUDE 'masthead.inc' %]
9
10         <div id="yui-main">
11         <div class="yui-b"><div class="yui-g">
12 <div id="userbrowser" class="container">
13     <h1>Browse our catalogue</h1>
14         [% IF ( have_hierarchy ) %]
15         <ul>
16         <li>
17             [% description %] <a href="opac-browser.pl">Top level</a>
18         </li>
19         <li style="list-style-type: none;"><ul>
20         [% FOREACH HIERARCHY_LOO IN HIERARCHY_LOOP %]
21                 <li>
22                     <a href="opac-browser.pl?level=[% HIERARCHY_LOO.level %]&amp;filter=[% HIERARCHY_LOO.classification |uri %]">[% HIERARCHY_LOO.description |html %]</a>
23                 </li>
24             <li  style="list-style-type: none;"><ul>
25         [% END %]
26         <li style="list-style-type: none;"><table><tr>
27         [% FOREACH LEVEL_LOO IN LEVEL_LOOP %]
28                 <td width="33%">
29                 <p>
30                 [% IF ( LEVEL_LOO.endnode ) %]
31                     <a href="opac-search.pl?q=Dewey-classification:[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description |html %]</a>
32                 [% ELSE %]
33                     <a href="opac-browser.pl?level=[% LEVEL_LOO.level %]&amp;filter=[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description |html %]</a>
34                 [% END %]</p>
35                 <p style="font-size:0.75em"><i>([% LEVEL_LOO.number %] biblios)</i></p>
36                 </td>
37                 [% IF ( LEVEL_LOO.count3 ) %]</tr><tr>[% END %]
38         [% END %]
39         </tr></table></li>
40         [% FOREACH HIERARCHY_LOO IN HIERARCHY_LOOP %]
41             </ul></li>
42         [% END %]
43         </ul></li></ul>
44         [% ELSE %]
45             <div class="warning">The browser table is empty. this feature is not fully set-up. See the <a href="http://wiki.koha-community.org/wiki/Opac_browse_feature">Koha Wiki</a> for more information on what it does and how to configure it.</div>
46         [% END %]
47 </div></div>
48 </div>
49 </div>
50 [% IF ( OpacNav ) %]
51 <div class="yui-b">
52 <div id="leftmenus" class="container">
53 [% INCLUDE 'navigation.inc' %]
54 </div>
55 </div>[% END %]
56 </div>
57 [% INCLUDE 'opac-bottom.inc' %]