mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +02:00
#515 - Custom theme config now shows all the fields
This commit is contained in:
@@ -943,7 +943,6 @@ class themeHandler
|
|||||||
{
|
{
|
||||||
|
|
||||||
$mes = e107::getMessage();
|
$mes = e107::getMessage();
|
||||||
|
|
||||||
$mes->addDebug("Rendering Theme Config");
|
$mes->addDebug("Rendering Theme Config");
|
||||||
|
|
||||||
$this->loadThemeConfig();
|
$this->loadThemeConfig();
|
||||||
@@ -951,10 +950,13 @@ class themeHandler
|
|||||||
if($this->themeConfigObj)
|
if($this->themeConfigObj)
|
||||||
{
|
{
|
||||||
$var = call_user_func(array(&$this->themeConfigObj, 'config'));
|
$var = call_user_func(array(&$this->themeConfigObj, 'config'));
|
||||||
|
vartrue($text); // avoid notice
|
||||||
|
|
||||||
foreach ($var as $val)
|
foreach ($var as $val)
|
||||||
{
|
{
|
||||||
$text = "<tr><td><b>".$val['caption']."</b>:</td><td colspan='2'>".$val['html']."</td></tr>";
|
$text .= "<tr><td><b>".$val['caption']."</b>:</td><td colspan='2'>".$val['html']."</td></tr>";
|
||||||
}
|
}
|
||||||
|
|
||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user