Commit:    b6ddc10dd91d2fb3be5eb66037d3da956d111b30
Author:    Hannes Magnusson <[email protected]>         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">


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to