X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Foverview-inc.php;h=e2adbfaa1023cd2ec2639a249e57ed522e76af62;hp=ebd9c8377bbe5a37d8a274aa9d89f35d99b5ab09;hb=d3c4fdd9bfab35389e1a5ff48f3952d527c7b4bb;hpb=618048c5fb61f84848cf37abe3972cd509cdac04 diff --git a/inc/modules/admin/overview-inc.php b/inc/modules/admin/overview-inc.php index ebd9c8377b..e2adbfaa10 100644 --- a/inc/modules/admin/overview-inc.php +++ b/inc/modules/admin/overview-inc.php @@ -204,9 +204,15 @@ LIMIT 1", // Update task or extension task? if (($type == 'EXTENSION') && (!isExtensionInstalled($ext_name))) { - // Load SQL commands for registering + // Load SQL commands for registering in dry-run registerExtension($ext_name, $id, true); + // Is this non-productive? + if (isExtensionProductive() === false) { + // Issue warning + $text .= loadTemplate('admin_settings_saved', true, sprintf(getMessage('ADMIN_EXTENSION_IS_NON_PRODUCTIVE'), $ext_name)); + } // END - if + // Set current extension name setCurrentExtensionName($ext_name); @@ -328,14 +334,14 @@ LIMIT 1", SQL_FREERESULT($result_pay); if ((!empty($pid)) && ($pid > 0)) { - // Payout ID can be obtained + // Payout id can be obtained $content = array( 'pid' => $pid, 'tid' => $tid, ); $OUT .= loadTemplate('admin_payout_overview_form', true, $content); } else { - // Problem obtaining payout ID + // Problem obtaining payout id $OUT .= "
{--PAYOUT_OBTAIN_ID_FAILED--}
\n"; } } else { @@ -353,14 +359,14 @@ LIMIT 1", SQL_FREERESULT($result_pay); if ((!empty($pid)) && ($pid > 0)) { - // Payout ID can be obtained + // Payout id can be obtained $content = array( 'pid' => $pid, 'tid' => $tid, ); $OUT .= loadTemplate('admin_wernis_overview_form', true, $content); } else { - // Problem obtaining wernis ID + // Problem obtaining wernis id $OUT .= "
{--WERNIS_OBTAIN_ID_FAILED--}
\n"; } } else {