From: Frédéric Buclin Date: Wed, 17 Apr 2013 23:28:55 +0000 (+0200) Subject: Bug 851591: Add a main-end hook into global/footer.html.tmpl to be able to display... X-Git-Tag: bugzilla-4.5.1~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=816aadbdb4450c26d7a2914b4f4e733be0132af8;p=thirdparty%2Fbugzilla.git Bug 851591: Add a main-end hook into global/footer.html.tmpl to be able to display additional data before displaying the page footer r=dkl a=LpSolit --- diff --git a/extensions/Example/template/en/default/hook/global/footer-end.html.tmpl b/extensions/Example/template/en/default/hook/global/footer-end.html.tmpl new file mode 100644 index 0000000000..f4cb1e006d --- /dev/null +++ b/extensions/Example/template/en/default/hook/global/footer-end.html.tmpl @@ -0,0 +1,16 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% USE date %] + +

+ [% component.callers.first FILTER html %] processed + on [% date.format(date.now, '%b %d, %Y at %H:%M:%S') FILTER html %]. +
+ (provided by the Example extension). +

diff --git a/template/en/default/global/footer.html.tmpl b/template/en/default/global/footer.html.tmpl index 0e98d9efc4..e161a061c0 100644 --- a/template/en/default/global/footer.html.tmpl +++ b/template/en/default/global/footer.html.tmpl @@ -11,6 +11,7 @@ # global/useful-links.html.tmpl. #%] + [% Hook.process('main-end') %] [%# Migration note: below this point, this file corresponds to the old Param