code doc
This commit is contained in:
parent
2b017f782b
commit
4deea4c6ab
|
@ -1400,8 +1400,8 @@ function getPagination( $pages, $page, $maxShortcuts, $query, $querySep='&'
|
||||||
foreach ( $newPages as $newPage ) {
|
foreach ( $newPages as $newPage ) {
|
||||||
$pageText .= '<a href="?view='.$view.$querySep.'page='.$newPage.$query.'">'.$newPage.'</a> ';
|
$pageText .= '<a href="?view='.$view.$querySep.'page='.$newPage.$query.'">'.$newPage.'</a> ';
|
||||||
}
|
}
|
||||||
|
} # end if page > 1
|
||||||
|
|
||||||
}
|
|
||||||
$pageText .= '- '.$page.' -';
|
$pageText .= '- '.$page.' -';
|
||||||
if ( $page < $pages ) {
|
if ( $page < $pages ) {
|
||||||
$newPages = array();
|
$newPages = array();
|
||||||
|
@ -1426,10 +1426,10 @@ function getPagination( $pages, $page, $maxShortcuts, $query, $querySep='&'
|
||||||
if ( false && $page < ($pages-1) ) {
|
if ( false && $page < ($pages-1) ) {
|
||||||
$pageText .= '<a href="?view='.$view.$querySep.'page='.$pages.$query.'">>></a>';
|
$pageText .= '<a href="?view='.$view.$querySep.'page='.$pages.$query.'">>></a>';
|
||||||
}
|
}
|
||||||
|
} # end if $page < $pages
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
return $pageText;
|
||||||
return( $pageText );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function sortHeader( $field, $querySep='&' ) {
|
function sortHeader( $field, $querySep='&' ) {
|
||||||
|
|
Loading…
Reference in New Issue