芝麻web文件管理V1.00
编辑当前文件:/home/asmplong/www/ancien-site-2019/site/templates/jsn_epic_free/html/pagination.php
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 = ""; return $html; } function pagination_list_render($list) { // Initialize variables $lang =& JFactory::getLanguage(); $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."
"; } ?>