Adding KohaAdminEmailAddress to template
This commit is contained in:
parent
92f8829796
commit
ac0ffa5fb7
|
|
@ -9,6 +9,7 @@ use C4::Context;
|
|||
use HTML::Template;
|
||||
|
||||
my $query = new CGI;
|
||||
my $admin = C4::Context->preference('KohaAdminEmailAddress');
|
||||
my ($template, $loggedinuser, $cookie)
|
||||
= get_template_and_user({template_name => "errors/400.tmpl",
|
||||
query => $query,
|
||||
|
|
@ -17,4 +18,5 @@ my ($template, $loggedinuser, $cookie)
|
|||
flagsrequired => {catalogue => 1},
|
||||
debug => 1,
|
||||
});
|
||||
$template->param( admin => $admin);
|
||||
output_html_with_http_headers $query, $cookie, $template->output;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ use C4::Context;
|
|||
use HTML::Template;
|
||||
|
||||
my $query = new CGI;
|
||||
my $admin = C4::Context->preference('KohaAdminEmailAddress');
|
||||
my ($template, $loggedinuser, $cookie)
|
||||
= get_template_and_user({template_name => "errors/401.tmpl",
|
||||
query => $query,
|
||||
|
|
@ -17,4 +18,5 @@ my ($template, $loggedinuser, $cookie)
|
|||
flagsrequired => {catalogue => 1},
|
||||
debug => 1,
|
||||
});
|
||||
$template->param( admin => $admin);
|
||||
output_html_with_http_headers $query, $cookie, $template->output;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ use C4::Context;
|
|||
use HTML::Template;
|
||||
|
||||
my $query = new CGI;
|
||||
my $admin = C4::Context->preference('KohaAdminEmailAddress');
|
||||
my ($template, $loggedinuser, $cookie)
|
||||
= get_template_and_user({template_name => "errors/402.tmpl",
|
||||
query => $query,
|
||||
|
|
@ -17,4 +18,5 @@ my ($template, $loggedinuser, $cookie)
|
|||
flagsrequired => {catalogue => 1},
|
||||
debug => 1,
|
||||
});
|
||||
$template->param( admin => $admin);
|
||||
output_html_with_http_headers $query, $cookie, $template->output;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ use C4::Context;
|
|||
use HTML::Template;
|
||||
|
||||
my $query = new CGI;
|
||||
my $admin = C4::Context->preference('KohaAdminEmailAddress');
|
||||
my ($template, $loggedinuser, $cookie)
|
||||
= get_template_and_user({template_name => "errors/403.tmpl",
|
||||
query => $query,
|
||||
|
|
@ -17,4 +18,5 @@ my ($template, $loggedinuser, $cookie)
|
|||
flagsrequired => {catalogue => 1},
|
||||
debug => 1,
|
||||
});
|
||||
$template->param( admin => $admin);
|
||||
output_html_with_http_headers $query, $cookie, $template->output;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ use C4::Context;
|
|||
use HTML::Template;
|
||||
|
||||
my $query = new CGI;
|
||||
my $admin = C4::Context->preference('KohaAdminEmailAddress');
|
||||
my ($template, $loggedinuser, $cookie)
|
||||
= get_template_and_user({template_name => "errors/404.tmpl",
|
||||
query => $query,
|
||||
|
|
@ -17,4 +18,5 @@ my ($template, $loggedinuser, $cookie)
|
|||
flagsrequired => {catalogue => 1},
|
||||
debug => 1,
|
||||
});
|
||||
$template->param( admin => $admin);
|
||||
output_html_with_http_headers $query, $cookie, $template->output;
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ use C4::Context;
|
|||
use HTML::Template;
|
||||
|
||||
my $query = new CGI;
|
||||
my $admin = C4::Context->preference('KohaAdminEmailAddress');
|
||||
my ($template, $loggedinuser, $cookie)
|
||||
= get_template_and_user({template_name => "errors/500.tmpl",
|
||||
query => $query,
|
||||
|
|
@ -17,4 +18,5 @@ my ($template, $loggedinuser, $cookie)
|
|||
flagsrequired => {catalogue => 1},
|
||||
debug => 1,
|
||||
});
|
||||
$template->param( admin => $admin);
|
||||
output_html_with_http_headers $query, $cookie, $template->output;
|
||||
|
|
|
|||
Loading…
Reference in New Issue