[+] BO : BO width can now be fixed or flexible (you can set it up in your employee account)

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13560 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-02-23 14:42:23 +00:00
parent dbfc56473d
commit 5339d45d07
6 changed files with 17 additions and 2 deletions
+4
View File
@@ -59,6 +59,9 @@ class EmployeeCore extends ObjectModel
/** @var string employee's chosen theme */
public $bo_theme;
/** @var integer employee desired screen width */
public $bo_width;
/** @var bool, true */
public $bo_show_screencast;
@@ -84,6 +87,7 @@ class EmployeeCore extends ObjectModel
'id_profile' => array('type' => self::TYPE_INT, 'validate' => 'isInt', 'required' => true),
'bo_color' => array('type' => self::TYPE_STRING, 'validate' => 'isColor', 'size' => 32),
'bo_theme' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'size' => 32),
'bo_width' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt'),
'bo_show_screencast' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool'),
'stats_date_from' => array('type' => self::TYPE_DATE, 'validate' => 'isDate'),
'stats_date_to' => array('type' => self::TYPE_DATE, 'validate' => 'isDate'),