mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 21:32:09 +02:00
Issue #435 - More Bootstrap3 styling fixes. Login-menu shortcodes updated to v2 spec.
This commit is contained in:
@@ -216,7 +216,7 @@ if (!isset($FORUM_MAIN_START))
|
||||
include(e_PLUGIN.'forum/templates/forum_template.php');
|
||||
|
||||
|
||||
if(is_array($FORUM_TEMPLATE) && (BOOTSTRAP === true)) // new v2.x format.
|
||||
if(is_array($FORUM_TEMPLATE) && deftrue('BOOTSTRAP',false)) // new v2.x format.
|
||||
{
|
||||
|
||||
$FORUM_MAIN_START = $FORUM_TEMPLATE['main-start'];
|
||||
|
@@ -514,7 +514,7 @@ if (!vartrue($FORUMPOST))
|
||||
}
|
||||
}
|
||||
|
||||
if(isset($FORUMPOST_TEMPLATE) && (BOOTSTRAP === true))
|
||||
if(isset($FORUMPOST_TEMPLATE) && (deftrue('BOOTSTRAP',false)))
|
||||
{
|
||||
$FORUMPOST = $FORUMPOST_TEMPLATE['form'];
|
||||
$FORUMPOST_REPLY = $FORUMPOST_TEMPLATE['form'];
|
||||
|
@@ -88,7 +88,7 @@ if (!vartrue($FORUM_VIEW_START))
|
||||
}
|
||||
|
||||
|
||||
if(is_array($FORUM_VIEWFORUM_TEMPLATE) && (BOOTSTRAP === true)) // New v2.x bootstrap Template.
|
||||
if(is_array($FORUM_VIEWFORUM_TEMPLATE) && deftrue('BOOTSTRAP',false)) // New v2.x bootstrap Template.
|
||||
{
|
||||
|
||||
$FORUM_VIEW_START_CONTAINER = $FORUM_VIEWFORUM_TEMPLATE['start'];
|
||||
|
@@ -180,7 +180,7 @@ if (!vartrue($FORUMSTART))
|
||||
|
||||
|
||||
// New in v2.x
|
||||
if(is_array($FORUM_VIEWTOPIC_TEMPLATE) && (BOOTSTRAP === true))
|
||||
if(is_array($FORUM_VIEWTOPIC_TEMPLATE) && deftrue('BOOTSTRAP',false))
|
||||
{
|
||||
$FORUMSTART = $FORUM_VIEWTOPIC_TEMPLATE['start'];
|
||||
$FORUMTHREADSTYLE = $FORUM_VIEWTOPIC_TEMPLATE['thread'];
|
||||
|
Reference in New Issue
Block a user