]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-unconfirmed.php
Missing URL blacklist tabled (re-)added
[mailer.git] / inc / modules / member / what-unconfirmed.php
index 91725bf67df93b839a30cc88012306ca7713dc32..0d010865aeb908cff548dc0fd419723c919a5187 100644 (file)
@@ -37,7 +37,7 @@ if (!defined('__SECURITY')) {
        require($INC);
 } elseif (!IS_MEMBER()) {
        LOAD_URL("modules.php?module=index");
-} elseif (!EXT_IS_ACTIVE("mailid")) {
+} elseif ((!EXT_IS_ACTIVE("mailid")) && (!IS_ADMIN())) {
        LOAD_URL("modules.php?module=login");
 }
 
@@ -188,7 +188,7 @@ LIMIT 1",
                        );
 
                        // Load row template
-                       if ($_CONFIG['show_points_unconfirmed'] == "Y") {
+                       if (getConfig('show_points_unconfirmed') == "Y") {
                                $OUT .= LOAD_TEMPLATE("member_unconfirmed_row", true, $content);
                        } else {
                                $OUT .= LOAD_TEMPLATE("member_unconfirmed_row_nopoints", true, $content);
@@ -205,7 +205,7 @@ LIMIT 1",
                        );
 
                        // Display points or not?
-                       if ($_CONFIG['show_points_unconfirmed'] == "Y") {
+                       if (getConfig('show_points_unconfirmed') == "Y") {
                                $OUT .= LOAD_TEMPLATE("member_unconfirmed_404", true, $content);
                        } else {
                                $OUT .= LOAD_TEMPLATE("member_unconfirmed_404_nopoints", true, $content);
@@ -229,7 +229,7 @@ LIMIT 1",
        define('__UNCONFIRMED_ROWS', $OUT);
 
        // Load main template
-       if ($_CONFIG['show_points_unconfirmed'] == "Y") {
+       if (getConfig('show_points_unconfirmed') == "Y") {
                LOAD_TEMPLATE("member_unconfirmed_table");
        } else {
                LOAD_TEMPLATE("member_unconfirmed_table_nopoints");