3 [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Tags
4 [% INCLUDE 'doc-head-close.inc' %]
5 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
6 <style type="text/css">
7 fieldset { padding : .3em;margin:.3em 0;}
8 #tagcloud {background-color: #F3F3F3; text-align: justify;padding:7px;}
9 .tag a {text-decoration: none;}
10 .tag a:hover {text-decoration: underline;}
11 .tag {display: block; padding-left: 1em;}
12 .tagcount {display: none;}
13 .cloudweight {display: none;}
22 <script type="text/javascript">
24 $("#mytagst").tablesorter({[% IF ( dateformat == 'metric' ) %]
25 dateFormat: 'uk',[% END %]
27 headers: { 3: { sorter: false }},
33 [% IF ( loggedinusername ) %]<body id="opac-usertags">[% ELSE %]<body id="opac-tags">[% END %]
34 [% IF ( OpacNav||loggedinusername ) %]<div id="doc3" class="yui-t1">[% ELSE %]<div id="doc3" class="yui-t7">[% END %]
36 [% INCLUDE 'masthead.inc' %]
39 <div class="yui-b"><div class="yui-g">
40 <div id="usertags" class="container">
42 [% FOREACH ERROR IN ERRORS %]
43 <div class="dialog alert">There was a problem with this operation:
44 [% IF ( ERROR.tagsdisabled ) %]Sorry, tags are not enabled on this system.
45 [% ELSIF ( ERROR.badparam ) %]ERROR: illegal parameter [% ERROR.badparam %]
46 [% ELSIF ( ERROR.login ) %]ERROR: You must log in to complete that action.
47 [% ELSIF ( ERROR.failed_delete ) %]ERROR: You cannot delete the tag [% ERROR.failed_delete %].
48 <br />Note: you can only delete your own tags.
49 [% ELSIF ( ERROR.scrubbed ) %]Note: your tag contained markup code that was removed.
50 <br />The tag was added as "[% ERROR.scrubbed %]".
51 [% ELSIF ( ERROR.scrubbed_all_bad ) %]Note: your tag was entirely markup code. It was NOT added.
52 <br />Please try again with plain text.
53 [% ELSE %]Unrecognized error.
60 <form method="get" action="opac-tags.pl">
61 <fieldset>Show up to <input type="text" name="limit" style="text-align: right;" maxlength="4" size="4" value="[% limit or "100" %]" />
62 tags[% IF ( opacuserlogin ) %] from other users[% END %].
63 <input type="submit" value="OK" />
64 [% IF ( opacuserlogin ) %][% UNLESS ( loggedinusername ) %]
65 <a href="/cgi-bin/koha/opac-user.pl">Log in</a> to see your own saved tags.
66 [% END %][% END %]</fieldset>
71 [% FOREACH TAGLOO IN TAGLOOP %]
72 <span class="tag tagweight[% TAGLOO.stratum %]" id="tag[% loop.count %]" style="display:inline;">
73 <a href="/cgi-bin/koha/opac-search.pl?tag=[% TAGLOO.term |url %]&q=[% TAGLOO.term |url %]">
74 [% TAGLOO.term |html %]</a>
75 <span class="tagweight">[% TAGLOO.weight_total %]</span>
81 [% IF ( added_count ) %]
82 <div class="dialog message">[% added_count %] [% IF ( added_count ==1 ) %] tag[% ELSE %]tags[% END %] successfully added.</div>
84 [% IF ( deleted_count ) %]
85 <div class="dialog message">[% deleted_count %][% IF ( deleted_count ==1 ) %] tag[% ELSE %]tags[% END %] successfully deleted.</div>
90 <form method="post" action="opac-tags.pl">
93 <thead><tr><th>Term</th><th>Title</th><th>Date added</th><th>Delete</th>
95 <tbody>[% FOREACH MY_TAG IN MY_TAGS %]
96 <tr><td class="tagterm"><a href="/cgi-bin/koha/opac-search.pl?tag=[% MY_TAG.term |url %]&q=[% MY_TAG.term |url %]">
97 [% MY_TAG.term |html %]</a>
99 <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% MY_TAG.biblionumber %]">
100 [% MY_TAG.bib_summary |html %]</a></td>
101 <td>[% MY_TAG.date_created | $KohaDates %]</td>
102 <td><input type="submit" name="del[% MY_TAG.tag_id %]" value="Delete" /></td>
113 [% IF ( OpacNav||loggedinusername ) %]
114 <div class="yui-b"><div id="leftmenus" class="container">
115 [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
119 [% INCLUDE 'opac-bottom.inc' %]