1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 04:40:44 +02:00

Notice removal

This commit is contained in:
Cameron
2013-03-21 02:36:55 -07:00
parent 3968623022
commit f6b1bc9394
2 changed files with 12 additions and 8 deletions

View File

@@ -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;

View File

@@ -129,7 +129,7 @@ function tablestyle($caption, $text, $mode)
}
if(e_IFRAME === true)
if(deftrue('e_IFRAME'))
{
echo '
<div class="block">