Index: branches/5.0.x/core/units/categories/categories_tag_processor.php =================================================================== diff -u -N -r12953 -r12971 --- branches/5.0.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 12953) +++ branches/5.0.x/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 12971) @@ -1,6 +1,6 @@ Application->recallObject('ThemesHelper'); /* @var $themes_helper kThemesHelper */ + $site_config_helper =& $this->Application->recallObject('SiteConfigHelper'); + /* @var $site_config_helper SiteConfigHelper */ + + $settings = $site_config_helper->getSettings(); + $url_params = Array ( 'm_cat_id' => $object->GetID(), 'm_theme' => $themes_helper->getCurrentThemeId(), + 'editing_mode' => $settings['default_editing_mode'], 'pass' => 'm', 'admin' => 1, 'index_file' => 'index.php' ); + if ($this->Application->ConfigValue('UseModRewrite')) { + $url_params['__MOD_REWRITE__'] = 1; + } + return $this->Application->HREF($object->GetDBField('NamedParentPath'), '_FRONT_END_', $url_params); }