mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
Notice removal
This commit is contained in:
@@ -1727,7 +1727,7 @@ class themeHandler
|
||||
$vars['path'] = $path;
|
||||
$vars['@attributes']['default'] = (varset($vars['@attributes']['default']) && strtolower($vars['@attributes']['default']) == 'true') ? 1 : 0;
|
||||
$vars['preview'] = varset($vars['screenshots']['image']);
|
||||
$vars['thumbnail'] = $vars['preview'][0];
|
||||
$vars['thumbnail'] = varset($vars['preview'][0]);
|
||||
|
||||
unset($vars['authorEmail'], $vars['authorUrl'], $vars['xhtmlCompliant'], $vars['cssCompliant'], $vars['description'],$vars['screenshots']);
|
||||
|
||||
@@ -1765,6 +1765,9 @@ class themeHandler
|
||||
unset($val['@attributes']['name']);
|
||||
$lays[$name] = $val;
|
||||
|
||||
|
||||
if(isset($val['custompages']))
|
||||
{
|
||||
if(is_string($val['custompages']))
|
||||
{
|
||||
$custom[$name] = array_filter(explode(" ", $val['custompages']));
|
||||
@@ -1774,6 +1777,7 @@ class themeHandler
|
||||
$custom[$name] = $val['custompages'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$vars['layouts'] = $lays;
|
||||
|
@@ -129,7 +129,7 @@ function tablestyle($caption, $text, $mode)
|
||||
}
|
||||
|
||||
|
||||
if(e_IFRAME === true)
|
||||
if(deftrue('e_IFRAME'))
|
||||
{
|
||||
echo '
|
||||
<div class="block">
|
||||
|
Reference in New Issue
Block a user