1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Fixes #3686 - BS4 alert not showing.

This commit is contained in:
Cameron 2020-05-01 13:15:19 -07:00
parent db356fdc51
commit cd01e8119b

View File

@ -591,8 +591,8 @@ class eMessage
$icon = !empty(self::$_customIcon[$type]) ? "s-message-empty fa fa-2x ".self::$_customIcon[$type] : "s-message-".$type;
$text = "<div class='s-message alert alert-block fade in {$type} {$bclass}'>";
$text .= (self::$_close[$type] === true) ? "<a class='close' data-dismiss='alert'>×</a>" : "";
$text = "<div class='s-message alert alert-block fade in show {$type} {$bclass}' role='alert'>";
$text .= (self::$_close[$type] === true) ? "<a class='close' data-dismiss='alert' aria-label='".LAN_CLOSE."'>×</a>" : "";
$text .= "<i class='s-message-icon ".$icon."'></i>
<h4 class='s-message-title'>".self::getTitle($type, $mstack)."</h4>
<div class='s-message-body'>