summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-22 23:44:09 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-11-22 23:44:09 +0000
commit99b07a87c4b1cad765acfb6a9f8135f3aaf3353a (patch)
tree3a702d5fa3b52a98fbec10d1154c5f52424d446e /themes
parenta26636549316a3d4c03e9c5d6646b701071109cf (diff)
downloadbrdo-99b07a87c4b1cad765acfb6a9f8135f3aaf3353a.tar.gz
brdo-99b07a87c4b1cad765acfb6a9f8135f3aaf3353a.tar.bz2
#638416 by marcvangend, cweagans and yched: Remove redundant show_messages varoable from template files, and make errors show up during install.
Diffstat (limited to 'themes')
-rw-r--r--themes/garland/page.tpl.php2
-rw-r--r--themes/seven/maintenance-page.tpl.php2
-rw-r--r--themes/seven/page.tpl.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/themes/garland/page.tpl.php b/themes/garland/page.tpl.php
index 3ac18c279..bcee882d7 100644
--- a/themes/garland/page.tpl.php
+++ b/themes/garland/page.tpl.php
@@ -45,7 +45,7 @@
<?php if ($title): ?><h1<?php print $tabs ? ' class="with-tabs"' : '' ?>><?php print $title ?></h1><?php endif; ?>
<?php if ($tabs): ?><ul class="tabs primary"><?php print render($tabs) ?></ul></div><?php endif; ?>
<?php if ($tabs2): ?><ul class="tabs secondary"><?php print render($tabs2) ?></ul><?php endif; ?>
- <?php if ($show_messages && $messages): print $messages; endif; ?>
+ <?php print $messages; ?>
<?php print render($page['help']); ?>
<?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
<div class="clearfix">
diff --git a/themes/seven/maintenance-page.tpl.php b/themes/seven/maintenance-page.tpl.php
index 9d1662fab..aaf1ff6cc 100644
--- a/themes/seven/maintenance-page.tpl.php
+++ b/themes/seven/maintenance-page.tpl.php
@@ -29,7 +29,7 @@
<?php endif; ?>
<div id="content" class="clearfix">
- <?php if ($show_messages && $messages): ?>
+ <?php if ($messages): ?>
<div id="console"><?php print $messages; ?></div>
<?php endif; ?>
<?php if ($help): ?>
diff --git a/themes/seven/page.tpl.php b/themes/seven/page.tpl.php
index 0d3f378f4..df2f53bfd 100644
--- a/themes/seven/page.tpl.php
+++ b/themes/seven/page.tpl.php
@@ -13,7 +13,7 @@
<?php if ($secondary_local_tasks): ?><ul class="tabs secondary"><?php print render($secondary_local_tasks); ?></ul><?php endif; ?>
<div id="content" class="clearfix">
- <?php if ($show_messages && $messages): ?>
+ <?php if ($messages): ?>
<div id="console" class="clearfix"><?php print $messages; ?></div>
<?php endif; ?>
<?php if ($page['help']): ?>