Index: branches/5.2.x/core/units/categories/categories_tag_processor.php =================================================================== diff -u -N -r15246 -r15257 --- branches/5.2.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 15246) +++ branches/5.2.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 15257) @@ -1,6 +1,6 @@ 'm,c,content', - 'm_opener' => 'd', - 'c_id' => $page->GetID(), - 'content_id' => $content->GetID(), - 'front' => 1, - 'admin' => 1, - '__URLENCODE__' => 1, - '__NO_REWRITE__'=> 1, - 'escape' => 1, - 'index_file' => 'index.php', -// 'bgcolor' => $bg_color, -// '__FORCE_SID__' => 1 - ); + if ( EDITING_MODE == EDITING_MODE_CONTENT ) { + $button_code = $this->Application->ProcessParsedTag($content->getPrefixSpecial(), 'AdminEditButton', $params); - // link from Front-End to admin, don't remove "index.php" - $edit_url = $this->Application->HREF('categories/edit_content', ADMIN_DIRECTORY, $url_params, 'index.php'); $edit_code_before = '