From 734b575e06feee634d0319f1746a865a31541162 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Fri, 24 Jan 2003 17:14:48 +0000 Subject: [PATCH] Adds Koha version to opac main page. --- opac/opac-main.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opac/opac-main.pl b/opac/opac-main.pl index 6c35728178..2ea9670c0e 100755 --- a/opac/opac-main.pl +++ b/opac/opac-main.pl @@ -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; -- 2.39.5