]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-register.php
Some functions rewritten to hungarian notation, handling of array rewritten
[mailer.git] / inc / modules / guest / what-register.php
index c44257b4be2a217c92da0ebf02c9804bf51f976e..f17a36cb826b60950ad7be1251b1e4b03ad1c404 100644 (file)
@@ -37,9 +37,9 @@ if (!defined('__SECURITY')) {
        require($INC);
 } elseif ((!EXT_IS_ACTIVE("register"))) {
        if (IS_ADMIN()) {
-               ADD_FATAL(sprintf(EXTENSION_PROBLEM_NOT_INSTALLED, "register"));
+               addFatalMessage(sprintf(EXTENSION_PROBLEM_NOT_INSTALLED, "register"));
        } else {
-               ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "register");
+               addFatalMessage(EXTENSION_PROBLEM_EXT_INACTIVE, "register");
        }
        return;
 }
@@ -455,11 +455,11 @@ VALUES ('%s','%s','%s','%s','%s',%s,'%s','%s',%s, %s,%s,'%s',%s, %s,'%s','UNCONF
        // Shall I add a counrty selection box or the old input box?
        if (EXT_IS_ACTIVE("country")) {
                // New variant, good!
-               $OUT  = "<SELECT name=\"country_code\" class=\"guest_select\" size=\"1\">\n";
+               $OUT  = "<select name=\"country_code\" class=\"guest_select\" size=\"1\">\n";
                $whereStatement = "WHERE is_active='Y'";
                if (IS_ADMIN()) $whereStatement = "";
                $OUT .= ADD_OPTION_LINES("countries", "id", "descr", $_POST['country_code'], "code", $whereStatement);
-               $OUT .= "</SELECT>";
+               $OUT .= "</select>";
                define('__COUNTRY_CONTENT', $OUT);
        } else {
                // Old out-dated variant