Index: branches/RC/core/admin_templates/catalog_tab.tpl =================================================================== diff -u -r11146 -r11368 --- branches/RC/core/admin_templates/catalog_tab.tpl (.../catalog_tab.tpl) (revision 11146) +++ branches/RC/core/admin_templates/catalog_tab.tpl (.../catalog_tab.tpl) (revision 11368) @@ -1,95 +1,109 @@ - -
- - - - - - - - - $Catalog.setItemCount('c.showall', ''); - $Catalog.setCurrentCategory('c.showall', ); - - - - Grids['c.showall'].SetDependantToolbarButtons( new Array('edit','delete','approve','decline')); - - Grids['c.showall'].EnableRadioMode(); - Grids['c.showall'].DblClick = function() {return false}; + + + + a_toolbar.AddButton( + new ToolBarButton( + 'new_cat', + '', + function() { + $form_name = $Catalog.queryTabRegistry('prefix', '', 'tab_id') + '_form'; + std_precreate_item('', 'categories/categories_edit'); + }, true + ) + ); - - - alert(''); - - - #separator# - - - + +
+ +
- - - + + $Catalog.setItemCount('', ''); + + + + + + + + + + + + + + + // substiture form action, like from was created from here + document.getElementById('categories_form').action = ''; + $Catalog.setItemCount('', ''); + $Catalog.setCurrentCategory('', ); + $Catalog.saveSearch('', '', ''); + + + + + +  * + +
+ + + : ">
+
+ + , '');"> + +  * +
- -
- - _" width="50%"> - radiocheckbox
" name="" id=""> - img/itemicons/">  - : - - - ( / )
-
- - - - : "> - -
-
- -
-
- - ParentPath:
-
- ()
- -
- -
+ - - - - - - -
- -
-
+ + <inp2:m_Phrase name='la_Browse' html_escape='1'/> + - -
+ - - %">  + + +
+ + PP: +
- - - -
+ + + Grids[''].SetDependantToolbarButtons( new Array('edit','delete','approve','decline','sep3','cut','copy','move_up','move_down','sep6')); + + + a_toolbar.DisableButton('upcat'); + a_toolbar.DisableButton('homecat'); + + a_toolbar.EnableButton('upcat'); + a_toolbar.EnableButton('homecat'); + + $Catalog.reflectPasteButton(); + + + alert(''); + + + #separator# + + + - -
-
+ + + \ No newline at end of file