mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Missing alert-warning css class (bootstrap) in system messages
This commit is contained in:
@@ -512,7 +512,7 @@ class eMessage
|
|||||||
*/
|
*/
|
||||||
public static function formatMessage($mstack, $type, $message)
|
public static function formatMessage($mstack, $type, $message)
|
||||||
{
|
{
|
||||||
$bstrap = array('info'=>'alert-info','error'=>'alert-error','success'=>'alert-success');
|
$bstrap = array('info'=>'alert-info','error'=>'alert-error','warning'=>'alert-warning','success'=>'alert-success');
|
||||||
$bclass = vartrue($bstrap[$type]) ? " ".$bstrap[$type] : "";
|
$bclass = vartrue($bstrap[$type]) ? " ".$bstrap[$type] : "";
|
||||||
|
|
||||||
if (empty($message))
|
if (empty($message))
|
||||||
|
Reference in New Issue
Block a user