X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_payouts.php;h=b75664a70102dbb7c926ba4c66ca662126cce992;hb=b6cf467cb0598f96529e46a9de5377f8218ff0dd;hp=b0c094b86a98319e442937c31c2ec0bdcdec5187;hpb=d49fe31440f5946f23cd2b4044c6e0256640dde4;p=mailer.git
diff --git a/inc/modules/admin/what-config_payouts.php b/inc/modules/admin/what-config_payouts.php
index b0c094b86a..b75664a701 100644
--- a/inc/modules/admin/what-config_payouts.php
+++ b/inc/modules/admin/what-config_payouts.php
@@ -1,7 +1,7 @@
{--ADMIN_PAYOUT_TYPE_ALREADY--}";
+ $message = '
{--ADMIN_PAYOUT_TYPE_ALREADY--}
';
}
}
@@ -91,7 +91,7 @@ if ((isPostRequestElementSet('edit')) && (countPostSelection() > 0)) {
// Edit entries
foreach (postRequestElement('sel') as $id => $sel) {
- // Secure ID
+ // Secure id
$id = bigintval($id);
// Edit only if something is entered
@@ -166,7 +166,7 @@ WHERE `id`='".$id."' LIMIT 1",
$display = false; //Suppress any other outputs
$OUT = ''; $SW = 2;
foreach (postRequestElement('sel') as $id => $sel) {
- // Secure ID number
+ // Secure id number
$id = bigintval($id);
// Load data
@@ -224,7 +224,7 @@ if ((SQL_NUMROWS($result_type) > 0) && ($display)) {
// Load row template and switch color
$OUT .= loadTemplate('admin_config_payouts_row', true, $content);
$SW = 3 - $SW;
- }
+ } // END - while
// Free memory
SQL_FREERESULT($result_type);
@@ -236,7 +236,7 @@ if ((SQL_NUMROWS($result_type) > 0) && ($display)) {
// Does your members request payouts?
if ((SQL_NUMROWS($result_mem) > 0) && ($display)) {
// Members has requested payouts
- loadTemplate('admin_settings_saved', false, "{--ADMIN_PAYOUT_LIST_REQUESTS--}");
+ loadTemplate('admin_settings_saved', false, '{--ADMIN_PAYOUT_LIST_REQUESTS--}');
} elseif ($display) {
// No member requests so far
loadTemplate('admin_settings_saved', false, getMessage('ADMIN_PAYOUT_NO_MEMBER_REQUESTS'));
@@ -245,7 +245,7 @@ if ((SQL_NUMROWS($result_mem) > 0) && ($display)) {
// Free result
SQL_FREERESULT($result_mem);
-// Add new paypout type
+// Add new payout type
if ($display === true) loadTemplate('admin_payout_add_new');
// [EOF]