mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
Some Menu-Manager work and PHP Notice and styling fixes.
This commit is contained in:
@@ -786,6 +786,7 @@ if (!class_exists('e107table', false))
|
||||
public $eSetStyle;
|
||||
private $themeClass = '';
|
||||
private $adminThemeClass = '';
|
||||
public $frontend = null;
|
||||
|
||||
|
||||
function __construct()
|
||||
@@ -844,6 +845,8 @@ if (!class_exists('e107table', false))
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Output the styled template.
|
||||
* @param $caption
|
||||
@@ -853,7 +856,7 @@ if (!class_exists('e107table', false))
|
||||
private function tablestyle($caption, $text, $mode)
|
||||
{
|
||||
|
||||
if(class_exists($this->adminThemeClass))
|
||||
if(class_exists($this->adminThemeClass) && ($this->frontend == false))
|
||||
{
|
||||
$thm = new $this->adminThemeClass();
|
||||
}
|
||||
|
Reference in New Issue
Block a user