Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix indention, php short open tags, braces

  • Loading branch information...
commit 658dbb602523612bd6597d7f363868136047a037 1 parent 58bb51a
@anroots authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 views/notify/bootstrap.php
View
7 views/notify/bootstrap.php
@@ -2,11 +2,12 @@
// Notify module view for Twitter Bootstrap 2.0
foreach ($msgs as $msg_type => $msgs_of_type):
$class = NULL;
- if (in_array($msg_type, array('success', 'warning', 'info', 'error'))) {
+ if (in_array($msg_type, array('success', 'warning', 'info', 'error')))
+ {
$class = ' alert-' . $msg_type;
}?>
-<div class="alert alert-block fade in<?=$class ?>">
+<div class="alert alert-block fade in<?php echo $class ?>">
<a class="close" href="#" data-dismiss="alert">×</a>
- <?=count($msgs_of_type) ? implode("<br />\n", $msgs_of_type) : $msgs_of_type?>
+ <?php echo count($msgs_of_type) ? implode("<br />\n", $msgs_of_type) : $msgs_of_type?>
</div>
<? endforeach ?>
Please sign in to comment.
Something went wrong with that request. Please try again.