]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-memedit.php
redirection of invalid or deleted mail orders improved, several code conventions...
[mailer.git] / inc / modules / admin / what-memedit.php
index ed7673bb21c052734736ab2fa2590d912914b8ef..e8e635dbbf15f091d4553240b3b96cdc79a30be9 100644 (file)
@@ -41,7 +41,7 @@ if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN()))
 ADD_DESCR("admin", basename(__FILE__));
 
 // Do we edit/delete/change main menus or sub menus?
-$AND = "what=''"; $SUB = "";
+$AND = "what = ''"; $SUB = "";
 
 if (!empty($_GET['sub']))
 {
@@ -55,7 +55,7 @@ if (!empty($_POST['sel'])) $chk = SELECTION_COUNT($_POST['sel']);
 
 OPEN_TABLE("100%", "admin_content admin_content_align", "");
 // List all menu points and make them editable
-OUTPUT_HTML ("<BR><BR></FONT>
+OUTPUT_HTML("<br /><br /></FONT>
 <DIV align=\"center\">");
 if ((isset($_POST['edit'])) && ($chk > 0) && (!IS_DEMO()))
 {
@@ -198,7 +198,7 @@ if ((isset($_POST['edit'])) && ($chk > 0) && (!IS_DEMO()))
        // An act is done...
        foreach ($_POST['sel'] as $sel=>$menu)
        {
-               $AND = "what=''";
+               $AND = "what = ''";
                $sel = bigintval($sel);
                if (!empty($SUB)) $AND = "action='".$SUB."'";
                switch ($_POST['ok'])
@@ -325,7 +325,7 @@ if ((isset($_POST['edit'])) && ($chk > 0) && (!IS_DEMO()))
                LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_NO_MENUS_FOUND);
        }
 }
-OUTPUT_HTML ("</DIV>");
+OUTPUT_HTML("</DIV>");
 CLOSE_TABLE();
 //
 ?>