SetVersion($DBversion);
}
$DBversion = "3.15.00.XXX";
if ( CheckVersion($DBversion) ) {
$dbh->do(q{
DELETE FROM systempreferences WHERE variable = 'UseTableSortForCirc'
});
print "Upgrade to $DBversion done (Bug 11703 - Convert checkouts table to ajax datatable)\n";
=head1 FUNCTIONS
=head2 TableExists($table)
var BY = _("by");
var ON_HOLD = _("On hold");
var NOT_RENEWABLE = _("Not renewable");
var NOT_RENEWABLE_TOO_SOON = _("Cannot renew, renewal is premature");
var OF = _("of");
var RENEWALS_REMAINING = _("renewals remaining");
var HOLD_IS = _("Hold is");
span_style = "display: none";
span_class = "renewals-allowed";
} else if ( oObj.can_renew_error == "too_soon" ) {
content += "<span class='renewals-disabled'>"
+ NOT_RENEWABLE_TOO_SOON
+ "</span>";
} else {
+ oObj.can_renew_error
<p>The <a href="http://www.openjs.com/scripts/events/keyboard_shortcuts/">OpenJS keyboard shortcuts library</a>
by Binny V A is licensed under the BSD license.</p>
<h2>jquery.dataTables.grouping.js</h2>
<p>The <a href="https://code.google.com/p/jquery-datatables-row-grouping/">jquery.dataTables.grouping.js</a>
plugin by Jovan Popovic is licensed under the BSD and GPL v2 license.</p>
</div>
<div id="translations">
$sql .= '= ?';
else {
$sql = ' IN (' . join( ',', ('?') x @borrowernumber ) . ') ';
$sql .= ' IN (' . join( ',', ('?') x @borrowernumber ) . ') ';
push( @parameters, @borrowernumber );
-