} // END - if
// Activate the extension please!
- $PAGES = round(SQL_NUMROWS($result_master) / getConfig('user_limit') + 0.5);
+ $numPages = round(SQL_NUMROWS($result_master) / getConfig('user_limit') + 0.5);
if (!isGetRequestParameterSet('page')) setGetRequestParameter('page' , 1);
if (!isGetRequestParameterSet('offset')) setGetRequestParameter('offset', getConfig('user_limit'));
$templateContent['sort_links'] = addSortLinks(getRequestParameter('letter'), getRequestParameter('sortby'), ($colspan + 1), true);
$templateContent['page_nav'] = '';
- if ($PAGES > 1) {
- $templateContent['page_nav'] = addPageNavigation($PAGES, getConfig('user_limit'), true, $colspan, true);
+ if ($numPages > 1) {
+ $templateContent['page_nav'] = addPageNavigation($numPages, getConfig('user_limit'), true, $colspan, true);
} // END - if
// Column with nickname when nickname extension is present