[Koha-bugs] [Bug 28146] New: admin variable should be replaced by KohaAdminEmailAddress
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Apr 14 14:29:55 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28146
Bug ID: 28146
Summary: admin variable should be replaced by
KohaAdminEmailAddress
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
"admin" is sent from C4::Output::output_error, we should use
Koha.Preference('KohaAdminEmailAddress') from the template instead
koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc: [% IF ( admin )
%]
koha-tmpl/intranet-tmpl/prog/en/modules/errors/errorpage.tt: <li>To
report a broken link or any other issue, please contact the Koha Administrator.
<a href="mailto:[% admin | uri %]">Send email</a></li>
koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt:
<a href="mailto:[% admin | uri %]">Send email</a>.</li>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt:
<li>To report this error, you can email the Koha Administrator.<a
href="mailto:[% admin | uri %]">Email</a></li>
C4/Output.pm: admin => $admin,
errors/400.pl: admin => $admin,
errors/401.pl: admin => $admin,
errors/402.pl: admin => $admin,
errors/403.pl: admin => $admin,
errors/404.pl: admin => $admin,
errors/500.pl: admin => $admin,
opac/errors/400.pl: admin => $admin,
opac/errors/401.pl: admin => $admin,
opac/errors/402.pl: admin => $admin,
opac/errors/403.pl: admin => $admin,
opac/errors/404.pl: admin => $admin,
opac/errors/500.pl: admin => $admin,
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list