X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Ftask_functions.php;h=5f705a06b52fb653168ae7cf7a839569c769b63a;hb=ccd86939ba30aba70497c73264333f2fe4d786e8;hp=f8e6dcf846c227e7213ff0fd8892ad382a96d062;hpb=0a37fc5afcd828646d4e62e68fea07c3d2c54a87;p=mailer.git diff --git a/inc/libs/task_functions.php b/inc/libs/task_functions.php index f8e6dcf846..5f705a06b5 100644 --- a/inc/libs/task_functions.php +++ b/inc/libs/task_functions.php @@ -115,7 +115,7 @@ function outputAdvancedOverview (&$result_main) { // And random refid $value = getTotalRandomRefidUser(); if ($value > 0) { - $content['random_refid'] = '' . $value . ''; + $content['random_refid'] = '' . $value . ''; } // END - if } // END - if @@ -215,11 +215,11 @@ function outputAdvancedOverview (&$result_main) { } elseif (isExtensionActive('bonus')) { $content['purged_bonus_mails'] = '{%message,ADMIN_EXTENSION_BONUS_OUTDATED=0.1.8%}'; } else { - $content['purged_bonus_mails'] = '{--ADMIN_EXTENSION_BONUS_404--}'; + $content['purged_bonus_mails'] = '{--ADMIN_EXTENSION_BONUS_404--}'; } } else { - $content['purged_bonus_mails'] = '{--ADMIN_EXTENSION_AUTOPURGE_404--}'; - $content['purged_mails'] = '{--ADMIN_EXTENSION_AUTOPURGE_404--}'; + $content['purged_bonus_mails'] = '{--ADMIN_EXTENSION_AUTOPURGE_404--}'; + $content['purged_mails'] = '{--ADMIN_EXTENSION_AUTOPURGE_404--}'; } // @@ -273,11 +273,11 @@ ORDER BY } if ((isExtensionInstalledAndNewer('sql_patches', '0.3.4')) && (isExtensionActive('user'))) { - // Check for accounts without referal + // Check for accounts without referral addSql("SELECT `userid` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `refid`=0 OR `refid` IS NULL ORDER BY `userid` ASC"); - $DESCRs[] = '{--ADMIN_TASK_LIST_ACCOUNT_NOREF--}'; - $TITLEs[] = '{--ADMIN_TASK_LIST_ACCOUNT_NOREFERAL_TITLE--}'; - $WHATs[] = 'list_user&mode=norefs'; + $DESCRs[] = '{--ADMIN_TASK_LIST_ACCOUNT_NO_REFERRAL--}'; + $TITLEs[] = '{--ADMIN_TASK_LIST_ACCOUNT_NO_REFERRAL_TITLE--}'; + $WHATs[] = 'list_user&do=norefs'; } // END - if if (isExtensionActive('payout')) { @@ -392,7 +392,7 @@ ORDER BY if (isExtensionActive('doubler')) { // List waiting payouts addSql("SELECT `id` FROM `{?_MYSQL_PREFIX?}_doubler` WHERE `completed`='N' ORDER BY `id` ASC"); - $WHATs[] = 'list_doubler&mode=waiting&select=all'; + $WHATs[] = 'list_doubler&do=waiting&select=all'; $DESCRs[] = '{--ADMIN_TASK_LIST_DOUBLER_WAITING--}'; $TITLEs[] = '{--ADMIN_TASK_LIST_DOUBLER_WAITING_TITLE--}'; addSql('SELECT `id` FROM `{?_MYSQL_PREFIX?}_doubler` ORDER BY `id` ASC'); @@ -402,7 +402,7 @@ ORDER BY } // END - if // - // All referal banner + // All referral banner // addSql('SELECT `id` FROM `{?_MYSQL_PREFIX?}_refbanner` ORDER BY `id` ASC'); $WHATs[] = 'refbanner'; @@ -410,7 +410,7 @@ ORDER BY $TITLEs[] = '{--ADMIN_TASK_LIST_REFBANNER_ALL_TITLE--}'; // - // All activated referal banner + // All activated referral banner // addSql("SELECT `id` FROM `{?_MYSQL_PREFIX?}_refbanner` WHERE `visible`='Y' ORDER BY `id` ASC"); $WHATs[] = 'refbanner';