mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
This commit is contained in:
@@ -591,7 +591,7 @@ class eMessage
|
|||||||
$icon = !empty(self::$_customIcon[$type]) ? "s-message-empty fa fa-2x ".self::$_customIcon[$type] : "s-message-".$type;
|
$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 .= (self::$_close[$type] === true) ? "<a class='close' data-dismiss='alert' aria-label='".LAN_CLOSE."'>×</a>" : "";
|
||||||
$text .= "<i class='s-message-icon ".$icon."'></i>
|
$text .= "<i class='s-message-icon ".$icon."'></i>
|
||||||
<h4 class='s-message-title'>".self::getTitle($type, $mstack)."</h4>
|
<h4 class='s-message-title'>".self::getTitle($type, $mstack)."</h4>
|
||||||
|
@@ -985,7 +985,7 @@ class news_front
|
|||||||
|
|
||||||
$action = $currentNewsAction;
|
$action = $currentNewsAction;
|
||||||
|
|
||||||
if(deftrue('BOOTSTRAP')) // v2.x
|
if(!deftrue('THEME_LEGACY')) // v2.x
|
||||||
{
|
{
|
||||||
$template = e107::getTemplate('news', 'news', 'list');
|
$template = e107::getTemplate('news', 'news', 'list');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user