Index: branches/5.1.x/core/install/step_templates/select_theme.tpl =================================================================== diff -u -N -r12657 -r13086 --- branches/5.1.x/core/install/step_templates/select_theme.tpl (.../select_theme.tpl) (revision 12657) +++ branches/5.1.x/core/install/step_templates/select_theme.tpl (.../select_theme.tpl) (revision 13086) @@ -11,14 +11,16 @@ $default_theme = $incommerce_only ? 'onlinestore' : 'default'; if ($default_theme == 'default') { - if (file_exists(FULL_PATH . '/themes/default2007')) { - $default_theme = 'default2007'; + // default theme since 5.0.2 + if (file_exists(FULL_PATH . '/themes/default')) { + $default_theme = 'default'; } - - // default theme since 5.0.1 - if (file_exists(FULL_PATH . '/themes/simple')) { + elseif (file_exists(FULL_PATH . '/themes/simple')) { $default_theme = 'simple'; - } + } + elseif (file_exists(FULL_PATH . '/themes/advanced')) { + $default_theme = 'advanced'; + } } $themes = $this->toolkit->getThemes(); @@ -32,5 +34,7 @@ } ?> + +    \ No newline at end of file