diff options
Diffstat (limited to 'library')
| -rw-r--r-- | library/WT/Theme/BaseTheme.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/library/WT/Theme/BaseTheme.php b/library/WT/Theme/BaseTheme.php index 3621b7a78b..4e37c85ef8 100644 --- a/library/WT/Theme/BaseTheme.php +++ b/library/WT/Theme/BaseTheme.php @@ -217,13 +217,7 @@ abstract class BaseTheme { * @return string */ protected function flashMessageContainer(\stdClass $message) { - return - '<div class="alert alert-' . $message->status . ' alert-dismissible" role="alert">' . - '<button type="button" class="close" data-dismiss="alert" aria-label="' . WT_I18N::translate('close') .'">' . - '<span aria-hidden="true">×</span>' . - '</button>' . - $message->text . - '</div>'; + return $this->htmlAlert($message->text, $message->status, true); } /** |
