mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Formatting
This commit is contained in:
parent
1d41ef6da2
commit
f43ecbeb95
@ -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>';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user