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 <!-- TMPL_IF NAME="recentSearches" -->
30 <!-- TMPL_IF NAME="previousSearches" -->
31 <h2>Current session</h2>
35 <tr><th>Date</th><th>Search</th><th>Results</th></tr>
38 <!-- TMPL_LOOP NAME="recentSearches" -->
40 <td><!-- TMPL_VAR NAME="time" --></td>
41 <td><a href="/cgi-bin/koha/opac-search.pl?<!-- TMPL_VAR NAME="query_cgi" -->"><!-- TMPL_VAR NAME="query_desc" --></a></td>
42 <td><!-- TMPL_VAR NAME="total" --></td>
49 <!-- TMPL_IF NAME="previousSearches" -->
50 <h2>Previous sessions</h2>
53 <tr><th>Date</th><th>Search</th><th>Results</th></tr>
56 <!-- TMPL_LOOP NAME="previousSearches" -->
58 <td><!-- TMPL_VAR NAME="time" --></td>
59 <td><a href="/cgi-bin/koha/opac-search.pl?<!-- TMPL_VAR NAME="query_cgi" -->"><!-- TMPL_VAR NAME="query_desc" --></a></td>
60 <td><!-- TMPL_VAR NAME="total" --></td>
67 <p>Your search history is now empty.</p>
73 <!-- TMPL_IF EXPR="OpacNav||loggedinusername" -->
74 <div class="yui-b"><div class="container">
75 <!--TMPL_INCLUDE NAME="navigation.inc" -->
76 <!--TMPL_INCLUDE NAME="usermenu.inc" -->
80 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->