improvement: dynamically activate all installed themes (with checks on

parent availability and so on).

git-svn-id: http://piwigo.org/svn/trunk@5340 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2010-03-25 10:08:33 +00:00
parent d19e8ef859
commit 663be9ca63
4 changed files with 26 additions and 4 deletions
+6
View File
@@ -81,6 +81,12 @@ class themes
break;
}
if ('default' == $theme_id)
{
// you can't activate the "default" theme
break;
}
$missing_parent = $this->missing_parent_theme($theme_id);
if (isset($missing_parent))
{