mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
This commit is contained in:
parent
cd01e8119b
commit
d51c3e07c6
@ -591,7 +591,7 @@ 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 show {$type} {$bclass}' role='alert'>";
|
||||
$text = "<div class='s-message alert alert-block alert-dismissible 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>
|
||||
|
@ -985,7 +985,7 @@ class news_front
|
||||
|
||||
$action = $currentNewsAction;
|
||||
|
||||
if(deftrue('BOOTSTRAP')) // v2.x
|
||||
if(!deftrue('THEME_LEGACY')) // v2.x
|
||||
{
|
||||
$template = e107::getTemplate('news', 'news', 'list');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user