Formatting

This commit is contained in:
billz 2017-10-24 13:51:12 +00:00
parent 1d41ef6da2
commit f43ecbeb95

View file

@ -5,7 +5,7 @@ class StatusMessages {
public function addMessage($message, $level='success', $dismissable=true) {
$status = '<div class="alert alert-'.$level;
if ($dismissable) $status .= ' alert-dismissable';
$status .= '">'.$message;
$status .= '">'. _($message);
if ($dismissable) $status .= '<button type="button" class="close" data-dismiss="alert" aria-hidden="true">x</button>';
$status .= '</div>';