SetVersion($DBversion);
}
$DBversion = "3.15.00.XXX";
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
$dbh->do(q|
INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES ('OPACMySummaryNote','','','Note to display on the patron summary page. This note only appears if the patron is connected.','Free')
|);
print "Upgrade to $DBversion done (Bug 12052: Add OPACMySummaryNote syspref)\n";
=head1 FUNCTIONS
=head2 TableExists($table)
type: textarea
class: code
-
- Note to display on the patron summary page. This note only appears if the patron is connected:
- pref: OPACMySummaryNote
- "Include the following HTML under the facets in OPAC search results:"
- pref: OPACResultsSidebar
</div>
[% END # / IF patron_flagged %]
[% SET OPACMySummaryNote = Koha.Preference('OPACMySummaryNote') %]
[% IF OPACMySummaryNote %][% OPACMySummaryNote %][% END %]
<div id="opac-user-views" class="toptabs">
<ul>
<li><a href="#opac-user-checkouts">Checked out ([% issues_count %])</a></li>
[% END %]
</ul></div>