Index: branches/5.3.x/core/units/categories/categories_config.php
===================================================================
diff -u -r16395 -r16529
--- branches/5.3.x/core/units/categories/categories_config.php (.../categories_config.php) (revision 16395)
+++ branches/5.3.x/core/units/categories/categories_config.php (.../categories_config.php) (revision 16529)
@@ -1,6 +1,6 @@
Array (
'prefixes' => Array (), 'format' => "!la_title_AdvancedView!",
- 'toolbar_buttons' => Array ('select', 'cancel', 'new_cat', 'new_link', 'new_article', 'new_topic', 'new_product', 'edit', 'delete', 'new_listing', 'approve', 'decline', 'view', 'dbl-click'),
+ 'toolbar_buttons' => Array ('select', 'cancel', 'new_cat', 'new_link', 'new_article', 'new_topic', 'new_product', 'edit', 'delete', 'new_listing', 'approve', 'decline', 'export', 'view', 'dbl-click'),
),
'reviews' => Array (
'prefixes' => Array (), 'format' => "!la_title_Reviews!",
Index: branches/5.3.x/core/admin_templates/catalog/advanced_view.tpl
===================================================================
diff -u -r16229 -r16529
--- branches/5.3.x/core/admin_templates/catalog/advanced_view.tpl (.../advanced_view.tpl) (revision 16229)
+++ branches/5.3.x/core/admin_templates/catalog/advanced_view.tpl (.../advanced_view.tpl) (revision 16529)
@@ -75,6 +75,23 @@
a_toolbar.AddButton( new ToolBarSeparator('sep3') );
+ a_toolbar.AddButton( new ToolBarButton('export', '', function() {
+ var $export_template_prefix = $Catalog.ActivePrefix.replace(/\.showall$/, ''),
+ $export_templates = ;
+
+ if ($export_templates[$export_template_prefix] != undefined) {
+ $Catalog.storeIDs('export_categories');
+
+ open_popup($Catalog.ActivePrefix, 'OnExport', $export_templates[$export_template_prefix]);
+ }
+ else {
+ alert('');
+ }
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep4') );
+
a_toolbar.AddButton( new ToolBarButton('view', '', function() {
show_viewmenu(a_toolbar, 'view');
}