'; if ($list['start']['active']==1) $html .= $list['start']['data']; if ($list['previous']['active']==1) $html .= $list['previous']['data']; foreach ($list['pages'] as $page) { $html .= $page['data']; } if ($list['next']['active']==1) $html .= $list['next']['data']; if ($list['end']['active']==1) $html .= $list['end']['data']; $html .= ''; return $html; } function pagination_item_active(&$item) { $cls = ''; if ($item->text == JText::_('Next')) { $item->text = '»'; $cls = "next";} if ($item->text == JText::_('Prev')) { $item->text = '«'; $cls = "previous";} if ($item->text == JText::_('First')) { $cls = "first";} if ($item->text == JText::_('Last')) { $cls = "last";} return '
  • ' . $item->text . '
  • '; } function pagination_item_inactive( &$item ) { $cls = 'page-item'; $cls .= (int)$item->text > 0 ? ' active': ' disabled'; return '
  • ' . $item->text . '
  • '; }