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 = null; if ($list['start']['active']) { $html .= "
".$list['start']['data']."
"; } else { $html .= "
".$list['start']['data']."
"; } if ($list['previous']['active']) { $html .= "
".$list['previous']['data']."
"; } else { $html .= "
".$list['previous']['data']."
"; } $html .= "\n
"; foreach( $list['pages'] as $page ) { $html .= $page['data']; } $html .= "\n
"; if ($list['next']['active']) { $html .= "
".$list['next']['data']."
"; } else { $html .= "
".$list['next']['data']."
"; } if ($list['end']['active']) { $html .= "
".$list['end']['data']."
"; } else { $html .= "
".$list['end']['data']."
"; } return $html; } function pagination_item_active(&$item) { if($item->base>0) return "text."\" onclick=\"javascript: document.adminForm.limitstart.value=".$item->base."; submitform();return false;\">".$item->text.""; else return "text."\" onclick=\"javascript: document.adminForm.limitstart.value=0; submitform();return false;\">".$item->text.""; } function pagination_item_inactive(&$item) { return "".$item->text.""; } ?>