}
// Initial message part
-$MSG = "<strong>{!VALIDATING_LOGIN!}</strong>";
+$MSG = "<strong>{--VALIDATING_LOGIN--}</strong>";
if (!empty($GLOBALS['userid']) && (isSessionVariableSet('u_hash'))) {
// Login failures are supported since 0.4.7
if (SQL_AFFECTEDROWS() == 1) $bonus = true;
} // END - if
- if (($bonus) && ($_GET['mode'] == "bonus") && (EXT_IS_ACTIVE("bonus"))) {
+ if (($bonus) && (REQUEST_GET('mode') == "bonus") && (EXT_IS_ACTIVE("bonus"))) {
// Output message with added points
$MSG .= "<div class=\"tiny\">
- {!BONUS_LOGIN_BONUS_ADDED_1!}
+ {--BONUS_LOGIN_BONUS_ADDED_1--}
<strong>".TRANSLATE_COMMA(getConfig('login_bonus'))." {!POINTS!}</strong>
- {!BONUS_LOGIN_BONUS_ADDED_2!}
+ {--BONUS_LOGIN_BONUS_ADDED_2--}
</div>";
} elseif (EXT_IS_ACTIVE("bonus")) {
// No login bonus added!
- $MSG .= "<div class=\"member_failed\">{!BONUS_LOGIN_BONUS_NOT_ADDED!}</div>";
+ $MSG .= "<div class=\"member_failed\">{--BONUS_LOGIN_BONUS_NOT_ADDED--}</div>";
}
// Redirect to member area