diff --git a/src/include/functions_common.php b/src/include/functions_common.php index ebc287a..0b73195 100644 --- a/src/include/functions_common.php +++ b/src/include/functions_common.php @@ -393,7 +393,7 @@ function CreatePagesizesList() $content['pagesizes'][ $_SESSION['PAGESIZE_ID'] ]["Selected"] = "selected"; // The content variable will now contain the user selected oaging size - $content["ViewEntriesPerPage"] = $content['pagesizes'][ $_SESSION['PAGESIZE_ID'] ]["Value"]; + $content["CurrentViewEntriesPerPage"] = $content['pagesizes'][ $_SESSION['PAGESIZE_ID'] ]["Value"]; } function CreateReloadTimesList() diff --git a/src/index.php b/src/index.php index 362ed33..e3d3198 100644 --- a/src/index.php +++ b/src/index.php @@ -625,14 +625,14 @@ if ( isset($content['Sources'][$currentSourceID]) ) // Increment Counter $counter++; - } while ($counter < $content['ViewEntriesPerPage'] && ($ret = $stream->ReadNext($uID, $logArray)) == SUCCESS); + } while ($counter < $content['CurrentViewEntriesPerPage'] && ($ret = $stream->ReadNext($uID, $logArray)) == SUCCESS); //print_r ( $content['syslogmessages'] ); // Move below processing - Read First and LAST UID's before start reading the stream! $content['uid_last'] = $stream->GetLastPageUID(); $content['uid_first'] = $stream->GetFirstPageUID(); - if ( $content['main_recordcount'] == -1 || $content['main_recordcount'] > $content['ViewEntriesPerPage'] ) + if ( $content['main_recordcount'] == -1 || $content['main_recordcount'] > $content['CurrentViewEntriesPerPage'] ) { // Enable Pager in any case here! $content['main_pagerenabled'] = true; diff --git a/src/templates/admin/admin_groups.html b/src/templates/admin/admin_groups.html index 9b9af7b..2d461c7 100644 --- a/src/templates/admin/admin_groups.html +++ b/src/templates/admin/admin_groups.html @@ -49,7 +49,7 @@