Update of /cvsroot/zencart/zen-cart/includes/modules/product_types
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14134
Modified Files:
Tag: develop-relv1-1-0-branch
products_general.php
Log Message:
part 5 of the commit to move product types to a simple module system
Index: products_general.php
===================================================================
RCS file: /cvsroot/zencart/zen-cart/includes/modules/product_types/Attic/products_general.php,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** products_general.php 18 Mar 2004 21:14:38 -0000 1.1.2.3
--- products_general.php 20 Mar 2004 14:10:49 -0000 1.1.2.4
***************
*** 45,70 ****
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Propducts-general Module', 'MODULE_PRODUCTS_GENERAL_STATUS', 'True', '', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())");
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort order of display.', 'MODULE_PRODUCTS_GENERAL_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', '6', '0', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Display Product Image.', 'MODULE_PRODUCTS_GENERAL_LIST_IMAGE', 'True', 'Do you want to display the Product Image?', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Display Product Manufaturer Name', 'MODULE_PRODUCTS_GENERAL_LIST_MANUFACTURER', 'True', 'Do you want to display the Product Manufacturer Name?', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Display Product Model', 'MODULE_PRODUCTS_GENERAL_LIST_MODEL', 'True', 'Do you want to display the Product Model?', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Display Product Name', 'MODULE_PRODUCTS_GENERAL_LIST_NAME', 'True', 'Do you want to display the Product Name?', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Display Product Price/Buy Now', 'MODULE_PRODUCTS_GENERAL_LIST_PRICE', 'True', 'Do you want to display the Product Price/Buy Now?', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Display Product Quantity', 'MODULE_PRODUCTS_GENERAL_LIST_QUANTITY', 'True', 'Do you want to display the Product Quantity?', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Display Product Price/Buy Now Column Width', 'MODULE_PRODUCTS_GENERAL_LIST_PRICE_WIDTH', '125', 'Define the width of the Price/Buy Now column<br />Default= 125', '6', '0', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Display Category/Manufacturer Filter', 'MODULE_PRODUCTS_GENERAL_LIST_FILTER', 'True', 'Do you want to display the Category/Manufacturer Filter?', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Prev/Next Split Page Navigation (1-top, 2-bottom, 3-both)', 'MODULE_PRODUCTS_GENERAL_PREV_NEXT_BAR_LOCATION', '3', 'Sets the location of the Prev/Next Split Page Navigation', '6', '0', 'zen_cfg_select_option(array(\'1\', \'2\', \'3\'), ', now())");
}
/*
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Manufaturer Name','PRODUCT_LIST_MANUFACTURER', '0', 'Do you want to display the Product Manufacturer Name?', '8', '2', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Model', 'PRODUCT_LIST_MODEL', '0', 'Do you want to display the Product Model?', '8', '3', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Name', 'PRODUCT_LIST_NAME', '2', 'Do you want to display the Product Name?', '8', '4', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Price/Buy Now', 'PRODUCT_LIST_PRICE', '3', 'Do you want to display the Product Price/Buy Now', '8', '5', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Quantity', 'PRODUCT_LIST_QUANTITY', '0', 'Do you want to display the Product Quantity?', '8', '6', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Weight', 'PRODUCT_LIST_WEIGHT', '0', 'Do you want to display the Product Weight?', '8', '7', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Price/Buy Now Column Width', 'PRODUCTS_LIST_PRICE_WIDTH', '125', 'Define the width of the Price/Buy Now column<br />Default= 125', '8', '8', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Display Category/Manufacturer Filter (0=off; 1=on)', 'PRODUCT_LIST_FILTER', '1', 'Do you want to display the Category/Manufacturer Filter?', '8', '9', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Prev/Next Split Page Navigation (1-top, 2-bottom, 3-both)', 'PREV_NEXT_BAR_LOCATION', '3', 'Sets the location of the Prev/Next Split Page Navigation', '8', '10', 'zen_cfg_select_option(array(\'1\', \'2\', \'3\'), ', now());
*/
function remove() {
global $db;
--- 45,86 ----
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Propducts-general Module', 'MODULE_PRODUCTS_GENERAL_STATUS', 'True', '', '6', '0', 'zen_cfg_select_option(array(\'True\', \'False\'), ', now())");
$db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort order of display.', 'MODULE_PRODUCTS_GENERAL_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', '6', '0', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Model Number', 'MODULE_PRODUCTS_GENERAL_SHOW_MODEL', '1', 'Display Model Number on Product Info', '6', '1', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'True\'), array(\'id\'=>\'0\', \'text\'=>\'False\')), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Weight', 'MODULE_PRODUCTS_GENERAL_SHOW_WEIGHT', '1', 'Display Weight on Product Info', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'True\'), array(\'id\'=>\'0\', \'text\'=>\'False\')), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Attribute Weight', 'MODULE_PRODUCTS_GENERAL_SHOW_WEIGHT_ATTRIBUTES', '1', 'Display Attribute Weight on Product Info', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'True\'), array(\'id\'=>\'0\', \'text\'=>\'False\')), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Manufacturer', 'MODULE_PRODUCTS_GENERAL_SHOW_MANUFACTURER', '1', 'Display Manufacturer Name on Product Info', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'True\'), array(\'id\'=>\'0\', \'text\'=>\'False\')), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Quantity in Shopping Cart', 'MODULE_PRODUCTS_GENERAL_SHOW_CART_QTY', '1', 'Display Cart Quantity on Product Info', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'True\'), array(\'id\'=>\'0\', \'text\'=>\'False\')), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Quantity in Stock', 'MODULE_PRODUCTS_GENERAL_SHOW_QUANTITY', '1', 'Display Quantity in Stock on Product Info', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'True\'), array(\'id\'=>\'0\', \'text\'=>\'False\')), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Product Reviews Count', 'MODULE_PRODUCTS_GENERAL_SHOW_REVIEWS_COUNT', '1', 'Display Product Reviews Count on Product Info', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'True\'), array(\'id\'=>\'0\', \'text\'=>\'False\')), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Product Reviews Button', 'MODULE_PRODUCTS_GENERAL_SHOW_REVIEWS', '1', 'Display Product Reviews Button on Product Info', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'True\'), array(\'id\'=>\'0\', \'text\'=>\'False\')), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Date Available', 'MODULE_PRODUCTS_GENERAL_SHOW_DATE_AVAILABLE', '1', 'Display Date Available on Product Info', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'True\'), array(\'id\'=>\'0\', \'text\'=>\'False\')), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Date Added', 'MODULE_PRODUCTS_GENERAL_SHOW_DATE_ADDED', '1', 'Display Date Added on Product Info', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'True\'), array(\'id\'=>\'0\', \'text\'=>\'False\')), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Product URL', 'MODULE_PRODUCTS_GENERAL_SHOW_URL', '1', 'Display Product URL on Product Info', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'True\'), array(\'id\'=>\'0\', \'text\'=>\'False\')), ', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Previous Next - Navigation Bar Position', 'MODULE_PRODUCTS_GENERAL_PREVIOUS_NEXT', '3', 'Location of Previous/Next Navigation Bar', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'0\', \'text\'=>\'Off\'), array(\'id\'=>\'1\', \'text\'=>\'Top of Page\'), array(\'id\'=>\'2\', \'text\'=>\'Bottom of Page\'), array(\'id\'=>\'3\', \'text\'=>\'Both Top & Bottom of Page\')),', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Previous Next - Sort Order', 'MODULE_PRODUCTS_GENERAL_PREVIOUS_NEXT_SORT', '0', 'Products Display Order by', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'0\', \'text\'=>\'Product ID\'), array(\'id\'=>\'1\', \'text\'=>\'Name\'), array(\'id\'=>\'2\', \'text\'=>\'Product Model\'), array(\'id\'=>\'3\', \'text\'=>\'Product Price - Name\'), array(\'id\'=>\'4\', \'text\'=>\'Product Price - Model\'), array(\'id\'=>\'5\', \'text\'=>\'Product Name - Model\')),', now())");
!
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Previous Next - Navigation Includes Category', 'MODULE_PRODUCTS_GENERAL_CATEGORIES', '1', 'Product\'s Category Image and Name Alignment Above Previous/Next Navigation Bar', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'0\', \'text\'=>\'Off\'), array(\'id\'=>\'1\', \'text\'=>\'Align Left\'), array(\'id\'=>\'2\', \'text\'=>\'Align Center\'), array(\'id\'=>\'3\', \'text\'=>\'Align Right\')),', now())");
! $db->Execute("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Show Product Tell a Friend button', 'MODULE_PRODUCTS_GENERAL_TELL_A_FRIEND', 'True', 'Display the Tell a Friend button on Product Info<br /><br />Note: Turning this setting off does not affect the Tell a Friend box in the columns and turning off the Tell a Friend box does not affect the button', '6', '0', 'zen_cfg_select_drop_down(array(array(\'id\'=>\'1\', \'text\'=>\'True\'), array(\'id\'=>\'0\', \'text\'=>\'False\')), ', now())");
}
/*
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Model Number', 'SHOW_PRODUCT_INFO_MODEL', '1', 'Display Model Number on Product Info 0= off 1= on', '18', '1', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Weight', 'SHOW_PRODUCT_INFO_WEIGHT', '1', 'Display Weight on Product Info 0= off 1= on', '18', '2', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Attribute Weight', 'SHOW_PRODUCT_INFO_WEIGHT_ATTRIBUTES', '1', 'Display Attribute Weight on Product Info 0= off 1= on', '18', '3', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Manufacture', 'SHOW_PRODUCT_INFO_MANUFACTURER', '1', 'Display Manufacture Name on Product Info 0= off 1= on', '18', '4', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Quantity in Shopping Cart', 'SHOW_PRODUCT_INFO_IN_CART_QTY', '1', 'Display CART_QTY on Product Info 0= off 1= on', '18', '5', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Quantity in Stock', 'SHOW_PRODUCT_INFO_QUANTITY', '1', 'Display Quantity in Stock on Product Info 0= off 1= on', '18', '6', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Product Reviews Count', 'SHOW_PRODUCT_INFO_REVIEWS_COUNT', '1', 'Display Product Reviews Count on Product Info 0= off 1= on', '18', '7', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Product Reviews Button', 'SHOW_PRODUCT_INFO_REVIEWS', '1', 'Display Product Reviews Button on Product Info 0= off 1= on', '18', '8', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Date Available', 'SHOW_PRODUCT_INFO_DATE_AVAILABLE', '1', 'Display Date Available on Product Info 0= off 1= on', '18', '9', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Date Added', 'SHOW_PRODUCT_INFO_DATE_ADDED', '1', 'Display Date Added on Product Info 0= off 1= on', '18', '10', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Product URL', 'SHOW_PRODUCT_INFO_URL', '1', 'Display URL on Product Info 0= off 1= on', '18', '11', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Previous Next - Navigation Bar Position', 'PRODUCT_INFO_PREVIOUS_NEXT', '1', 'Location of Previous/Next Navigation Bar<br />0= off<br />1= Top of Page<br />2= Bottom of Page<br />3= Both Top and Bottom of Page', 18, 12, now(), now(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\'),');
! //INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Previous Next - Sort Order', 'PRODUCT_INFO_PREVIOUS_NEXT_SORT', '1', 'Products Display Order by<br />0= Product ID<br />1= Product Name<br />2= Model<br />3= Price, Product Name<br />4= Price, Model<br />5= Product Name, Model', 18, 13, now(), now(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\', \'4\', \'5\'),');
!
!
! INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Previous Next - Navigation Includes Category', 'PRODUCT_INFO_CATEGORIES', '1', 'Product\'s Category Image and Name Alignment Above Previous/Next Navigation Bar<br />0= off<br />1= Align Left<br />2= Align Center<br />3= Align Right', 18, 14, now(), now(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\'),');
! INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Show Product Tell a Friend button', 'SHOW_PRODUCT_INFO_TELL_A_FRIEND', '1', 'Display the Tell a Friend button on Product Info<br /><br />Note: Turning this setting off does not affect the Tell a Friend box in the columns and turning off the Tell a Friend box does not affect the button<br />0= off 1= on', '18', '15', 'zen_cfg_select_option(array(\'0\', \'1\'), ', now());
*/
+
function remove() {
global $db;
***************
*** 73,77 ****
function keys() {
! return array('MODULE_PRODUCTS_GENERAL_STATUS', 'MODULE_PRODUCTS_GENERAL_SORT_ORDER', 'MODULE_PRODUCTS_GENERAL_LIST_IMAGE', 'MODULE_PRODUCTS_GENERAL_LIST_MANUFACTURER', 'MODULE_PRODUCTS_GENERAL_LIST_MODEL', 'MODULE_PRODUCTS_GENERAL_LIST_NAME', 'MODULE_PRODUCTS_GENERAL_LIST_PRICE', 'MODULE_PRODUCTS_GENERAL_LIST_QUANTITY', 'MODULE_PRODUCTS_GENERAL_LIST_PRICE_WIDTH', 'MODULE_PRODUCTS_GENERAL_LIST_FILTER', 'MODULE_PRODUCTS_GENERAL_PREV_NEXT_BAR_LOCATION');
}
}
--- 89,95 ----
function keys() {
! return array('MODULE_PRODUCTS_GENERAL_STATUS', 'MODULE_PRODUCTS_GENERAL_SORT_ORDER','MODULE_PRODUCTS_GENERAL_SHOW_MODEL','MODULE_PRODUCTS_GENERAL_SHOW_WEIGHT','MODULE_PRODUCTS_GENERAL_SHOW_WEIGHT_ATTRIBUTES','MODULE_PRODUCTS_GENERAL_SHOW_MANUFACTURER','MODULE_PRODUCTS_GENERAL_SHOW_CART_QTY',
! 'MODULE_PRODUCTS_GENERAL_SHOW_QUANTITY','MODULE_PRODUCTS_GENERAL_SHOW_REVIEWS_COUNT', 'MODULE_PRODUCTS_GENERAL_SHOW_REVIEWS', 'MODULE_PRODUCTS_GENERAL_SHOW_DATE_AVAILABLE', 'MODULE_PRODUCTS_GENERAL_SHOW_DATE_ADDED',
! 'MODULE_PRODUCTS_GENERAL_SHOW_URL', 'MODULE_PRODUCTS_GENERAL_PREVIOUS_NEXT', 'MODULE_PRODUCTS_GENERAL_PREVIOUS_NEXT_SORT', 'MODULE_PRODUCTS_GENERAL_CATEGORIES', 'MODULE_PRODUCTS_GENERAL_TELL_A_FRIEND');
}
}
|