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 2047658..3a173f4 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 7ac28c7..befb76d 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 2136361..57509a6 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