Internal TODO closed (sry for second commit)
[mailer.git] / lead-confirm.php
index 2b65eb74e26168ce29210044b8b341157c8d9dea..1fb03bf8ab260fc88129a322cf131a0983e69ba6 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Alles um den Bestaetigungslink                   *
  * -------------------------------------------------------------------- *
- * $Revision:: 856                                                    $ *
- * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009)             $ *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author:: stelzi                                                   $ *
+ * $Author::                                                          $ *
  * Needs to be in all Files and every File needs "svn propset           *
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  ************************************************************************/
 
 // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
-require("inc/libs/security_functions.php");
+require('inc/libs/security_functions.php');
 
 // Init "action" and "what"
 $GLOBALS['startTime'] = microtime(true);
-$GLOBALS['what'] = "";
-$GLOBALS['action'] = "";
+$GLOBALS['what'] = '';
+$GLOBALS['action'] = '';
 
 // Set module
-$GLOBALS['module'] = "lead-confirm";
+$GLOBALS['module'] = 'lead-confirm';
 
 // Set "CSS-Mode"
-$GLOBALS['output_mode'] = "0";
+$GLOBALS['output_mode'] = '0';
 
 // Load config.php
-require("inc/config.php");
+require('inc/config.php');
 
 // Is the script installed?
 if (isInstalled()) {
        // Header
-       LOAD_INC("inc/header.php");
+       LOAD_INC('inc/header.php');
 
        // Initialize the array for the template
        $content = array(
                'lead_uid'   => -1,
-               'lead_email' => "INVALID@EMAIL"
+               'lead_email' => 'INVALID@EMAIL'
        );
 
        // Is the cookie set?
@@ -88,13 +88,13 @@ if (isInstalled()) {
        }
 
        // Load the lead template
-       LOAD_TEMPLATE("lead_code", false, $content);
+       LOAD_TEMPLATE('lead_code', false, $content);
 
        // Footer
-       LOAD_INC("inc/footer.php");
+       LOAD_INC('inc/footer.php');
 } else {
        // You have to install first!
-       LOAD_URL("install.php");
+       LOAD_URL('install.php');
 }
 
 // All done here...