Index: trunk/kernel/units/config_search/config_search_tag_processor.php =================================================================== diff -u -N --- trunk/kernel/units/config_search/config_search_tag_processor.php (revision 4043) +++ trunk/kernel/units/config_search/config_search_tag_processor.php (revision 0) @@ -1,43 +0,0 @@ -GetList($params); - $id_field = $this->Application->getUnitOption($this->Prefix,'IDField'); - - $list->Query(); - $o = ''; - $list->GoFirst(); - - $block_params = $this->prepareTagParams($params); - $block_params['name'] = $this->SelectParam($params, 'render_as,block'); - $block_params['pass_params'] = 'true'; - - $this->groupRecords($list->Records, 'ConfigHeader'); - $prev_heading = ''; - - while (!$list->EOL()) - { - $this->Application->SetVar( $this->getPrefixSpecial().'_id', $list->GetDBField($id_field) ); // for edit/delete links using GET - $block_params['show_heading'] = ($prev_heading != $list->GetDBField('ConfigHeader') ) ? 1 : 0; - - $o.= $this->Application->ParseBlock($block_params, 1); - $prev_heading = $list->GetDBField('ConfigHeader'); - $list->GoNext(); - } - - $this->Application->SetVar( $this->getPrefixSpecial().'_id', ''); - return $o; - } -} - -?> \ No newline at end of file