This commit is contained in:
rGaillard
2011-07-06 13:52:30 +00:00
parent fc28eb57bf
commit 858bb539c8
@@ -524,6 +524,9 @@ class ThemeInstallator extends Module
if ((int)(Tools::getValue('imagesConfig')) != 3 AND self::updateImages())
$msg .= '<br /><b>'.$this->l('Images have been correctly updated in database').'</b><br />';
$theme = new Theme();
$theme->name = pSQL($this->xml['name']);
$theme->add();
$this->_msg .= parent::displayConfirmation($msg);
$this->_html .= '
<input type="submit" class="button" name="submitThemes" value="'.$this->l('Previous').'" />