$DBversion = "3.13.00.XXX";
if ( CheckVersion($DBversion) ) {
$dbh->do(q|
- INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('EnableSearchHistory','1','','Enable or disable search history','YesNo')
+ INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('EnableSearchHistory','0','','Enable or disable search history','YesNo')
|);
- print "Upgrade to $DBversion done (MT12541: Add EnableSearchHistory syspref)\n";
+ print "Upgrade to $DBversion done (Bug 10862: Add EnableSearchHistory syspref)\n";
SetVersion($DBversion);
}
[% USE Koha %]
[% USE KohaDates %]
-<title>Koha › Catalog › History search</title>
+<title>Koha › Catalog › Search history</title>
[% INCLUDE 'doc-head-close.inc' %]
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
+[% INCLUDE 'datatables.inc' %]
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script>
-[% INCLUDE 'datatables-strings.inc' %]
-<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
<script type="text/javascript">
//<![CDATA[
var MSG_CONFIRM_DELETE_HISTORY = _("Are you sure you want to delete your search history?");
[% INCLUDE 'cat-search.inc' %]
<div id="breadcrumbs">
- <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › History search
+ <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> › Search history
</div>
<div id="doc3" class="yui-t2">
<h1>Search history</h1>
<div id="tabs" class="toptabs">
<ul>
- <li><a href="#biblio_tab">Biblio</a></li>
+ <li><a href="#biblio_tab">Catalog</a></li>
<li><a href="#authority_tab">Authority</a></li>
</ul>
<div id="biblio_tab">
<input type="hidden" name="action" value="delete" />
<input type="hidden" name="previous" value="0" />
<input type="hidden" name="type" value="biblio" />
- <input type="submit" class="deleteshelf" value="Delete your current biblio history" onclick="return confirm(MSG_CONFIRM_DELETE_HISTORY);" />
+ <input type="submit" class="deleteshelf" value="Delete your current catalog history" onclick="return confirm(MSG_CONFIRM_DELETE_HISTORY);" />
</form>
<table class="historyt">
<thead>
<input type="hidden" name="action" value="delete" />
<input type="hidden" name="previous" value="1" />
<input type="hidden" name="type" value="biblio" />
- <input type="submit" class="deleteshelf" value="Delete your previous biblio search history" onclick="return confirm(MSG_CONFIRM_DELETE_HISTORY);" />
+ <input type="submit" class="deleteshelf" value="Delete your previous catalog search history" onclick="return confirm(MSG_CONFIRM_DELETE_HISTORY);" />
</form>
<table class="historyt">
<thead>
[% END %]
[% IF !current_biblio_searches && !previous_biblio_searches %]
- <p>Your biblio search history is empty.</p>
+ <p>Your catalog search history is empty.</p>
[% END %]
</div>