Index: trunk/core/units/general/cat_tag_processor.php =================================================================== diff -u -r8435 -r8460 --- trunk/core/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 8435) +++ trunk/core/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 8460) @@ -299,6 +299,34 @@ { return $this->Application->GetVar($this->getPrefixSpecial().'_id') > 0; } + + function CombinedSortingDropDownName($params) + { + $list =& $this->GetList($params); + + return $this->Prefix.'_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']; + } + + function PerPageSelected($params) + { + $list =& $this->GetList($params); + return $list->PerPage == $params['per_page'] ? $params['selected'] : ''; + } + + function SubmitName($params) + { + return 'events['.$this->Prefix.']['.$params['event'].']'; + } } ?> \ No newline at end of file