Lines 1-12
Link Here
|
1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
2 |
[% USE KohaDates %] |
2 |
[% USE KohaDates %] |
3 |
<title>Koha › Catalog › History search</title> |
3 |
<title>Koha › Catalog › Search history</title> |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
5 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
6 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
6 |
[% INCLUDE 'datatables.inc' %] |
7 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script> |
7 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script> |
8 |
[% INCLUDE 'datatables-strings.inc' %] |
|
|
9 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
10 |
<script type="text/javascript"> |
8 |
<script type="text/javascript"> |
11 |
//<![CDATA[ |
9 |
//<![CDATA[ |
12 |
var MSG_CONFIRM_DELETE_HISTORY = _("Are you sure you want to delete your search history?"); |
10 |
var MSG_CONFIRM_DELETE_HISTORY = _("Are you sure you want to delete your search history?"); |
Lines 34-40
$(document).ready(function() {
Link Here
|
34 |
[% INCLUDE 'cat-search.inc' %] |
32 |
[% INCLUDE 'cat-search.inc' %] |
35 |
|
33 |
|
36 |
<div id="breadcrumbs"> |
34 |
<div id="breadcrumbs"> |
37 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › History search |
35 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Search history |
38 |
</div> |
36 |
</div> |
39 |
|
37 |
|
40 |
<div id="doc3" class="yui-t2"> |
38 |
<div id="doc3" class="yui-t2"> |
Lines 45-51
$(document).ready(function() {
Link Here
|
45 |
<h1>Search history</h1> |
43 |
<h1>Search history</h1> |
46 |
<div id="tabs" class="toptabs"> |
44 |
<div id="tabs" class="toptabs"> |
47 |
<ul> |
45 |
<ul> |
48 |
<li><a href="#biblio_tab">Biblio</a></li> |
46 |
<li><a href="#biblio_tab">Catalog</a></li> |
49 |
<li><a href="#authority_tab">Authority</a></li> |
47 |
<li><a href="#authority_tab">Authority</a></li> |
50 |
</ul> |
48 |
</ul> |
51 |
<div id="biblio_tab"> |
49 |
<div id="biblio_tab"> |
Lines 55-61
$(document).ready(function() {
Link Here
|
55 |
<input type="hidden" name="action" value="delete" /> |
53 |
<input type="hidden" name="action" value="delete" /> |
56 |
<input type="hidden" name="previous" value="0" /> |
54 |
<input type="hidden" name="previous" value="0" /> |
57 |
<input type="hidden" name="type" value="biblio" /> |
55 |
<input type="hidden" name="type" value="biblio" /> |
58 |
<input type="submit" class="deleteshelf" value="Delete your current biblio history" onclick="return confirm(MSG_CONFIRM_DELETE_HISTORY);" /> |
56 |
<input type="submit" class="deleteshelf" value="Delete your current catalog history" onclick="return confirm(MSG_CONFIRM_DELETE_HISTORY);" /> |
59 |
</form> |
57 |
</form> |
60 |
<table class="historyt"> |
58 |
<table class="historyt"> |
61 |
<thead> |
59 |
<thead> |
Lines 83-89
$(document).ready(function() {
Link Here
|
83 |
<input type="hidden" name="action" value="delete" /> |
81 |
<input type="hidden" name="action" value="delete" /> |
84 |
<input type="hidden" name="previous" value="1" /> |
82 |
<input type="hidden" name="previous" value="1" /> |
85 |
<input type="hidden" name="type" value="biblio" /> |
83 |
<input type="hidden" name="type" value="biblio" /> |
86 |
<input type="submit" class="deleteshelf" value="Delete your previous biblio search history" onclick="return confirm(MSG_CONFIRM_DELETE_HISTORY);" /> |
84 |
<input type="submit" class="deleteshelf" value="Delete your previous catalog search history" onclick="return confirm(MSG_CONFIRM_DELETE_HISTORY);" /> |
87 |
</form> |
85 |
</form> |
88 |
<table class="historyt"> |
86 |
<table class="historyt"> |
89 |
<thead> |
87 |
<thead> |
Lines 106-112
$(document).ready(function() {
Link Here
|
106 |
[% END %] |
104 |
[% END %] |
107 |
|
105 |
|
108 |
[% IF !current_biblio_searches && !previous_biblio_searches %] |
106 |
[% IF !current_biblio_searches && !previous_biblio_searches %] |
109 |
<p>Your biblio search history is empty.</p> |
107 |
<p>Your catalog search history is empty.</p> |
110 |
[% END %] |
108 |
[% END %] |
111 |
</div> |
109 |
</div> |
112 |
|
110 |
|
113 |
- |
|
|