summaryrefslogtreecommitdiffstats
path: root/zen
diff options
context:
space:
mode:
authorJohnAlbin2008-09-14 12:45:35 +0000
committerJohnAlbin2008-09-14 12:45:35 +0000
commit17546774305528f8f95445144d8114915eeb44ee (patch)
tree1304e3dfd107c3e0965ff811068b857808c12c76 /zen
parent0bcb1dd5f7043245373486caef43a975b4473004 (diff)
#308266: Don't display footer if no footer message or footer blocks
Diffstat (limited to 'zen')
-rw-r--r--zen/page.tpl.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/zen/page.tpl.php b/zen/page.tpl.php
index 1995d8c..634e050 100644
--- a/zen/page.tpl.php
+++ b/zen/page.tpl.php
@@ -150,13 +150,17 @@
</div></div> <!-- /#main-inner, /#main -->
- <div id="footer"><div id="footer-inner" class="region region-footer">
+ <?php if ($footer or $footer_message): ?>
+ <div id="footer"><div id="footer-inner" class="region region-footer">
- <div id="footer-message"><?php print $footer_message; ?></div>
+ <?php if ($footer_message): ?>
+ <div id="footer-message"><?php print $footer_message; ?></div>
+ <?php endif; ?>
- <?php print $footer; ?>
+ <?php print $footer; ?>
- </div></div> <!-- /#footer-inner, /#footer -->
+ </div></div> <!-- /#footer-inner, /#footer -->
+ <?php endif; ?>
</div></div> <!-- /#page-inner, /#page -->