1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5 <script type="text/JavaScript" language="JavaScript">
7 $(document).ready(function() {
8 // We show table ordered by descending dates by default
9 // (so that the more recent query is shown first)
10 $.tablesorter.defaults.sortList = [[0,1]];
11 $("#historyt").tablesorter({<!-- TMPL_IF EXPR="dateformat eq 'metric'" -->
12 dateFormat: 'uk'<!-- /TMPL_IF -->
20 <!-- TMPL_IF NAME="OpacNav" --><div id="doc3" class="yui-t1"><!-- TMPL_ELSE --><div id="doc3" class="yui-t7"><!-- /TMPL_IF -->
22 <!--TMPL_INCLUDE NAME="masthead.inc" -->
25 <div class="yui-b"><div class="yui-g">
26 <div class="container">
27 <h1>Search history</h1>
28 <!-- TMPL_IF EXPR="recentSearches || previousSearches" -->
29 <a href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="javascript:return confirm(_('Are you sure you want to delete your search history?'));">Delete your search history</a>
30 <!-- TMPL_IF NAME="recentSearches" -->
31 <!-- TMPL_IF NAME="previousSearches" -->
32 <h2>Current session</h2>
36 <tr><th>Date</th><th>Search</th><th>Results</th></tr>
39 <!-- TMPL_LOOP NAME="recentSearches" -->
41 <td><!-- TMPL_VAR NAME="time" --></td>
42 <td><a href="/cgi-bin/koha/opac-search.pl?<!-- TMPL_VAR NAME="query_cgi" -->"><!-- TMPL_VAR NAME="query_desc" --></a></td>
43 <td><!-- TMPL_VAR NAME="total" --></td>
50 <!-- TMPL_IF NAME="previousSearches" -->
51 <h2>Previous sessions</h2>
54 <tr><th>Date</th><th>Search</th><th>Results</th></tr>
57 <!-- TMPL_LOOP NAME="previousSearches" -->
59 <td><!-- TMPL_VAR NAME="time" --></td>
60 <td><a href="/cgi-bin/koha/opac-search.pl?<!-- TMPL_VAR NAME="query_cgi" -->"><!-- TMPL_VAR NAME="query_desc" --></a></td>
61 <td><!-- TMPL_VAR NAME="total" --></td>
68 <p>Your search history is now empty.</p>
74 <!-- TMPL_IF EXPR="OpacNav||loggedinusername" -->
75 <div class="yui-b"><div class="container">
76 <!--TMPL_INCLUDE NAME="navigation.inc" -->
77 <!--TMPL_INCLUDE NAME="usermenu.inc" -->
81 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->