* -------------------------------------------------------------------- *
* Kurzbeschreibung : Pruefen ob die Login-Cookies gesetzt sind *
* -------------------------------------------------------------------- *
- * *
+ * $Revision:: 856 $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009) $ *
+ * $Tag:: 0.2.1-FINAL $ *
+ * $Author:: stelzi $ *
+ * Needs to be in all Files and every File needs "svn propset *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2008 by Roland Haeder *
* For more information visit: http://www.mxchange.org *
}
// 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