summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngie Byron2009-11-22 23:44:09 (GMT)
committerAngie Byron2009-11-22 23:44:09 (GMT)
commit99b07a87c4b1cad765acfb6a9f8135f3aaf3353a (patch)
tree3a702d5fa3b52a98fbec10d1154c5f52424d446e
parenta26636549316a3d4c03e9c5d6646b701071109cf (diff)
#638416 by marcvangend, cweagans and yched: Remove redundant show_messages varoable from template files, and make errors show up during install.
-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 3ac18c2..bcee882 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 9d1662f..aaf1ff6 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 0d3f378..df2f53b 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']): ?>