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");
}
);
// 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);
);
// 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);
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");