summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author@himerus2011-02-12 10:54:45 -0500
committer@himerus2011-02-12 10:54:45 -0500
commit2d04dc3df11088560c8b41cff422be20807a1045 (patch)
tree2c4e575ac0c518ae1c7343d79487a60097d4da44
parent9d8c0fffbed8fcdf246efc955b5a8c981d7e0043 (diff)
setting gamma to work with the changed page.tpl.php structure in omega beta1 releasing soon
-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 -->