Index: branches/5.1.x/core/units/configuration/configuration_tag_processor.php =================================================================== diff -u -N -r13086 -r13188 --- branches/5.1.x/core/units/configuration/configuration_tag_processor.php (.../configuration_tag_processor.php) (revision 13086) +++ branches/5.1.x/core/units/configuration/configuration_tag_processor.php (.../configuration_tag_processor.php) (revision 13188) @@ -1,6 +1,6 @@ groupRecords($list->Records, 'heading'); + $this->groupRecords($list->Records, 'Heading'); $field_values = $this->Application->GetVar($this->getPrefixSpecial(true)); while (!$list->EOL()) { $this->Application->SetVar( $this->getPrefixSpecial().'_id', $list->GetDBField($id_field) ); // for edit/delete links using GET // using 2 blocks for drawing o row in case if current & next record titles match - $next_item_prompt = $list->CurrentIndex + 1 < $list->RecordsCount ? $list->Records[$list->CurrentIndex + 1]['prompt'] : ''; - $this_item_prompt = $list->GetDBField('prompt'); + $next_item_prompt = $list->CurrentIndex + 1 < $list->RecordsCount ? $list->Records[$list->CurrentIndex + 1]['Prompt'] : ''; + $this_item_prompt = $list->GetDBField('Prompt'); if ($next_item_prompt == $this_item_prompt) { $curr_block = $params['half_block1']; @@ -67,7 +67,7 @@ $block_params['name'] = $curr_block; - $block_params['show_heading'] = ($prev_heading != $list->GetDBField('heading') ) ? 1 : 0; + $block_params['show_heading'] = ($prev_heading != $list->GetDBField('Heading') ) ? 1 : 0; // set values from submit if any if ($field_values) { @@ -76,7 +76,7 @@ $list->SetDBField('DirectOptions', ''); $o.= $this->Application->ParseBlock($block_params, 1); - $prev_heading = $list->GetDBField('heading'); + $prev_heading = $list->GetDBField('Heading'); $list->GoNext(); } @@ -111,7 +111,7 @@ while (!$list->EOL()) { $rec = $list->getCurrentRecord(); $tmp_row[0][$rec['VariableName']] = $rec['VariableValue']; - $tmp_row[0][$rec['VariableName'].'_prompt'] = $rec['prompt']; + $tmp_row[0][$rec['VariableName'].'_prompt'] = $rec['Prompt']; $list->GoNext(); }