HTML->XHTML preparation (still *A LOT* to convert
[mailer.git] / inc / mysql-connect.php
index 5d0c6c8a489fb7b2b5b1e21b2cd2e9848ca37d81..2caef50a738ec7f305d413af27360f33f14bdac3 100644 (file)
@@ -71,9 +71,12 @@ function __errorHandler ($errno, $errstr, $errfile, $errline) {
        // Output message to user and die
        if (EXT_IS_ACTIVE("debug")) {
                // Debug extension found! :-)
+               // @TODO Can this be rewritten to mxchange_die() ?
                die("Error message written to debug.log. Please try to call <a href=\"".URL."\">the main page</a> to continue.");
        } else {
                // No debug extension found
+               // @TODO Find a way to rewrite debug_print_backtrace() so we can maybe
+               // @TODO (?) rewrite this to mxchange_die()
                print("Please report this error at <a href=\"http://bugs.mxchange.org\" rel=\"external\" target=\"_blank\">bugs.mxchange.org</a>:<pre>");
                debug_print_backtrace();
                die("</pre>Thank you for your help finding bugs.");
@@ -105,7 +108,7 @@ register_shutdown_function('__SHUTDOWN_HOOK');
 // Check if the user setups his MySQL stuff...
 if ((empty($MySQL['login'])) && (!defined('mxchange_installing')) && (!isset($_GET['installing'])) && (isBooleanConstantAndTrue('mxchange_installed'))) {
        // No login entered and outside installation mode
-       echo "<STRONG>".LANG_WARNING.":</STRONG> ";
+       echo "<strong>".LANG_WARNING.":</strong> ";
        if (isBooleanConstantAndTrue('mxchange_installed')) {
                // You have changed my configuration file!
                die(DIE_CONFIG_CHANGED_YOU);
@@ -115,7 +118,7 @@ if ((empty($MySQL['login'])) && (!defined('mxchange_installing')) && (!isset($_G
        }
 } elseif ((!isBooleanConstantAndTrue('mxchange_installing')) && (!isset($_GET['installing'])) && (empty($MySQL['password'])) && (isBooleanConstantAndTrue('warn_no_pass'))) {
        // No database password entered!!!
-       echo "<STRONG>".LANG_WARNING.":</STRONG> ".WARN_NULL_PASSWORD;
+       echo "<div>".LANG_WARNING.":</div> ".WARN_NULL_PASSWORD;
 }
 
 // Set dummy $_CONFIG array