A lot texts rewritten and exclamation signs removed
[mailer.git] / inc / modules / admin / overview-inc.php
index ebd9c8377bbe5a37d8a274aa9d89f35d99b5ab09..e2adbfaa1023cd2ec2639a249e57ed522e76af62 100644 (file)
@@ -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 .= "<div class=\"admin_failed medium\">{--PAYOUT_OBTAIN_ID_FAILED--}</div>\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 .= "<div class=\"admin_failed medium\">{--WERNIS_OBTAIN_ID_FAILED--}</div>\n";
                                                        }
                                                } else {