Commit 99b07a87 authored by webchick's avatar webchick

#638416 by marcvangend, cweagans and yched: Remove redundant show_messages...

#638416 by marcvangend, cweagans and yched: Remove redundant show_messages varoable from template files, and make errors show up during install.
parent a2663654
......@@ -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">
......
......@@ -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): ?>
......
......@@ -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']): ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment