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,
flagsrequired => {catalogue => 1},
debug => 1,
});
+$template->param( admin => $admin);
output_html_with_http_headers $query, $cookie, $template->output;
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,
flagsrequired => {catalogue => 1},
debug => 1,
});
+$template->param( admin => $admin);
output_html_with_http_headers $query, $cookie, $template->output;
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,
flagsrequired => {catalogue => 1},
debug => 1,
});
+$template->param( admin => $admin);
output_html_with_http_headers $query, $cookie, $template->output;
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,
flagsrequired => {catalogue => 1},
debug => 1,
});
+$template->param( admin => $admin);
output_html_with_http_headers $query, $cookie, $template->output;
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,
flagsrequired => {catalogue => 1},
debug => 1,
});
+$template->param( admin => $admin);
output_html_with_http_headers $query, $cookie, $template->output;
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,
flagsrequired => {catalogue => 1},
debug => 1,
});
+$template->param( admin => $admin);
output_html_with_http_headers $query, $cookie, $template->output;