Index: trunk/core/kernel/db/db_tag_processor.php =================================================================== diff -u -N -r8402 -r8460 --- trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 8402) +++ trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 8460) @@ -291,27 +291,6 @@ return 'events['.$prefix_special.']['.$params['event'].']'; } - - function CombinedSortingDropDownName($params) - { - $list =& $this->GetList($params); - $prefix_special = $list->getPrefixSpecial(); - - return $prefix_special.'_CombinedSorting'; - } - - function SortingSelected($params) - { - $list =& $this->GetList($params); - $user_sorting_start = $this->getUserSortIndex(); - - $sorting = strtolower($list->GetOrderField($user_sorting_start).'|'.$list->GetOrderDirection($user_sorting_start)); - - if ($sorting == strtolower($params['sorting'])) return $params['selected']; - } - - - /** * Prints list content using block specified * @@ -387,7 +366,7 @@ $block_params['last_col'] = $column_number == $columns ? 1 : 0; $block_params['column_number'] = $column_number; - + $this->PrepareListElementParams($list, $block_params); // new, no need to rewrite PrintList $o.= $this->Application->ParseBlock($block_params, 1); array_push($displayed, $list->GetDBField($id_field)); @@ -447,10 +426,10 @@ function PrepareListElementParams(&$object, &$block_params) { // $fields_hash =& $object->Records[$this->CurrentIndex]; -// +// // $object->Records[$this->CurrentIndex] =& $fields_hash; } - + function MoreLink($params) { $per_page = $this->SelectParam($params, 'per_page,max_items'); @@ -868,7 +847,7 @@ $type = $params['type']; unset($params['type']); // remove parameters used only by current tag - + $ret = ''; switch ($type) { case 'current': @@ -1398,7 +1377,7 @@ { $object =& $this->GetList($params); /* @var $object kDBList */ - + switch ($params['type']) { case 'filtered': return $object->GetRecordsCount(); @@ -1822,7 +1801,6 @@ return $list->GetFormattedTotal($this->SelectParam($params, 'field,name'), $params['function']); } - function FCKEditor($params) { $params['no_special'] = 1; $value = $this->Field($params); @@ -1876,7 +1854,7 @@ return $this->Application->ProcessParsedTag('m', 't', $params); } - + function PresetFormFields($params) { $prefix = $this->getPrefixSpecial(); @@ -1901,7 +1879,7 @@ } return $o; } - + /** * Checks if current prefix is main item *