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

This commit is contained in:
dMetzger
2012-02-23 14:42:23 +00:00
parent b3a0ab03e8
commit ad41e83fbc
6 changed files with 17 additions and 2 deletions
+1
View File
@@ -692,6 +692,7 @@ CREATE TABLE `PREFIX_employee` (
`stats_date_to` date default NULL,
`bo_color` varchar(32) default NULL,
`bo_theme` varchar(32) default NULL,
`bo_width` int(10) unsigned NOT NULL DEFAULT 0,
`bo_show_screencast` tinyint(1) NOT NULL default '1',
`active` tinyint(1) unsigned NOT NULL default '0',
`id_last_order` tinyint(1) unsigned NOT NULL default '0',
+2
View File
@@ -5,3 +5,5 @@ SET NAMES 'utf8';
ALTER TABLE `PREFIX_cart_rule` ADD `gift_product_attribute` int(10) unsigned NOT NULL default 0 AFTER `gift_product`;
UPDATE `PREFIX_product` set is_virtual = 1 WHERE id_product IN (SELECT id_product FROM `PREFIX_product_download` WHERE active = 1);
ALTER TABLE `PREFIX_employee` ADD `bo_width` int(10) unsigned NOT NULL DEFAULT 0 AFTER `bo_theme`;