diff --git a/config_x.inc.php b/config_x.inc.php
index d0e6499..972dd00 100644
--- a/config_x.inc.php
+++ b/config_x.inc.php
@@ -95,6 +95,7 @@
$user_email=1; # e-mail output format: 1 = normal, 2 = obfuscated
+$reslimdef=true; # Limit results per page
$itmppagdef=10; # Items per page
$srchqminlen=3; # Minimum length in characters of a search string
diff --git a/dbshow.inc.php b/dbshow.inc.php
index 118f67f..6faa59a 100644
--- a/dbshow.inc.php
+++ b/dbshow.inc.php
@@ -67,7 +67,7 @@ function shwctrlbuttons() {
if (!$action) {$action='view';} # Set default action
if (($action=='view' && $functen['view']!=1) || ($action=='edit' && $functen['edit']!=1) || ($action=='export' && $functen['export']!=1)) {fdisabled(); die();}
if ($action=='export' && !auth_user('EXPORT')) {authdenied(); die();}
-if ($action=='export' || $outfmt=='raw') {$reslim=true;} else {$reslim=false;}
+if ($action=='export' || $outfmt=='raw') {$reslim=false;} else {$reslim=$reslimdef;}
if (!$outfmt) {
if ($action=='edit') {
@@ -245,6 +245,11 @@ function shwctrlbuttons() {
echo "
\n";
}
+if ($reslim) {
+prpagnum($pag,$itmppag,$qnr,$pagurl,'?out='.$outfmt.'&put='.$outwhr.'&itmppag='.$itmppag.'&');
+echo "
";
+}
+
}
$showeft=$showef; # Show/Hide empty field as requested in the configuration. If an output format doesn't allow it, you can override it here
diff --git a/version.php b/version.php
index bcf7722..e49e384 100644
--- a/version.php
+++ b/version.php
@@ -1,6 +1,6 @@
# release information
-$project_n='EQ_AddressBook'; $project_v='r2017-04-17'; # fr2016-10-16
+$project_n='EQ_AddressBook'; $project_v='r2017-05-11'; # fr2016-10-16
?>
\ No newline at end of file