]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/index.php
Some global variables rewritten, a lot more language constants rewritten to getMessage()
[mailer.git] / inc / modules / index.php
index 94ef4689a71c94e602a76f948d958e8ac27a1e90..c4d19f2d72cad29bf188eec5c86dfbff3478b2ec 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Eingangsseite                                    *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $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                  *
@@ -46,20 +51,8 @@ define('__GUEST_ADVERT', LOAD_TEMPLATE("guest_advert", true));
 // Generate a tableset for the menu title and content
 LOAD_TEMPLATE("guest_header");
 
-// Add message here
-if (REQUEST_ISSET_GET(('msg'))) {
-       // Default extension is "unknown"
-       $ext = "unknown";
-
-       // Is extension given?
-       if (REQUEST_ISSET_GET(('ext'))) $ext = SQL_ESCAPE(REQUEST_GET('ext'));
-
-       // Which message shall we output?
-       $msg = convertCodeToMessage(REQUEST_GET('msg'));
-
-       // Load message template
-       LOAD_TEMPLATE("message", false, $msg);
-} // END - if
+// Add code-message here
+handleCodeMessage();
 
 // Some of you needs this to be extracted into a template... ???
 LOAD_TEMPLATE("guest_menu_td");
@@ -83,7 +76,7 @@ if ((getConfig('guest_menu') == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) {
 LOAD_TEMPLATE("guest_menu_content");
 
 // Disable block-mode by default
-$BLOCK_MODE = false;
+$GLOBALS['block_mode'] = false;
 
 // Construct FQFN
 $INC = sprintf("inc/modules/guest/action-%s.php", $GLOBALS['action']);