]> git.mxchange.org Git - mailer.git/blobdiff - birthday_confirm.php
Rewrites of debug lines, possible fix for extension installation bug
[mailer.git] / birthday_confirm.php
index 47bb1753b9006697d7e171efb3e66eac3be1ff93..69690c782ade2fe85085d83c6b3d52003e7448f2 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Geburtstagsgutschrift bestaetigen                *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $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                  *
@@ -49,7 +54,7 @@ require("inc/config.php");
 REDIRECT_ON_UNINSTALLED_EXTENSION("birthday");
 
 // Is the script installed?
-if (isBooleanConstantAndTrue('mxchange_installed')) {
+if (isInstalled()) {
        // Script is installed so let's check for his confirmation link...
        $uid = bigintval(REQUEST_GET('uid'));
 
@@ -100,7 +105,7 @@ WHERE b.userid=%s AND b.chk_value='%s' LIMIT 1",
                        define('__MSG', LOAD_TEMPLATE("birthday_msg", true));
                } else {
                        // Unconfirmed / locked accounts cannot get points
-                       define('__MSG', BIRTHDAY_CANNOT_STATUS_1.TRANSLATE_STATUS($data['status']).BIRTHDAY_CANNOT_STATUS_2);
+                       define('__MSG', sprintf(getMessage('BIRTHDAY_CANNOT_STATUS'), TRANSLATE_STATUS($data['status'])));
                }
        } else {
                // Cannot load data!
@@ -131,5 +136,9 @@ WHERE b.userid=%s AND b.chk_value='%s' LIMIT 1",
        // You have to install first!
        LOAD_URL("install.php");
 }
+
 // Really all done here... ;-)
+shutdown();
+
+//
 ?>