Index: branches/5.0.x/core/kernel/db/cat_tag_processor.php =================================================================== diff -u -r12511 -r12570 --- branches/5.0.x/core/kernel/db/cat_tag_processor.php (.../cat_tag_processor.php) (revision 12511) +++ branches/5.0.x/core/kernel/db/cat_tag_processor.php (.../cat_tag_processor.php) (revision 12570) @@ -1,6 +1,6 @@ Application->ProcessParsedTag('m', 't', $params); } + /** + * Builds link for browsing current item on Front-End + * + * @param Array $params + * @return string + */ + function PageBrowseLink($params) + { + $themes_helper =& $this->Application->recallObject('ThemesHelper'); + /* @var $themes_helper kThemesHelper */ + + $params['m_theme'] = $themes_helper->getCurrentThemeId(); + $params['index_file'] = '../index.php'; + $params['admin'] = 1; + + return $this->ItemLink($params); + } + function CategoryPath($params) { if ($this->Application->IsAdmin()) {