Index: branches/unlabeled/unlabeled-1.27.2/core/units/admin/admin_tag_processor.php =================================================================== diff -u -r7358 -r7472 --- branches/unlabeled/unlabeled-1.27.2/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 7358) +++ branches/unlabeled/unlabeled-1.27.2/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 7472) @@ -163,6 +163,38 @@ } + function SectionInfo($params) + { + $section = $params['section']; + if ($section_name == '#session#') { + $section = $this->Application->RecallVar('section'); + } + + $sections_helper =& $this->Application->recallObject('SectionsHelper'); + /* @var $sections_helper kSectionsHelper */ + $section_data =& $sections_helper->getSectionData($section); + + if (isset($params['parent']) && $params['parent']) { + $section_data =& $sections_helper->getSectionData($section_data['parent']); + } + + $info = $params['info']; + switch ($info) { + case 'module_path': + $module = $section_data['icon_module']; + $res = $this->ModulePath(array('module' => $module)); + break; + default: + $res = $section_data[$info]; + } + + if ($info == 'label' || isset($params['as_label'])) { + $res = $this->Application->Phrase($res); + } + return $res; + } + + function PrintSection($params) { $section_name = $params['section_name'];