diff --git a/admin/panels/themes/admin.themes.php b/admin/panels/themes/admin.themes.php index 72a4b67..7ce6564 100644 --- a/admin/panels/themes/admin.themes.php +++ b/admin/panels/themes/admin.themes.php @@ -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; diff --git a/admin/panels/themes/admin.themes.tpl b/admin/panels/themes/admin.themes.tpl index 3814521..3ebad4a 100644 --- a/admin/panels/themes/admin.themes.tpl +++ b/admin/panels/themes/admin.themes.tpl @@ -9,12 +9,14 @@ + +{if $available_themes} +

{$panelstrings.head2}

{$panelstrings.descr}

-{if $available_themes}