non-theme dir were listed as themes. now checking for the existance of $dir/themes.conf.php : old-style themes will be therefore IGNORED
This commit is contained in:
parent
3daa91a8a5
commit
846adeccf9
@ -94,6 +94,9 @@
|
||||
|
||||
$f = $d . '/theme.conf.php';
|
||||
|
||||
if (!file_exists($f))
|
||||
continue;
|
||||
|
||||
$theme = admin_theme_data($d . '/theme.conf.php', $thm, $this->defprev);
|
||||
|
||||
$info[] = $theme;
|
||||
|
@ -9,12 +9,14 @@
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{if $available_themes}
|
||||
|
||||
<div id="available-themes">
|
||||
|
||||
<h2>{$panelstrings.head2}</h2>
|
||||
<p>{$panelstrings.descr}</p>
|
||||
|
||||
{if $available_themes}
|
||||
|
||||
<ul>
|
||||
{foreach from=$available_themes item=thm}
|
||||
|
Loading…
x
Reference in New Issue
Block a user