Adds Koha version to opac main page.
This commit is contained in:
parent
eb53b1276d
commit
734b575e06
|
|
@ -4,6 +4,7 @@ require Exporter;
|
|||
use CGI;
|
||||
|
||||
use C4::Auth; # get_template_and_user
|
||||
use C4::Context;
|
||||
|
||||
my $query = new CGI;
|
||||
|
||||
|
|
@ -15,4 +16,6 @@ my ($template, $borrowernumber, $cookie)
|
|||
flagsrequired => {borrow => 1},
|
||||
});
|
||||
|
||||
$template->param(kohaversion => C4::Context->config('kohaversion'));
|
||||
|
||||
print $query->header(-cookie => $cookie), $template->output;
|
||||
|
|
|
|||
Loading…
Reference in New Issue