Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric).

This commit is contained in:
reliberate
2016-03-28 23:02:11 -06:00
parent 7c5176cf41
commit cd7843b7f3
49 changed files with 61 additions and 51 deletions

View File

@@ -58,7 +58,7 @@ else {
if ($_REQUEST['a'] == 'resend' && permission_exists('email_resend')) {
$email_uuid = check_str($_REQUEST["id"]);
$resend = true;
$msg_found = false;
if ($email_uuid != '') {
@@ -147,7 +147,7 @@ else {
}
//prepare to page the results
$rows_per_page = 50;
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
if (permission_exists('emails_all') && $_REQUEST['showall'] == 'true') {
$param .= "&showall=true";
} else {