koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/opac opac-main.pl,1.17,1.18


From: Chris Cormack
Subject: [Koha-cvs] CVS: koha/opac opac-main.pl,1.17,1.18
Date: Sun, 07 Aug 2005 19:09:42 -0700

Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4557

Modified Files:
        opac-main.pl 
Log Message:
Passing through kohaversion to the template


Index: opac-main.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-main.pl,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** opac-main.pl        20 Jun 2005 14:33:32 -0000      1.17
--- opac-main.pl        8 Aug 2005 02:09:39 -0000       1.18
***************
*** 5,8 ****
--- 5,9 ----
  use HTML::Template;
  
+ use C4::Context;
  use C4::Auth;       # get_template_and_user
  use C4::Interface::CGI::Output;
***************
*** 12,15 ****
--- 13,17 ----
  
  my $input = new CGI;
+ my $kohaVersion = C4::Context->config("kohaversion");
  my $dbh = C4::Context->dbh;
  my $query="Select itemtype,description from itemtypes order by description";
***************
*** 54,57 ****
--- 56,60 ----
                                textmessaging => $borrower->{textmessaging},
                                opaclargeimage => 
C4::Context->preference("opaclargeimage"),
+                                 kohaversion => $kohaVersion
  );
  output_html_with_http_headers $input, $cookie, $template->output;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]