Index: trunk/core/kernel/db/db_tag_processor.php =================================================================== diff -u -N -r8605 -r8679 --- trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 8605) +++ trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 8679) @@ -1917,6 +1917,19 @@ $list =& $this->GetList($params); return $list->PerPage == $params['per_page'] ? $params['selected'] : ''; } + + /** + * Returns prefix + generated sepcial + any word + * + * @param Array $params + * @return string + */ + function VarName($params) + { + $list =& $this->GetList($params); + + return $list->getPrefixSpecial().'_'.$params['type']; + } } ?> \ No newline at end of file Index: trunk/themes/default2007/platform/elements/pagination.tpl =================================================================== diff -u -N -r8586 -r8679 --- trunk/themes/default2007/platform/elements/pagination.tpl (.../pagination.tpl) (revision 8586) +++ trunk/themes/default2007/platform/elements/pagination.tpl (.../pagination.tpl) (revision 8679) @@ -37,7 +37,7 @@ :
- "> Index: trunk/core/units/general/cat_tag_processor.php =================================================================== diff -u -N -r8571 -r8679 --- trunk/core/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 8571) +++ trunk/core/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 8679) @@ -319,13 +319,6 @@ 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); @@ -336,6 +329,11 @@ if ($sorting == strtolower($params['sorting'])) return $params['selected']; } + function CombinedSortingDropDownName($params) + { + return $this->Prefix.'_CombinedSorting'; + } + /** * Prepares name for field with event in it (used only on front-end) * @@ -348,6 +346,17 @@ } /** + * Returns prefix + any word (used for shared between categories per page settings) + * + * @param Array $params + * @return string + */ + function VarName($params) + { + return $this->Prefix.'_'.$params['type']; + } + + /** * Checks if we are viewing module root category * * @param Array $params