Finishing adding additional markup for increased flexibility in stylesheet customizat...
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-tags.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo; Tags
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 </head>
4 <body>
5 <!-- TMPL_INCLUDE NAME="masthead.inc" -->
6
7 <div id="doc3" class="yui-t1">
8 <div id="bd">
9 <div id="yui-main">
10   <div class="yui-b"><div class="yui-g">
11         <div class="container">
12         <!-- TMPL_IF NAME="ERRORS" -->
13         <!-- TMPL_LOOP NAME="ERRORS" -->
14                 <div class="error">There was a problem with this operation:
15                 <!-- TMPL_IF NAME="tagsdisabled" -->Sorry, tags are not enabled on this system.<!-- /TMPL_IF -->
16                 <!-- TMPL_IF NAME="badparam" -->ERROR: illegal paramter <!-- TMPL_VAR NAME="badparam" --><!-- /TMPL_IF -->
17                 </div>
18         <!-- /TMPL_LOOP -->
19         <!-- /TMPL_IF -->
20
21         <!-- TMPL_IF NAME="add_op" -->
22                 <h3><!-- TMPL_VAR NAME="added_count" --> tags successfully added.</h3>
23         <!-- /TMPL_IF -->
24         <!-- TMPL_IF NAME="deleted_count" -->
25                 <h3><!-- TMPL_VAR NAME="deleted_count" --> tags successfully deleted.</h3>
26         <!-- /TMPL_IF -->
27
28         <!-- TMPL_IF NAME="MY_TAGS" -->
29                 <form method="post" action="opac-tags.pl">
30                 <h2>My Tags</h2>
31                 <table>
32                 <tr><th>Term</th><th>Title</th><th>Date/Time Added</th><th>Delete</th>
33                 </tr>
34         <!-- TMPL_LOOP NAME="MY_TAGS" -->
35                 <tr><td><a href="/cgi-bin/koha/opac-search.pl?tag=<!-- TMPL_VAR NAME="term" ESCAPE="URL" -->&amp;q=<!-- TMPL_VAR NAME="term" ESCAPE="URL" -->">
36                                 <!-- TMPL_VAR NAME="term" ESCAPE="HTML" --></a>
37                         </td>
38                         <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
39                                 <!-- TMPL_VAR NAME="bib_summary" ESCAPE="HTML" --></a></td>
40                         <td><!-- TMPL_VAR NAME="date_created_display" -->
41                                 <span class="time" style="background-color:lightgray;"><!-- TMPL_VAR NAME="time_created_display" --></span></td>
42                         <td><input type="submit" name="del<!-- TMPL_VAR NAME="tag_id" -->" value="Delete" /></td>
43                 </tr>
44         <!-- /TMPL_LOOP -->
45                 </table>
46                 </form>
47         <!-- TMPL_ELSE -->
48                 <div class="msg">To see any of your own saved tags, first log in.</div>
49         <!-- /TMPL_IF -->
50
51         <h1>All Tags</h1>
52         <div id="action">
53                 <form method="post" action="opac-tags.pl">
54                 <p>Show up to <input name="limit" maxlength="4" size="4" value="100" />
55                         tags from other users.
56                         <input type="submit" value="OK" />
57                 </p>
58                 </form>
59         </div>
60         <!-- TMPL_IF NAME="TAGLOOP" --> Results:<ul>
61         <!-- TMPL_LOOP NAME="TAGLOOP" -->
62         <li><a href="/cgi-bin/koha/opac-search.pl?tag=<!-- TMPL_VAR NAME="term" ESCAPE="URL" -->&amp;q=<!-- TMPL_VAR NAME="term" ESCAPE="URL" -->">
63                 <!-- TMPL_VAR NAME="term" ESCAPE="HTML" --></a> (<!-- TMPL_VAR NAME="weight_total" -->)</li>
64         <!-- /TMPL_LOOP -->
65         </ul>
66         <!-- /TMPL_IF -->
67 </div>
68 </div>
69 </div>
70 </div>
71 <div class="yui-b">
72 <div class="container">
73 <!--TMPL_INCLUDE NAME="navigation.inc" -->
74 <!-- TMPL_INCLUDE name="usermenu.inc" -->
75 </div>
76 </div>
77 </div>
78 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->