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) { $html = "
"; return $html; } function pagination_list_render($list) { // Initialize variables $html = ""; $html .= '«'.$list['start']['data']; $html .= $list['previous']['data']; foreach( $list['pages'] as $page ) { if($page['data']['active']) { $html .= ''; } $html .= $page['data']; if($page['data']['active']) { $html .= ''; } } $html .= $list['next']['data']; $html .= $list['end']['data']; $html .= '»'; $html .= ""; return $html; } function pagination_item_active(&$item) { return "link."\" title=\"".$item->text."\">".$item->text.""; } function pagination_item_inactive(&$item) { return "".$item->text.""; } ?>