Index: branches/5.1.x/admin_templates/products/products_packagecontent.tpl
===================================================================
diff -u -r13100 -r13938
--- branches/5.1.x/admin_templates/products/products_packagecontent.tpl (.../products_packagecontent.tpl) (revision 13100)
+++ branches/5.1.x/admin_templates/products/products_packagecontent.tpl (.../products_packagecontent.tpl) (revision 13938)
@@ -84,7 +84,7 @@
/
-
+
">
">
Index: branches/5.1.x/admin_templates/products/option_combinations.tpl
===================================================================
diff -u -r13100 -r13938
--- branches/5.1.x/admin_templates/products/option_combinations.tpl (.../option_combinations.tpl) (revision 13100)
+++ branches/5.1.x/admin_templates/products/option_combinations.tpl (.../option_combinations.tpl) (revision 13938)
@@ -153,7 +153,7 @@
-
+
Index: branches/5.1.x/units/files/files_config.php
===================================================================
diff -u -r13549 -r13938
--- branches/5.1.x/units/files/files_config.php (.../files_config.php) (revision 13549)
+++ branches/5.1.x/units/files/files_config.php (.../files_config.php) (revision 13938)
@@ -1,6 +1,6 @@
true,
'AutoClone' => true,
- 'ListSQLs' => Array ( '' => 'SELECT * FROM %s',
- ), // key - special, value - list select sql
- 'ItemSQLs' => Array ( '' => 'SELECT * FROM %s',
- ),
- 'FilterMenu' => Array (
- 'Groups' => Array (
- Array ('mode' => 'AND', 'filters' => Array ('show_active', 'show_disabled'), 'type' => WHERE_FILTER),
- ),
- 'Filters' => Array (
- 'show_active' => Array ('label' => 'la_Active', 'on_sql' => '', 'off_sql' => '%1$s.Status != 1' ),
- 'show_disabled' => Array ('label' => 'la_Disabled', 'on_sql' => '', 'off_sql' => '%1$s.Status != 0' ),
- )
- ),
+ 'ListSQLs' => Array (
+ '' => 'SELECT * FROM %s',
+ ), // key - special, value - list select sql
+
+ 'ItemSQLs' => Array (
+ '' => 'SELECT * FROM %s',
+ ),
+
'ListSortings' => Array (
- '' => Array (
- 'ForcedSorting' => Array ('IsPrimary' => 'desc', 'Priority' => 'desc'),
- 'Sorting' => Array ('AddedOn' => 'desc', 'Version' => 'desc'),
- )
- ),
+ '' => Array (
+ 'ForcedSorting' => Array ('IsPrimary' => 'desc', 'Priority' => 'desc'),
+ 'Sorting' => Array ('AddedOn' => 'desc', 'Version' => 'desc'),
+ )
+ ),
+
'Fields' => Array (
'FileId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0,),
'ProductId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0,),
@@ -87,8 +83,8 @@
'upload_dir' => ITEM_FILES_PATH, 'include_path' => 0,
'size_field' => 'Size', 'max_size' => 50000000,
'orig_name_field' => 'FilePath',
- 'content_type_field' => 'MIMEType',
- 'not_null' => 1, 'skip_empty' =>1, 'default' => '',
+ 'content_type_field' => 'MIMEType',
+ 'not_null' => 1, 'skip_empty' =>1, 'default' => '',
'error_msgs' => Array (
'bad_file_format' => '!la_error_InvalidFileFormat!',
'bad_file_size' => '!la_error_FileTooLarge!',
@@ -102,24 +98,24 @@
),
'Status' => Array (
'type' => 'int',
- 'formatter' => 'kOptionsFormatter',
- 'options' => Array ( 0 => 'la_Disabled', 1 => 'la_Active', ), 'use_phrases' => 1,
- 'not_null' => 1, 'default' => 0,
+ 'formatter' => 'kOptionsFormatter',
+ 'options' => Array ( 0 => 'la_Disabled', 1 => 'la_Active', ), 'use_phrases' => 1,
+ 'not_null' => 1, 'default' => 0,
),
'IsPrimary' => Array (
'type' => 'int',
- 'formatter' => 'kOptionsFormatter',
- 'options' => Array ( 0 => 'la_No', 1 => 'la_Yes', ), 'use_phrases' => 1,
+ 'formatter' => 'kOptionsFormatter',
+ 'options' => Array ( 0 => 'la_No', 1 => 'la_Yes', ), 'use_phrases' => 1,
'not_null' => 1, 'default' => 0,
),
'Priority' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0),
'AddedOn' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'),
'AddedById' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0),
'MIMEType' => Array ('type' => 'string', 'not_null' => '1', 'default' => ''),
),
-
+
'VirtualFields' => Array (
-
+
),
'Grids' => Array (
@@ -140,6 +136,7 @@
'Version' => Array ( 'title' => 'la_col_Version', 'filter_block' => 'grid_like_filter'),
'Size' => Array ( 'title' => 'la_col_Size', 'filter_block' => 'grid_float_range_filter'),
'AddedOn' => Array ( 'title' => 'la_col_AddedOn', 'format' => '_regional_DateFormat', 'filter_block' => 'grid_date_range_filter'),
+ 'Status' => Array ( 'title' => 'la_col_Status', 'filter_block' => 'grid_options_filter'),
),
),
),
Index: branches/5.1.x/admin_templates/orders/orders_search_list.tpl
===================================================================
diff -u -r13100 -r13938
--- branches/5.1.x/admin_templates/orders/orders_search_list.tpl (.../orders_search_list.tpl) (revision 13100)
+++ branches/5.1.x/admin_templates/orders/orders_search_list.tpl (.../orders_search_list.tpl) (revision 13938)
@@ -53,7 +53,7 @@
-
+
Index: branches/5.1.x/admin_templates/discounts/discounts_list.tpl
===================================================================
diff -u -r13100 -r13938
--- branches/5.1.x/admin_templates/discounts/discounts_list.tpl (.../discounts_list.tpl) (revision 13100)
+++ branches/5.1.x/admin_templates/discounts/discounts_list.tpl (.../discounts_list.tpl) (revision 13938)
@@ -53,7 +53,7 @@
-
+
Index: branches/5.1.x/admin_templates/products/products_relations.tpl
===================================================================
diff -u -r13100 -r13938
--- branches/5.1.x/admin_templates/products/products_relations.tpl (.../products_relations.tpl) (revision 13100)
+++ branches/5.1.x/admin_templates/products/products_relations.tpl (.../products_relations.tpl) (revision 13938)
@@ -92,7 +92,7 @@
-
+
Index: branches/5.1.x/admin_templates/discounts/coupons_list.tpl
===================================================================
diff -u -r13100 -r13938
--- branches/5.1.x/admin_templates/discounts/coupons_list.tpl (.../coupons_list.tpl) (revision 13100)
+++ branches/5.1.x/admin_templates/discounts/coupons_list.tpl (.../coupons_list.tpl) (revision 13938)
@@ -59,7 +59,7 @@
-
+
Index: branches/5.1.x/admin_templates/products/products_reviews.tpl
===================================================================
diff -u -r13100 -r13938
--- branches/5.1.x/admin_templates/products/products_reviews.tpl (.../products_reviews.tpl) (revision 13100)
+++ branches/5.1.x/admin_templates/products/products_reviews.tpl (.../products_reviews.tpl) (revision 13938)
@@ -107,7 +107,7 @@
-
+
Index: branches/5.1.x/admin_templates/shipping/shipping_list.tpl
===================================================================
diff -u -r13100 -r13938
--- branches/5.1.x/admin_templates/shipping/shipping_list.tpl (.../shipping_list.tpl) (revision 13100)
+++ branches/5.1.x/admin_templates/shipping/shipping_list.tpl (.../shipping_list.tpl) (revision 13938)
@@ -45,7 +45,7 @@
-
+
Index: branches/5.1.x/units/discounts/discounts_config.php
===================================================================
diff -u -r13156 -r13938
--- branches/5.1.x/units/discounts/discounts_config.php (.../discounts_config.php) (revision 13156)
+++ branches/5.1.x/units/discounts/discounts_config.php (.../discounts_config.php) (revision 13938)
@@ -1,6 +1,6 @@
Array(
- 'Groups' => Array(
- Array('mode' => 'AND', 'filters' => Array(0,1,2), 'type' => WHERE_FILTER),
- Array('mode' => 'AND', 'filters' => Array(4,5,6), 'type' => WHERE_FILTER),
- ),
- 'Filters' => Array(
- 0 => Array('label' =>'la_Active', 'on_sql' => '', 'off_sql' => 'Status != 1' ),
- 1 => Array('label' => 'la_Pending', 'on_sql' => '', 'off_sql' => 'Status != 2' ),
- 2 => Array('label' => 'la_Disabled', 'on_sql' => '', 'off_sql' => 'Status != 0' ),
- 3 => Array(),
- 4 => Array('label' => 'la_Flat', 'on_sql' => '', 'off_sql' => 'Type != 1' ),
- 5 => Array('label' => 'la_Percent', 'on_sql' => '', 'off_sql' => 'Type != 2' ),
- 6 => Array('label' => 'la_FreeShipping', 'on_sql' => '', 'off_sql' => 'Type != 3' ),
- )
- ),
-
'ListSQLs' => Array( ''=>'SELECT %1$s.* %2$s FROM %1$s',
), // key - special, value - list select sql
'ItemSQLs' => Array( ''=>'SELECT * FROM %1$s',
@@ -111,41 +95,47 @@
'Sorting' => Array('Name' => 'asc'),
)
),
- 'Fields' => Array(
- 'DiscountId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0),
- 'Status' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array ( 1 => 'la_Active', 2 => 'la_Pending', 0 => 'la_Disabled' ), 'use_phrases' => 1, 'default' => 2 ),
- 'Name' => Array('type'=>'string','required' => 1, 'default' => null, 'max_len'=>255),
- 'Start' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'),
- 'End' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => null),
- 'GroupId' => Array(
- 'type' => 'int',
- 'formatter'=>'kOptionsFormatter', 'options_sql'=>'SELECT %s FROM '.TABLE_PREFIX.'PortalGroup WHERE Personal = 0 ORDER BY Name', 'option_key_field'=>'GroupId', 'option_title_field'=>'Name',
- 'required' => 1, 'default' => NULL
- ),
- 'Type' => Array('type' => 'int', 'formatter'=>'kOptionsFormatter', 'use_phrases' => 1, 'options' => Array ( 1 => 'la_Flat', 2 => 'la_Percent'/*, 3 => 'la_FreeShipping' */), 'default' => 1 ),
- 'Amount' => Array('type'=>'double', 'default' => null),
+ 'Fields' => Array (
+ 'DiscountId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0),
+ 'Status' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array ( 1 => 'la_Active', 2 => 'la_Pending', 0 => 'la_Disabled' ), 'use_phrases' => 1, 'default' => 2 ),
+ 'Name' => Array('type'=>'string','required' => 1, 'default' => null, 'max_len'=>255),
+ 'Start' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'),
+ 'End' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => null),
+ 'GroupId' => Array(
+ 'type' => 'int',
+ 'formatter'=>'kOptionsFormatter', 'options_sql'=>'SELECT %s FROM '.TABLE_PREFIX.'PortalGroup WHERE Personal = 0 ORDER BY Name', 'option_key_field'=>'GroupId', 'option_title_field'=>'Name',
+ 'required' => 1, 'default' => NULL
+ ),
+ 'Type' => Array(
+ 'type' => 'int',
+ 'formatter' => 'kOptionsFormatter',
+ 'options' => Array (
+ 1 => 'la_Flat', 2 => 'la_Percent'/*, 3 => 'la_FreeShipping' */
+ ),
+ 'use_phrases' => 1, 'default' => 1,
+ ),
+ 'Amount' => Array('type'=>'double', 'default' => null),
+ ),
- ),
-
- 'Grids' => Array(
- 'Default' => Array(
- 'Icons' => Array(
- 'default' => 'icon16_item.png',
- 0 => 'icon16_disabled.png',
- 1 => 'icon16_item.png',
- 2 => 'icon16_pending.png',
- 'module' => 'core',
- ),
- 'Fields' => Array(
- 'DiscountId' => Array( 'title'=>'la_col_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ),
- 'Name' => Array( 'title'=>'la_col_Name', 'filter_block' => 'grid_like_filter', 'width' => 200, ),
- 'Start' => Array( 'title'=>'la_col_Start', 'filter_block' => 'grid_date_range_filter', 'width' => 140, ),
- 'End' => Array( 'title'=>'la_col_End', 'filter_block' => 'grid_date_range_filter', 'width' => 140, ),
- 'GroupId' => Array( 'title'=>'la_col_Group', 'filter_block' => 'grid_options_filter', 'width' => 150, ),
- 'Type' => Array( 'title'=>'la_col_Type', 'filter_block' => 'grid_options_filter', 'width' => 90, ),
- 'Amount' => Array( 'title'=>'la_col_Amount', 'filter_block' => 'grid_float_range_filter', 'width' => 100, ),
- ),
-
- ),
- ),
+ 'Grids' => Array (
+ 'Default' => Array (
+ 'Icons' => Array(
+ 'default' => 'icon16_item.png',
+ 0 => 'icon16_disabled.png',
+ 1 => 'icon16_item.png',
+ 2 => 'icon16_pending.png',
+ 'module' => 'core',
+ ),
+ 'Fields' => Array (
+ 'DiscountId' => Array( 'title'=>'la_col_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ),
+ 'Name' => Array( 'title'=>'la_col_Name', 'filter_block' => 'grid_like_filter', 'width' => 200, ),
+ 'Start' => Array( 'title'=>'la_col_Start', 'filter_block' => 'grid_date_range_filter', 'width' => 140, ),
+ 'End' => Array( 'title'=>'la_col_End', 'filter_block' => 'grid_date_range_filter', 'width' => 140, ),
+ 'GroupId' => Array( 'title'=>'la_col_Group', 'filter_block' => 'grid_options_filter', 'width' => 150, ),
+ 'Type' => Array( 'title'=>'la_col_Type', 'filter_block' => 'grid_options_filter', 'width' => 90, ),
+ 'Status' => Array( 'title'=>'la_col_Status', 'filter_block' => 'grid_options_filter', 'width' => 90, ),
+ 'Amount' => Array( 'title'=>'la_col_Amount', 'filter_block' => 'grid_float_range_filter', 'width' => 100, ),
+ ),
+ ),
+ ),
);
\ No newline at end of file
Index: branches/5.1.x/admin_templates/payment_type/payment_type_list.tpl
===================================================================
diff -u -r13100 -r13938
--- branches/5.1.x/admin_templates/payment_type/payment_type_list.tpl (.../payment_type_list.tpl) (revision 13100)
+++ branches/5.1.x/admin_templates/payment_type/payment_type_list.tpl (.../payment_type_list.tpl) (revision 13938)
@@ -81,7 +81,7 @@
-
+