Index: branches/5.2.x/core/units/categories/categories_tag_processor.php =================================================================== diff -u -N -r16513 -r16690 --- branches/5.2.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 16513) +++ branches/5.2.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 16690) @@ -1,6 +1,6 @@ 'section_properties.png', + 'button_class' => 'cms-section-properties-btn', + 'button_title' => 'la_btn_SectionProperties', + ); + + $params = array_merge($default_params, $params); + if ( $item_prefix ) { $params['button_class'] = 'cms-section-properties-btn'; $edit_btn = $this->Application->ProcessParsedTag($item_prefix, 'AdminEditButton', $params) . "\n"; @@ -1795,17 +1803,8 @@ return ''; } - /** @var kDBItem $object */ - $object = $this->getObject($params); - $params['item_prefix'] = 'c'; - if ( $this->Prefix == 'st' ) { - $params['button_icon'] = 'section_properties.png'; - $params['button_class'] = 'cms-section-properties-btn'; - $params['button_title'] = 'la_btn_SectionProperties'; - } - return parent::AdminEditButton($params); }