Skip to content

Commit

Permalink
correct system message close buttons (#9962)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepereiradasilva authored and wilsonge committed Apr 18, 2016
1 parent 5207bac commit 9126576
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -15,11 +15,11 @@
?>
<div id="system-message-container">
<?php if (is_array($msgList) && $msgList) : ?>
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php foreach ($msgList as $type => $msgs) : ?>
<div class="alert <?php echo isset($alert[$type]) ? $alert[$type] : 'alert-' . $type; ?>">
<h4 class="alert-heading"><?php echo JText::_($type); ?></h4>
<?php if ($msgs) : ?>
<button type="button" class="close" data-dismiss="alert">&times;</button>
<?php if (!empty($msgs)) : ?>
<h4 class="alert-heading"><?php echo JText::_($type); ?></h4>
<?php foreach ($msgs as $msg) : ?>
<div class="alert-message"><?php echo $msg; ?></div>
<?php endforeach; ?>
Expand Down

0 comments on commit 9126576

Please sign in to comment.