]> git.mxchange.org Git - mailer.git/blobdiff - beg.php
Rewritten all THEME_FOO variables to GLOBALS
[mailer.git] / beg.php
diff --git a/beg.php b/beg.php
index ab2817211a5a5265c6ad2f70ceedad3260955746..6494eb4fe45cf43ab846e4ee4854faf5632a7b42 100644 (file)
--- a/beg.php
+++ b/beg.php
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Bettel-Link fuer Mitglieder                      *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * 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();
+
+//
 ?>