X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-admin_add.php;h=7907f4c4e2b86c98453a843a2ceb984ca276b91b;hb=0369c36aaab5af6ed44da1e13a53baef285f79b4;hp=7c938cb84f7c52be384d0d775cab76f9eeca8616;hpb=52690b87d4382bd4bc15905068ab99bb70b1e3c9;p=mailer.git diff --git a/inc/modules/admin/what-admin_add.php b/inc/modules/admin/what-admin_add.php index 7c938cb84f..7907f4c4e2 100644 --- a/inc/modules/admin/what-admin_add.php +++ b/inc/modules/admin/what-admin_add.php @@ -40,8 +40,6 @@ if ((ereg(basename(__FILE__), $_SERVER['PHP_SELF'])) || (!IS_ADMIN())) // Add description as navigation point ADD_DESCR("admin", basename(__FILE__)); -OPEN_TABLE("100%", "admin_content admin_content_align", ""); - // Check if the admin has entered title and what-php file name... if (((empty($_POST['title'])) || (empty($_POST['menu'])) || (empty($_POST['descr']))) && (isset($_POST['ok']))) { @@ -75,7 +73,7 @@ if (!isset($_POST['ok'])) // Remove double eintries $prev = ""; $dmy = $menus; $dmy2 = $titles; $dmy3 = $below; - foreach ($menus as $key=>$value) + foreach ($menus as $key => $value) { if ($value == $prev) { @@ -90,7 +88,7 @@ if (!isset($_POST['ok'])) } $menus = $dmy; $titles = $dmy2; $below = $dmy3; // Load sub menus :) - foreach ($menus as $key_main=>$value_main) + foreach ($menus as $key_main => $value_main) { $result = SQL_QUERY_ESC("SELECT what, title, sort FROM "._MYSQL_PREFIX."_admin_menu WHERE action='%s' AND what != '' ORDER BY sort", array($value_main), __FILE__, __LINE__); @@ -117,7 +115,7 @@ if (!isset($_POST['ok'])) // Remove double eintries $prev = ""; $dmy = $menus[$value_main]; $dmy2 = $titles[$value_main]; $dmy3 = $below[$value_main]; - foreach ($menus[$value_main] as $key=>$value) + foreach ($menus[$value_main] as $key => $value) { if ($value == $prev) { @@ -136,14 +134,14 @@ if (!isset($_POST['ok'])) } $OUT = "