1
0
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:
SecretR
2013-10-25 12:23:20 +03:00
parent a32d0b8ef6
commit c17a88e1a2

View File

@@ -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))