X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=beg.php;h=4a184a7534222110e902ede24b8ba522c20f5cb3;hp=ab2817211a5a5265c6ad2f70ceedad3260955746;hb=e01fcf1ca8ddeb72af76465df3ef72301a1cdae7;hpb=f74581eca45c393033acfd9d7798b958031bc625 diff --git a/beg.php b/beg.php index ab2817211a..4a184a7534 100644 --- a/beg.php +++ b/beg.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Bettel-Link fuer Mitglieder * * -------------------------------------------------------------------- * - * * + * $Revision:: 856 $ * + * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 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 * @@ -71,7 +76,7 @@ if (isInstalled()) { array(REQUEST_GET('uid')), __FILE__, __LINE__); } else { // Nickname entered but nickname is not active - $msg = constant('CODE_EXTENSION_PROBLEM'); + $msg = getCode('EXTENSION_PROBLEM'); $uid = -1; } } else { @@ -210,17 +215,17 @@ if (isInstalled()) { array(REQUEST_GET('uid')), __FILE__, __LINE__); if (SQL_NUMROWS($result) == 1) { // Locked account - $msg = constant('CODE_ACCOUNT_LOCKED'); + $msg = getCode('ACCOUNT_LOCKED'); } else { // Invalid nickname! (404) - $msg = constant('CODE_USER_404'); + $msg = getCode('USER_404'); } // Free memory SQL_FREERESULT($result); } elseif ($uid == getConfig('beg_uid')) { // Webmaster's ID cannot beg for points! - $msg = constant('CODE_BEG_SAME_AS_OWN'); + $msg = getCode('BEG_SAME_AS_OWN'); } // Reload to index module @@ -235,4 +240,7 @@ if (isInstalled()) { } // Really all done here... ;-) +shutdown(); + +// ?>