Index: branches/RC/core/kernel/db/db_tag_processor.php =================================================================== diff -u -N -r11538 -r11576 --- branches/RC/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 11538) +++ branches/RC/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 11576) @@ -1602,8 +1602,18 @@ } } + // replace to section title + $section = array_key_exists('section', $params) ? $params['section'] : false; + if ($section) { + $sections_helper =& $this->Application->recallObject('SectionsHelper'); + /* @var $sections_helper kSectionsHelper */ + + $section_data =& $sections_helper->getSectionData($section); + $title = str_replace('#section_label#', '!' . $section_data['label'] . '!', $title); + } + // 2. replace phrases if any found in format string - $title = $this->Application->ReplaceLanguageTags($title,false); + $title = $this->Application->ReplaceLanguageTags($title, false); // 3. find and replace any replacement vars preg_match_all('/#(.*_.*)#/Uis',$title,$rets);