mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +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->addDebug("Rendering Theme Config");
|
||||
|
||||
$this->loadThemeConfig();
|
||||
@@ -951,10 +950,13 @@ class themeHandler
|
||||
if($this->themeConfigObj)
|
||||
{
|
||||
$var = call_user_func(array(&$this->themeConfigObj, 'config'));
|
||||
vartrue($text); // avoid notice
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user