Permalink
Browse files

fixed help and messages block

  • Loading branch information...
ay13 committed May 24, 2011
1 parent b62148f commit e61aca472c65c4f844762ac45b685df1a783f1ff
Showing with 9 additions and 5 deletions.
  1. +9 −5 docroot/profiles/drupal_commons/themes/commons_environs/page.tpl.php
@@ -80,8 +80,14 @@
<?php print theme('grid_block', $primary_links_tree, 'primary-menu'); ?>
</div>
</div><!--/nav-group-->
-
-
+
+ <?php if ($help || $messages): ?>
+ <div class="row <?php print $grid_width; ?>">
+ <?php print theme('grid_block', $help, 'content-help');?>
+ <?php print theme('grid_block', $messages, 'content-messages');?>
+ </div>
+ <?php endif;?>
+
<!-- preface-top row: width = grid_width -->
<?php print theme('grid_row', $preface_top, 'preface-top', 'full-width', $grid_width); ?>
@@ -109,11 +115,9 @@
<div id="content-group-inner" class="content-group-inner inner">
- <?php if ($content_top || $help || $messages): ?>
+ <?php if ($content_top): ?>
<div id="content-top" class="content-top row nested">
<div id="content-top-inner" class="content-top-inner inner">
- <?php print theme('grid_block', $help, 'content-help'); ?>
- <?php print theme('grid_block', $messages, 'content-messages'); ?>
<?php print $content_top; ?>
</div><!-- /content-top-inner -->
</div><!-- /content-top -->

0 comments on commit e61aca4

Please sign in to comment.