[Koha-cvs] CVS: koha/koha-tmpl/errors 400.pl,1.1,1.2 401.pl,1.1,1.2 402.pl,1.1,1.2 403.pl,1.1,1.2 404.pl,1.1,1.2 500.pl,1.1,1.2

Owen Leonard oleonard at users.sourceforge.net
Thu Jan 13 19:36:07 CET 2005


Update of /cvsroot/koha/koha/koha-tmpl/errors
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29420/koha-tmpl/errors

Modified Files:
	400.pl 401.pl 402.pl 403.pl 404.pl 500.pl 
Log Message:
Adding KohaAdminEmailAddress to template

Index: 400.pl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/errors/400.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** 400.pl	30 Jul 2004 14:13:31 -0000	1.1
--- 400.pl	13 Jan 2005 18:35:47 -0000	1.2
***************
*** 10,13 ****
--- 10,14 ----
  
  my $query = new CGI;
+ my $admin = C4::Context->preference('KohaAdminEmailAddress');
  my ($template, $loggedinuser, $cookie)
  = get_template_and_user({template_name => "errors/400.tmpl",
***************
*** 18,20 ****
--- 19,22 ----
  				debug => 1,
  				});
+ $template->param( admin => $admin);
  output_html_with_http_headers $query, $cookie, $template->output;

Index: 401.pl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/errors/401.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** 401.pl	30 Jul 2004 14:13:31 -0000	1.1
--- 401.pl	13 Jan 2005 18:35:47 -0000	1.2
***************
*** 10,13 ****
--- 10,14 ----
  
  my $query = new CGI;
+ my $admin = C4::Context->preference('KohaAdminEmailAddress');
  my ($template, $loggedinuser, $cookie)
  = get_template_and_user({template_name => "errors/401.tmpl",
***************
*** 18,20 ****
--- 19,22 ----
  				debug => 1,
  				});
+ $template->param( admin => $admin);				
  output_html_with_http_headers $query, $cookie, $template->output;

Index: 402.pl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/errors/402.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** 402.pl	30 Jul 2004 14:13:31 -0000	1.1
--- 402.pl	13 Jan 2005 18:35:47 -0000	1.2
***************
*** 10,13 ****
--- 10,14 ----
  
  my $query = new CGI;
+ my $admin = C4::Context->preference('KohaAdminEmailAddress');
  my ($template, $loggedinuser, $cookie)
  = get_template_and_user({template_name => "errors/402.tmpl",
***************
*** 18,20 ****
--- 19,22 ----
  				debug => 1,
  				});
+ $template->param( admin => $admin);				
  output_html_with_http_headers $query, $cookie, $template->output;

Index: 403.pl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/errors/403.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** 403.pl	30 Jul 2004 14:13:31 -0000	1.1
--- 403.pl	13 Jan 2005 18:35:47 -0000	1.2
***************
*** 10,13 ****
--- 10,14 ----
  
  my $query = new CGI;
+ my $admin = C4::Context->preference('KohaAdminEmailAddress');
  my ($template, $loggedinuser, $cookie)
  = get_template_and_user({template_name => "errors/403.tmpl",
***************
*** 18,20 ****
--- 19,22 ----
  				debug => 1,
  				});
+ $template->param( admin => $admin);				
  output_html_with_http_headers $query, $cookie, $template->output;

Index: 404.pl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/errors/404.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** 404.pl	30 Jul 2004 14:13:31 -0000	1.1
--- 404.pl	13 Jan 2005 18:35:47 -0000	1.2
***************
*** 10,13 ****
--- 10,14 ----
  
  my $query = new CGI;
+ my $admin = C4::Context->preference('KohaAdminEmailAddress');
  my ($template, $loggedinuser, $cookie)
  = get_template_and_user({template_name => "errors/404.tmpl",
***************
*** 18,20 ****
--- 19,22 ----
  				debug => 1,
  				});
+ $template->param( admin => $admin);				
  output_html_with_http_headers $query, $cookie, $template->output;

Index: 500.pl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/errors/500.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** 500.pl	30 Jul 2004 14:13:31 -0000	1.1
--- 500.pl	13 Jan 2005 18:35:47 -0000	1.2
***************
*** 10,13 ****
--- 10,14 ----
  
  my $query = new CGI;
+ my $admin = C4::Context->preference('KohaAdminEmailAddress');
  my ($template, $loggedinuser, $cookie)
  = get_template_and_user({template_name => "errors/500.tmpl",
***************
*** 18,20 ****
--- 19,22 ----
  				debug => 1,
  				});
+ $template->param( admin => $admin);
  output_html_with_http_headers $query, $cookie, $template->output;





More information about the Koha-cvs mailing list