1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-01 02:21:58 +02:00

Closes #4141 - Upgraded theme specification for v2.3.0+. See bootstrap3/theme.php for details. Use 'theme' class.

This commit is contained in:
Cameron
2020-04-28 14:00:19 -07:00
parent 8d73a79427
commit 568d8feb77
7 changed files with 93 additions and 69 deletions

View File

@@ -124,7 +124,10 @@ e107::coreLan('admin', true);
if(e_MENUMANAGER_ACTIVE === true || vartrue($_GET['enc']))
{
if(class_exists('theme')) // v2.3.0+
{
$tmpTemp = new theme; // load __construct() in case it contains CSS etc.
}
$JSMODAL = <<<TEMPL
$(function() {
@@ -762,6 +765,8 @@ class e_layout
$theme = e107::getPref('sitetheme');
require_once(e_THEME.$theme."/theme.php");
$this->HEADER = $HEADER;
$this->FOOTER = $FOOTER;