base : integer * $item->link : string * $item->text : string * * pagination_item_inactive * Input variable $item is an object with fields: * $item->base : integer * $item->link : string * $item->text : string * * This gives template designers ultimate control over how pagination is rendered. * * NOTE: If you override pagination_item_active OR pagination_item_inactive you MUST override them both */ function pagination_list_footer($list) { // Initialize variables $lang =& JFactory::getLanguage(); $html = "
\n"; $html .= "\n
".JText::_('Display Num').$list['limitfield']."
"; $html .= $list['pageslinks']; $html .= "\n
".$list['pagescounter']."
"; $html .= "\n"; $html .= "\n
"; return $html; } function pagination_list_render($list) { // Initialize variables $lang =& JFactory::getLanguage(); $html = ""; return $html; } function pagination_item_active(&$item) { //Custom variable created to us as the element class $item_class = strtolower($item->text); if(is_numeric ($item_class)) { $item_class .= " number"; } return "
  • link."\" title=\"".$item->text."\">".$item->text."
  • "; } function pagination_item_inactive(&$item) { //Custom variable created to us as the element class $item_class = strtolower($item->text); if(is_numeric ($item_class)) { $item_class .= " number"; } return "
  • ".$item->text."
  • "; } ?>