]> git.mxchange.org Git - mailer.git/commitdiff
Output of messages now a bit nicer
authorRoland Häder <roland@mxchange.org>
Tue, 10 Feb 2009 15:27:04 +0000 (15:27 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 10 Feb 2009 15:27:04 +0000 (15:27 +0000)
admin.php
inc/modules/frametester.php
mailid_top.php

index 20476586610b4be6447f9dad38ae7960f5292dcb..3a173f4d9e9dfd8a87478e5c7339035144d21b8b 100644 (file)
--- 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");
index 7ac28c72c73a6f75ebecccdc269a698a19c8d706..befb76db4d8b44ba3b43deacb466e9ab46242b66 100644 (file)
@@ -102,7 +102,7 @@ if ((!empty($_POST['url'])) || (!empty($_GET['url'])) || (!empty($_GET['frame'])
                break;
 
        case "test_top":
-               OUTPUT_HTML("<div class=\"guest_done\">".GUEST_FRAMETESTER_TOP."</span>");
+               LOAD_TEMPLATE("admin_settings_saved", false, "<div class=\"guest_done\">".GUEST_FRAMETESTER_TOP."</span>");
                break;
 
        case "back": // Back buttom
index 2136361822a3784dfd2c0777a0e7510b4e2634f0..57509a6c74eaa1a3c955e1edbddcdd21c5005a34 100644 (file)
@@ -327,22 +327,22 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
                                                                        break;
                                                                }
                                                        }
-                                                        else OUTPUT_HTML("<div class=\"member_failed\">".MAIL_ALREADY_CONFIRMED." (6)</div>");
+                                                        else LOAD_TEMPLATE("admin_settings_saved", false, "<div class=\"member_failed\">".MAIL_ALREADY_CONFIRMED." (6)</div>");
                                                }
-                                                else OUTPUT_HTML("<div class=\"member_failed\">".MAIL_ALREADY_CONFIRMED." (5)</div>");
+                                                else LOAD_TEMPLATE("admin_settings_saved", false, "<div class=\"member_failed\">".MAIL_ALREADY_CONFIRMED." (5)</div>");
                                        }
-                                        else OUTPUT_HTML("<div class=\"member_failed\">".MAIL_ALREADY_CONFIRMED." (4)</div>");
+                                        else LOAD_TEMPLATE("admin_settings_saved", false, "<div class=\"member_failed\">".MAIL_ALREADY_CONFIRMED." (4)</div>");
                                } else {
                                        SQL_FREERESULT($result);
-                                       OUTPUT_HTML("<div class=\"member_failed\">".MAIL_ALREADY_CONFIRMED." (3)</div>");
+                                       LOAD_TEMPLATE("admin_settings_saved", false, "<div class=\"member_failed\">".MAIL_ALREADY_CONFIRMED." (3)</div>");
                                }
                        } else {
                                SQL_FREERESULT($result);
-                               OUTPUT_HTML("<div class=\"member_failed\">".MAIL_ALREADY_CONFIRMED." (2)</div>");
+                               LOAD_TEMPLATE("admin_settings_saved", false, "<div class=\"member_failed\">".MAIL_ALREADY_CONFIRMED." (2)</div>");
                        }
                } else {
                        SQL_FREERESULT($result);
-                       OUTPUT_HTML("<div class=\"member_failed\">".MAIL_ALREADY_CONFIRMED." (1)</div>");
+                       LOAD_TEMPLATE("admin_settings_saved", false, "<div class=\"member_failed\">".MAIL_ALREADY_CONFIRMED." (1)</div>");
                }
 
                // Insert footer if no image