1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

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