Index: core/admin_templates/incs/form_blocks.tpl =================================================================== --- core/admin_templates/incs/form_blocks.tpl +++ core/admin_templates/incs/form_blocks.tpl @@ -1277,3 +1277,125 @@
+ + + + + +    + " onclick="delete_preset()"> + + + + + + + + + + + + + + + + + + + +
+ +
+
+

:
+ + + +
+
+ +
+ +
+ +
+
Index: modules/in-commerce/admin_templates/export.tpl =================================================================== --- modules/in-commerce/admin_templates/export.tpl +++ modules/in-commerce/admin_templates/export.tpl @@ -44,40 +44,7 @@ - - - - - - - - - - - - - - -
- " onclick="move_options_up('', 1)" class="button"> - " onclick="move_options_down('', 1)" class="button">
-
-

:
- - " value="" /> - - ', '')" class="button">
-
- ', ''); select_sort('');" class="button"> -
- -
- -
+ @@ -116,9 +83,12 @@ + + + - \ No newline at end of file + Index: modules/in-commerce/admin_templates/orders/export/export.tpl =================================================================== --- modules/in-commerce/admin_templates/orders/export/export.tpl +++ modules/in-commerce/admin_templates/orders/export/export.tpl @@ -42,51 +42,8 @@ - - - - -    - " onclick="delete_preset()"> - - - - - - - - - - - - - - - - -
- " onclick="move_options_up('', 1)" class="button"> - " onclick="move_options_down('', 1)" class="button">
-
-

:
- - " value="" /> - - ', '')" class="button">
-
- ', ''); select_sort('');" class="button"> -
- -
- -
- + + @@ -95,77 +52,4 @@ - - - - \ No newline at end of file + Index: modules/in-commerce/units/products/products_config.php =================================================================== --- modules/in-commerce/units/products/products_config.php +++ modules/in-commerce/units/products/products_config.php @@ -629,6 +629,20 @@ 'LocalImage' => Array ('type' => 'string', 'default' => ''), 'LocalPath' => Array ('type' => 'string', 'default' => ''), 'FullUrl' => Array ('type' => 'string', 'default' => ''), + + // For export. + 'ExportPresets' => array( + 'type' => 'string', + 'formatter' => 'kOptionsFormatter', 'options' => array(), + 'default' => '', + ), + 'ExportSavePreset' => array( + 'type' => 'int', + 'formatter' => 'kOptionsFormatter', + 'options' => array(0 => 'la_No', 1 => 'la_Yes'), + 'use_phrases' => 1, 'default' => 0, + ), + 'ExportPresetName' => array('type' => 'string', 'default' => ''), ), 'Grids' => Array ( Index: modules/in-link/admin_templates/export.tpl =================================================================== --- modules/in-link/admin_templates/export.tpl +++ modules/in-link/admin_templates/export.tpl @@ -42,40 +42,7 @@ - - - - - - - - - - - - - - -
- " onclick="move_options_up('', 1)" class="button"> - " onclick="move_options_down('', 1)" class="button">
-
-

:
- - " value="" /> - - ', '')" class="button">
-
- ', ''); select_sort('');" class="button"> -
- -
- -
+ @@ -114,9 +81,12 @@ + + + - \ No newline at end of file + Index: modules/in-link/units/links/links_config.php =================================================================== --- modules/in-link/units/links/links_config.php +++ modules/in-link/units/links/links_config.php @@ -570,6 +570,20 @@ 'LocalImage' => Array ('type' => 'string', 'default' => ''), 'LocalPath' => Array ('type' => 'string', 'default' => ''), 'FullUrl' => Array ('type' => 'string', 'default' => ''), + + // For export. + 'ExportPresets' => array( + 'type' => 'string', + 'formatter' => 'kOptionsFormatter', 'options' => array(), + 'default' => '', + ), + 'ExportSavePreset' => array( + 'type' => 'int', + 'formatter' => 'kOptionsFormatter', + 'options' => array(0 => 'la_No', 1 => 'la_Yes'), + 'use_phrases' => 1, 'default' => 0, + ), + 'ExportPresetName' => array('type' => 'string', 'default' => ''), ), 'Grids' => Array ( Index: modules/in-news/admin_templates/export.tpl =================================================================== --- modules/in-news/admin_templates/export.tpl +++ modules/in-news/admin_templates/export.tpl @@ -43,40 +43,7 @@ - - - - - - - - - - - - - - -
- " onclick="move_options_up('', 1)" class="button"> - " onclick="move_options_down('', 1)" class="button">
-
-

:
- - " value="" /> - - ', '')" class="button">
-
- ', ''); select_sort('');" class="button"> -
- -
- -
+ @@ -115,9 +82,12 @@ + + + - \ No newline at end of file + Index: modules/in-news/units/articles/articles_config.php =================================================================== --- modules/in-news/units/articles/articles_config.php +++ modules/in-news/units/articles/articles_config.php @@ -511,6 +511,20 @@ 'DuplicateCheckFields' => Array ('type' => 'string', 'formatter' => 'kOptionsFormatter', 'options' => Array ('Title' => 'TITLE'), 'default' => '|Title|'), 'SkipFirstRow' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'default' => 1), // import related fields: end + + // For export. + 'ExportPresets' => array( + 'type' => 'string', + 'formatter' => 'kOptionsFormatter', 'options' => array(), + 'default' => '', + ), + 'ExportSavePreset' => array( + 'type' => 'int', + 'formatter' => 'kOptionsFormatter', + 'options' => array(0 => 'la_No', 1 => 'la_Yes'), + 'use_phrases' => 1, 'default' => 0, + ), + 'ExportPresetName' => array('type' => 'string', 'default' => ''), ), 'Grids' => Array (