From: Roland Häder Date: Tue, 10 Feb 2009 15:27:04 +0000 (+0000) Subject: Output of messages now a bit nicer X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=553913631a4cad484665f11a95a3d57717fb38d6;p=mailer.git Output of messages now a bit nicer --- diff --git a/admin.php b/admin.php index 2047658661..3a173f4d9e 100644 --- a/admin.php +++ b/admin.php @@ -36,10 +36,12 @@ require_once("inc/libs/security_functions.php"); // Init "action" and "what" global $what, $action; -$GLOBALS['what'] = ""; $GLOBALS['action'] = ""; +$GLOBALS['what'] = ""; +$GLOBALS['action'] = ""; // Set module -$GLOBALS['module'] = "admin"; $CSS = -1; +$GLOBALS['module'] = "admin"; +$CSS = -1; // Load the required file(s) require("inc/config.php"); diff --git a/inc/modules/frametester.php b/inc/modules/frametester.php index 7ac28c72c7..befb76db4d 100644 --- a/inc/modules/frametester.php +++ b/inc/modules/frametester.php @@ -102,7 +102,7 @@ if ((!empty($_POST['url'])) || (!empty($_GET['url'])) || (!empty($_GET['frame']) break; case "test_top": - OUTPUT_HTML("
".GUEST_FRAMETESTER_TOP.""); + LOAD_TEMPLATE("admin_settings_saved", false, "
".GUEST_FRAMETESTER_TOP.""); break; case "back": // Back buttom diff --git a/mailid_top.php b/mailid_top.php index 2136361822..57509a6c74 100644 --- a/mailid_top.php +++ b/mailid_top.php @@ -327,22 +327,22 @@ if (isBooleanConstantAndTrue('mxchange_installed')) { break; } } - else OUTPUT_HTML("
".MAIL_ALREADY_CONFIRMED." (6)
"); + else LOAD_TEMPLATE("admin_settings_saved", false, "
".MAIL_ALREADY_CONFIRMED." (6)
"); } - else OUTPUT_HTML("
".MAIL_ALREADY_CONFIRMED." (5)
"); + else LOAD_TEMPLATE("admin_settings_saved", false, "
".MAIL_ALREADY_CONFIRMED." (5)
"); } - else OUTPUT_HTML("
".MAIL_ALREADY_CONFIRMED." (4)
"); + else LOAD_TEMPLATE("admin_settings_saved", false, "
".MAIL_ALREADY_CONFIRMED." (4)
"); } else { SQL_FREERESULT($result); - OUTPUT_HTML("
".MAIL_ALREADY_CONFIRMED." (3)
"); + LOAD_TEMPLATE("admin_settings_saved", false, "
".MAIL_ALREADY_CONFIRMED." (3)
"); } } else { SQL_FREERESULT($result); - OUTPUT_HTML("
".MAIL_ALREADY_CONFIRMED." (2)
"); + LOAD_TEMPLATE("admin_settings_saved", false, "
".MAIL_ALREADY_CONFIRMED." (2)
"); } } else { SQL_FREERESULT($result); - OUTPUT_HTML("
".MAIL_ALREADY_CONFIRMED." (1)
"); + LOAD_TEMPLATE("admin_settings_saved", false, "
".MAIL_ALREADY_CONFIRMED." (1)
"); } // Insert footer if no image