2 [% USE AdditionalContents %]
3 [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
4 [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Subject cloud › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 [% BLOCK cssinclude %][% END %]
10 [% INCLUDE 'bodytag.inc' bodyid='opac-tags-subject' %]
11 [% INCLUDE 'masthead.inc' %]
14 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
15 <ol class="breadcrumb">
16 <li class="breadcrumb-item">
17 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
19 <li class="breadcrumb-item active">
20 <a href="#" aria-current="page">Subject cloud</a>
23 </nav> <!-- /#breadcrumbs -->
25 <div class="container-fluid">
27 [% IF ( OpacNav || OpacNavBottom ) %]
28 <div class="col-lg-2">
30 [% INCLUDE 'navigation.inc' %]
33 <div class="col-10 order-first order-md-first order-lg-2">
35 <div class="col order-first order-md-first order-lg-2">
38 <div id="subjectcloud" class="maincontent">
39 <h1>Subject cloud</h1>
40 [% IF Koha.Preference( 'OpacCloud' ) == 1 %]
42 <p>This "cloud" shows the most used topics in our catalog. Click on any subject below to see the items in our collection.</p>
45 <form class="form-inline" action="/cgi-bin/koha/opac-tags_subject.pl" method="post">
46 <p>up to <input type="text" name="number" value="[% number | html %]" size="4" maxlength="4" /> subjects <input type="submit" class="btn btn-primary" value="OK" /></p>
50 [% FOREACH LOO IN LOOP %]
51 <a href="/cgi-bin/koha/opac-search.pl?idx=su&q="[% LOO.entry | uri %]"" style="font-size:[% LOO.weight | html %]px;">[% LOO.entry | html %]</a>
54 <p>Note: This feature only available to French catalogs where ISBD subjects have been populated, and an index built by separate script.</p>
57 <div class="alert alert-info">
58 <p>The ISBD cloud is not enabled.</p>
60 [% END # / IF OpacCloud %]
61 </div> <!-- / #subjectcloud -->
63 </div> <!-- / .col-10/12 -->
64 </div> <!-- / .row -->
65 </div> <!-- / .container-fluid -->
66 </div> <!-- / .main -->
68 [% INCLUDE 'opac-bottom.inc' %]
69 [% BLOCK jsinclude %][% END %]