mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 13:11:52 +02:00
Notice removal
This commit is contained in:
parent
3968623022
commit
f6b1bc9394
@ -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,13 +1765,17 @@ class themeHandler
|
||||
unset($val['@attributes']['name']);
|
||||
$lays[$name] = $val;
|
||||
|
||||
if(is_string($val['custompages']))
|
||||
|
||||
if(isset($val['custompages']))
|
||||
{
|
||||
$custom[$name] = array_filter(explode(" ", $val['custompages']));
|
||||
}
|
||||
elseif(is_array($val['custompages']))
|
||||
{
|
||||
$custom[$name] = $val['custompages'];
|
||||
if(is_string($val['custompages']))
|
||||
{
|
||||
$custom[$name] = array_filter(explode(" ", $val['custompages']));
|
||||
}
|
||||
elseif(is_array($val['custompages']))
|
||||
{
|
||||
$custom[$name] = $val['custompages'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -129,7 +129,7 @@ function tablestyle($caption, $text, $mode)
|
||||
}
|
||||
|
||||
|
||||
if(e_IFRAME === true)
|
||||
if(deftrue('e_IFRAME'))
|
||||
{
|
||||
echo '
|
||||
<div class="block">
|
||||
|
Loading…
x
Reference in New Issue
Block a user