]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/login.php
- Surfbar extended with dynamic percentage (only config)
[mailer.git] / inc / modules / login.php
index f4403897bc4cd450acf51c86995738d899b161af..8178d82f09903ac10e1da21162e5aab9b32f12ed 100644 (file)
@@ -82,18 +82,14 @@ OUTPUT_HTML("<TR>
   <TD class=\"member_menu\">");
 
 // Adding the main content module here
-if (empty($GLOBALS['action']))
-{
+if (empty($GLOBALS['action'])) {
        if (empty($GLOBALS['what'])) $GLOBALS['what'] = "welcome";
-}
- else
-{
+} else {
        $act = SQL_ESCAPE($GLOBALS['action']);
 }
 
 // Add the member's menu here...
-if (($_CONFIG['member_menu'] == "Y") || (!EXT_IS_ACTIVE("sql_patches", true)))
-{
+if (($_CONFIG['member_menu'] == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) {
        ADD_MENU("member", GET_ACTION("member", $GLOBALS['what']), $GLOBALS['what']);
 }
 
@@ -101,13 +97,10 @@ 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_exists($INC_ACTION)) && (is_readable($INC_ACTION)) && (VALIDATE_MENU_ACTION("member", GET_ACTION("member", $GLOBALS['what']), $GLOBALS['what'])))
-{
+if ((file_exists($INC_ACTION)) && (is_readable($INC_ACTION)) && (VALIDATE_MENU_ACTION("member", GET_ACTION("member", $GLOBALS['what']), $GLOBALS['what']))) {
        // Requested module is available so we load it
        include ($INC_ACTION);
-}
- else
-{
+} else {
        // Invalid module specified or not found...
        LOAD_URL("modules.php?module=login");
 }