com web/shared: Allow injecting "secondscreen" automatically in the footer: templates/footer.inc
| From: | Hannes Magnusson | Date: | Wed, 18 Dec 2013 22:03:07 +0000 |
| Subject: | com web/shared: Allow injecting "secondscreen" automatically in the footer: templates/footer.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-17727@lists.php.net to get a copy of this message | ||
Commit: b6ddc10dd91d2fb3be5eb66037d3da956d111b30
Author: Hannes Magnusson <bjori@mongodb.com> Wed, 18 Dec 2013 14:03:07 -0800
Parents: 9e13ad4df3f65f66afcc180392322a6c21322db6
Branches: master
Link: http://git.php.net/?p=web/shared.git;a=commitdiff;h=b6ddc10dd91d2fb3be5eb66037d3da956d111b30
Log:
Allow injecting "secondscreen" automatically in the footer
Changed paths:
M templates/footer.inc
Diff:
diff --git a/templates/footer.inc b/templates/footer.inc
index 244848e..d8c375e 100644
--- a/templates/footer.inc
+++ b/templates/footer.inc
@@ -8,7 +8,14 @@
*/
isset($JS) || $JS = array();
+isset($SECONDSCREEN) || $SECONDSCREEN = "";
?>
+
+<?php if ($SECONDSCREEN): ?>
+<section class="secondscreen">
+ <?=$SECONDSCREEN?>
+</section>
+<?php endif ?>
</section><!-- .fullscreen -->
<footer>
<nav class="fullscreen">