- Timestamp:
- 03/18/10 08:32:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/609/inc/class.bo_userinterface.inc.php
r2291 r2292 12 12 require_once('class.so_userinterface.inc.php'); 13 13 require_once('class.bo_ajaxinterface.inc.php'); 14 require_once('class.Paging.inc.php');15 14 16 15 require_once(GALAXIA_LIBRARY . SEP . 'src' . SEP . 'GUI' . SEP . 'GUI.php'); … … 148 147 $itemsPerPage = isset($preferences['ui_items_per_page']) ? $preferences['ui_items_per_page'] : 15; 149 148 $lightVersion = ((isset($preferences['use_light_interface']) ? $preferences['use_light_interface'] : 0) == 1); 150 $paging = new Paging($itemsPerPage, $_POST);149 $paging = Factory::newInstance('Paging', $itemsPerPage, $_POST); 151 150 152 151 /* define the sorting */ … … 726 725 /* paginate the result */ 727 726 $itemsPerPage = isset($_SESSION['phpgw_info']['workflow']['user']['preferences']['ui_items_per_page']) ? $_SESSION['phpgw_info']['workflow']['user']['preferences']['ui_items_per_page'] : 15; 728 $paging = new Paging($itemsPerPage, $_POST);727 $paging = Factory::newInstance('Paging', $itemsPerPage, $_POST); 729 728 $output['instances'] = $paging->restrictItems($output['instances']); 730 729 $output['paging_links'] = $paging->commonLinks();
Note: See TracChangeset
for help on using the changeset viewer.