Allow themes to have various variants

Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
Florian Aders (EleRas)
2013-12-29 17:35:03 +01:00
parent 675e93b99a
commit b4a345d182
6 changed files with 59 additions and 10 deletions

View File

@@ -320,8 +320,8 @@ if ($page == 'overview') {
}
$themes_avail = getThemes();
foreach ($themes_avail as $t) {
$theme_options.= makeoption($t, $t, $default_theme, true);
foreach ($themes_avail as $t => $d) {
$theme_options.= makeoption($d, $t, $default_theme, true);
}
eval("echo \"" . getTemplate("index/change_theme") . "\";");