// Move theme choice from AdminTheme page to Shop page
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7848 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+4
-3
@@ -29,7 +29,6 @@ class ThemeCore extends ObjectModel
|
||||
{
|
||||
public $name;
|
||||
|
||||
|
||||
protected $fieldsSize = array('name' => 64);
|
||||
protected $fieldsValidate = array('name' => 'isGenericName');
|
||||
protected $table = 'theme';
|
||||
@@ -44,7 +43,9 @@ class ThemeCore extends ObjectModel
|
||||
|
||||
public static function getThemes()
|
||||
{
|
||||
return Db::getInstance()->ExecuteS('SELECT *
|
||||
FROM '._DB_PREFIX_.'theme');
|
||||
$sql = 'SELECT *
|
||||
FROM '._DB_PREFIX_.'theme
|
||||
ORDER BY name';
|
||||
return Db::getInstance()->ExecuteS($sql);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user