|
Lines 19-25
$(document).ready(function() {
Link Here
|
| 19 |
] |
19 |
] |
| 20 |
})); |
20 |
})); |
| 21 |
|
21 |
|
| 22 |
$('#tabs').tabs(); |
22 |
[% IF Koha.Preference( 'OpacAuthorities' ) == 1 %]$('#tabs').tabs();[% END %] |
| 23 |
}); |
23 |
}); |
| 24 |
//]]> |
24 |
//]]> |
| 25 |
|
25 |
|
|
Lines 40-50
$(document).ready(function() {
Link Here
|
| 40 |
<div class="yui-b"> |
40 |
<div class="yui-b"> |
| 41 |
<div class="yui-g"> |
41 |
<div class="yui-g"> |
| 42 |
<h1>Search history</h1> |
42 |
<h1>Search history</h1> |
| 43 |
<div id="tabs" class="toptabs"> |
43 |
[% IF Koha.Preference( 'OpacAuthorities' ) == 1 %] |
| 44 |
<ul> |
44 |
<div id="tabs" class="toptabs"> |
| 45 |
<li><a href="#biblio_tab">Biblio</a></li> |
45 |
<ul> |
| 46 |
<li><a href="#authority_tab">Authority</a></li> |
46 |
<li><a href="#biblio_tab">Catalog</a></li> |
| 47 |
</ul> |
47 |
<li><a href="#authority_tab">Authority</a></li> |
|
|
48 |
</ul> |
| 49 |
[% END %] |
| 48 |
<div id="biblio_tab"> |
50 |
<div id="biblio_tab"> |
| 49 |
[% IF ( current_biblio_searches ) %] |
51 |
[% IF ( current_biblio_searches ) %] |
| 50 |
<h2>Current session</h2> |
52 |
<h2>Current session</h2> |
|
Lines 52-58
$(document).ready(function() {
Link Here
|
| 52 |
<input type="hidden" name="action" value="delete" /> |
54 |
<input type="hidden" name="action" value="delete" /> |
| 53 |
<input type="hidden" name="previous" value="0" /> |
55 |
<input type="hidden" name="previous" value="0" /> |
| 54 |
<input type="hidden" name="type" value="biblio" /> |
56 |
<input type="hidden" name="type" value="biblio" /> |
| 55 |
<input type="submit" class="deleteshelf" value="Delete your current biblio history" onclick="return confirm(MSG_CONFIRM_DELETE_HISTORY);" /> |
57 |
<input type="submit" class="deleteshelf" value="Delete your current catalog history" onclick="return confirm(MSG_CONFIRM_DELETE_HISTORY);" /> |
| 56 |
</form> |
58 |
</form> |
| 57 |
<table class="historyt"> |
59 |
<table class="historyt"> |
| 58 |
<thead> |
60 |
<thead> |
|
Lines 80-86
$(document).ready(function() {
Link Here
|
| 80 |
<input type="hidden" name="action" value="delete" /> |
82 |
<input type="hidden" name="action" value="delete" /> |
| 81 |
<input type="hidden" name="previous" value="1" /> |
83 |
<input type="hidden" name="previous" value="1" /> |
| 82 |
<input type="hidden" name="type" value="biblio" /> |
84 |
<input type="hidden" name="type" value="biblio" /> |
| 83 |
<input type="submit" class="deleteshelf" value="Delete your previous biblio search history" onclick="return confirm(MSG_CONFIRM_DELETE_HISTORY);" /> |
85 |
<input type="submit" class="deleteshelf" value="Delete your previous catalog search history" onclick="return confirm(MSG_CONFIRM_DELETE_HISTORY);" /> |
| 84 |
</form> |
86 |
</form> |
| 85 |
<table class="historyt"> |
87 |
<table class="historyt"> |
| 86 |
<thead> |
88 |
<thead> |
|
Lines 102-107
$(document).ready(function() {
Link Here
|
| 102 |
</table> |
104 |
</table> |
| 103 |
[% END %] |
105 |
[% END %] |
| 104 |
|
106 |
|
|
|
107 |
[% IF !current_biblio_searches && !previous_biblio_searches %] |
| 108 |
<p>Your catalog search history is empty.</p> |
| 109 |
[% END %] |
| 110 |
</div> |
| 111 |
|
| 112 |
|
| 113 |
[% IF Koha.Preference( 'OpacAuthorities' ) == 1 %] |
| 105 |
<div id="authority_tab"> |
114 |
<div id="authority_tab"> |
| 106 |
[% IF ( current_authority_searches ) %] |
115 |
[% IF ( current_authority_searches ) %] |
| 107 |
<h2>Current session</h2> |
116 |
<h2>Current session</h2> |
|
Lines 164-169
$(document).ready(function() {
Link Here
|
| 164 |
[% END %] |
173 |
[% END %] |
| 165 |
</div> |
174 |
</div> |
| 166 |
</div> |
175 |
</div> |
|
|
176 |
[% END %] |
| 167 |
</div> |
177 |
</div> |
| 168 |
</div> |
178 |
</div> |
| 169 |
</div> |
179 |
</div> |
| 170 |
- |
|
|