Index: trunk/core/units/admin/admin_tag_processor.php =================================================================== diff -u -r4464 -r4466 --- trunk/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 4464) +++ trunk/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 4466) @@ -215,11 +215,36 @@ return $ret; } + + function PrintSection($params) + { + $section_name = $params['section_name']; + if ($section_name == '#session#') { + $section_name = $this->Application->RecallVar('section'); + } + + $section_data =& $this->Tree[$section_name]; + $params['name'] = $this->SelectParam($params, 'name,render_as,block'); + $params['section_name'] = $section_name; + + $template = $section_data['url']['t']; + unset($section_data['url']['t']); + + $section_data['section_url'] = $this->Application->HREF($template, '', $section_data['url']); + $ret = $this->Application->ParseBlock( array_merge_recursive2($params, $section_data) ); + + return $ret; + } + function PrintSections($params) { // when processings, then sort children by priority (key of children array) $ret = ''; $section_name = $params['section_name']; + if ($section_name == '#session#') { + $section_name = $this->Application->RecallVar('section'); + } + $section_data =& $this->Tree[$section_name]; $params['name'] = $this->SelectParam($params, 'name,render_as,block'); if (!isset($section_data['children'])) {