[Top][All Lists]
[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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/opac opac-main.pl,1.17,1.18,
Chris Cormack <=
- Prev by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/prog/en about.tmpl,NONE,1.1 auth.tmpl,NONE,1.1 bookcount.tmpl,NONE,1.1 boraccount.tmpl,NONE,1.1 mancredit.tmpl,NONE,1.1 maninvoice.tmpl,NONE,1.1 modbib.tmpl,NONE,1.1 modbibitem.tmpl,NONE,1.1 moditem.tmpl,NONE,1.1 modwebsites.tmpl,NONE,1.1 overdue.tmpl,NONE,1.1 request.tmpl,NONE,1.1 reservereport.tmpl,NONE,1.1 shelves.tmpl,NONE,1.1 stats.tmpl,NONE,1.1 thesaurus_popup.tmpl,NONE,1.1 updatebiblio.tmpl,NONE,1.1
- Next by Date:
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/default/en opac-main.tmpl,1.15,1.16
- Previous by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/prog/en about.tmpl,NONE,1.1 auth.tmpl,NONE,1.1 bookcount.tmpl,NONE,1.1 boraccount.tmpl,NONE,1.1 mancredit.tmpl,NONE,1.1 maninvoice.tmpl,NONE,1.1 modbib.tmpl,NONE,1.1 modbibitem.tmpl,NONE,1.1 moditem.tmpl,NONE,1.1 modwebsites.tmpl,NONE,1.1 overdue.tmpl,NONE,1.1 request.tmpl,NONE,1.1 reservereport.tmpl,NONE,1.1 shelves.tmpl,NONE,1.1 stats.tmpl,NONE,1.1 thesaurus_popup.tmpl,NONE,1.1 updatebiblio.tmpl,NONE,1.1
- Next by thread:
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/default/en opac-main.tmpl,1.15,1.16
- Index(es):