]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 851591: Add a main-end hook into global/footer.html.tmpl to be able to display...
authorFrédéric Buclin <LpSolit@gmail.com>
Wed, 17 Apr 2013 23:30:21 +0000 (01:30 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 17 Apr 2013 23:30:21 +0000 (01:30 +0200)
r=dkl a=LpSolit

extensions/Example/template/en/default/hook/global/footer-end.html.tmpl [new file with mode: 0644]
template/en/default/global/footer.html.tmpl

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 (file)
index 0000000..f4cb1e0
--- /dev/null
@@ -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 %]
+
+<p align="center">
+  <em>[% component.callers.first FILTER html %]</em> processed
+  on [% date.format(date.now, '%b %d, %Y at %H:%M:%S') FILTER html %].
+  <br>
+  (provided by the Example extension).
+</p>
index 0e98d9efc467b9aff9e5baedf80be102d4c41cfd..e161a061c02db2342ecb415cb6857b28d10c69be 100644 (file)
@@ -11,6 +11,7 @@
   # global/useful-links.html.tmpl.
   #%]
 
+  [% Hook.process('main-end') %]
 </div>
 
 [%# Migration note: below this point, this file corresponds to the old Param