summaryrefslogtreecommitdiffstats
path: root/templates/page.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.tpl.php')
-rw-r--r--templates/page.tpl.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/templates/page.tpl.php b/templates/page.tpl.php
index 8a6d59b..eb67fd8 100644
--- a/templates/page.tpl.php
+++ b/templates/page.tpl.php
@@ -7,8 +7,8 @@
*/
?>
<div id="page" class="clearfix">
- <?php if (isset($zones_above)): ?>
- <div id="zones-above" class="clearfix"><?php print $zones_above; ?></div>
+ <?php if (isset($page['zones_above'])): ?>
+ <div id="zones-above" class="clearfix"><?php print render($page['zones_above']); ?></div>
<?php endif; ?>
<div id="zones-content">
@@ -21,12 +21,14 @@
</div>
</div><!-- /.container-xx -->
<?php endif; ?>
- <?php print $content_zone; ?>
+ <?php if (isset($page['content_zone'])): ?>
+ <?php print render($page['content_zone']); ?>
+ <?php endif; ?>
</div>
</div>
</div>
- <?php if (isset($zones_below)): ?>
- <div id="zones-below" class="clearfix"><?php print $zones_below; ?></div>
+ <?php if (isset($page['zones_below'])): ?>
+ <div id="zones-below" class="clearfix"><?php print render($page['zones_below']); ?></div>
<?php endif; ?>
</div><!-- /#page -->