]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_user.php
Simplified some more code:
[mailer.git] / inc / modules / admin / what-list_user.php
index dfc67aa21eb2afda78f0d4e714adc94350850b2d..61ace388a9a9cb568cf3613645feb40265198a43 100644 (file)
@@ -247,7 +247,7 @@ LIMIT 1",
        } // 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'));
@@ -267,8 +267,8 @@ LIMIT 1",
                $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