Fixed logfile writing in installation phase, .revision is now ignored
[mailer.git] / inc / modules / login.php
index ba29320e8878d742310f5cf2eb60558a5cb84b0a..a8cf8861d3e378ac09fa9814e44cb503a476be9a 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Login-Bereich fuer Mitglieder                    *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 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                  *
@@ -53,14 +58,14 @@ if ($status != "CONFIRMED") {
 define('__MEMBER_ADVERT', LOAD_TEMPLATE("member_banner", true));
 
 // Disable block mode by default
-$BLOCK_MODE = false;
+$GLOBALS['block_mode'] = false;
 
 // Generate a tableset for the menu title and content
 LOAD_TEMPLATE("member_header");
 
 // Begin menu block here
-OUTPUT_HTML("<TR>
-  <TD class=\"member_menu\">");
+OUTPUT_HTML("<tr>
+  <td class=\"member_menu\">");
 
 // Adding the main content module here
 if (empty($GLOBALS['action'])) {
@@ -75,13 +80,13 @@ if ((getConfig('member_menu') == "Y") || (!EXT_IS_ACTIVE("sql_patches", true)))
 } // END - if
 
 // Menu -> content
-OUTPUT_HTML("   </TD>
-  <TD valign=\"top\" align=\"center\" rowspan=\"3\" class=\"member_content\">");
+OUTPUT_HTML("   </td>
+  <td valign=\"top\" align=\"center\" rowspan=\"3\" class=\"member_content\">");
 
-$INC_ACTION = sprintf("%sinc/modules/member/action-%s.php", PATH, $act);
-if ((FILE_READABLE($INC_ACTION)) && (VALIDATE_MENU_ACTION("member", GET_ACTION("member", $GLOBALS['what']), $GLOBALS['what']))) {
+$INC = sprintf("inc/modules/member/action-%s.php", $act);
+if ((INCLUDE_READABLE($INC)) && (VALIDATE_MENU_ACTION("member", $GLOBALS['action'], $GLOBALS['what']))) {
        // Requested module is available so we load it
-       include ($INC_ACTION);
+       LOAD_INC($INC);
 } else {
        // Invalid module specified or not found...
        LOAD_URL("modules.php?module=login");
@@ -95,8 +100,8 @@ if ((getConfig('member_menu') == "Y") || (!EXT_IS_ACTIVE("sql_patches", true)))
        LOAD_TEMPLATE("member_advert");
 }
 
-OUTPUT_HTML("  </TD>
-</TR>");
+OUTPUT_HTML("  </td>
+</tr>");
 
 // Load same template for "Goto TOP"
 LOAD_TEMPLATE("member_goto_top");