summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--omega/templates/page.tpl.php32
-rw-r--r--starterkit/templates/page.tpl.php31
2 files changed, 42 insertions, 21 deletions
diff --git a/omega/templates/page.tpl.php b/omega/templates/page.tpl.php
index 76f6aa0..8820da7 100644
--- a/omega/templates/page.tpl.php
+++ b/omega/templates/page.tpl.php
@@ -2,25 +2,35 @@
// $Id$
/**
- * @file
+ * @file
* Theme implementation to display a single Drupal page.
*/
- //krumo('called page.tpl.php (omega)');
+
?>
<div id="page" class="clearfix">
<?php if (isset($zones_above)): ?>
<div id="zones-above" class="clearfix"><?php print $zones_above; ?></div>
<?php endif; ?>
+ <div id="zones-content" class="clearfix">
+ <?php if ($action_links): ?>
+ <div id="actions-container" class="container-<?php print $default_container_width; ?> clearfix">
+ <div class="grid-<?php print $default_container_width; ?>">
+ <ul class="action-links">
+ <?php print render($action_links); ?>
+ </ul>
+ </div>
+ </div>
+ <?php endif; ?>
+ <?php if (isset($messages)): ?>
+ <div id="message-container" class="container-<?php print $default_container_width; ?> clearfix">
+ <div class="grid-<?php print $default_container_width; ?>">
+ <?php print $messages; ?>
+ </div>
+ </div><!-- /.container-xx -->
+ <?php endif; ?>
- <?php if (isset($messages)): ?>
- <div id="message-container" class="container-<?php print $default_container_width; ?> clearfix">
- <div class="grid-<?php print $default_container_width; ?>">
- <?php print $messages; ?>
- </div>
- </div><!-- /.container-xx -->
- <?php endif; ?>
-
- <div id="zones-content" class="clearfix"><?php print $content_zone; ?></div>
+ <?php print $content_zone; ?>
+ </div>
<?php if (isset($zones_below)): ?>
<div id="zones-below" class="clearfix"><?php print $zones_below; ?></div>
diff --git a/starterkit/templates/page.tpl.php b/starterkit/templates/page.tpl.php
index 692bd61..8820da7 100644
--- a/starterkit/templates/page.tpl.php
+++ b/starterkit/templates/page.tpl.php
@@ -5,23 +5,34 @@
* @file
* Theme implementation to display a single Drupal page.
*/
+
?>
<div id="page" class="clearfix">
<?php if (isset($zones_above)): ?>
<div id="zones-above" class="clearfix"><?php print $zones_above; ?></div>
<?php endif; ?>
+ <div id="zones-content" class="clearfix">
+ <?php if ($action_links): ?>
+ <div id="actions-container" class="container-<?php print $default_container_width; ?> clearfix">
+ <div class="grid-<?php print $default_container_width; ?>">
+ <ul class="action-links">
+ <?php print render($action_links); ?>
+ </ul>
+ </div>
+ </div>
+ <?php endif; ?>
+ <?php if (isset($messages)): ?>
+ <div id="message-container" class="container-<?php print $default_container_width; ?> clearfix">
+ <div class="grid-<?php print $default_container_width; ?>">
+ <?php print $messages; ?>
+ </div>
+ </div><!-- /.container-xx -->
+ <?php endif; ?>
- <?php if (isset($messages)): ?>
- <div id="message-container" class="container-<?php print $default_container_width; ?> clearfix">
- <div class="grid-<?php print $default_container_width; ?>">
- <?php print $messages; ?>
- </div>
- </div><!-- /.container-xx -->
- <?php endif; ?>
-
- <div id="zones-content" class="clearfix"><?php print $content_zone; ?></div>
+ <?php print $content_zone; ?>
+ </div>
<?php if (isset($zones_below)): ?>
<div id="zones-below" class="clearfix"><?php print $zones_below; ?></div>
<?php endif; ?>
-</div><!-- /#page -->
+</div><!-- /#page --> \ No newline at end of file