Some more butifications
authorRoland Häder <roland@mxchange.org>
Tue, 10 Feb 2009 16:58:14 +0000 (16:58 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 10 Feb 2009 16:58:14 +0000 (16:58 +0000)
inc/libs/register_functions.php
inc/modules/guest/what-register.php
inc/modules/member/what-order.php
surfbar.php
templates/de/html/surfbar/surfbar_start_banner.tpl

index 8ccfcc3..1c266ee 100644 (file)
@@ -94,7 +94,7 @@ function REGISTER_OUTPUT_REQUIRE_CHECK(&$array)
                        // Empty entry found
                        $array[$name] = "";
                        $OUT = constant('REGISTER_'.strtoupper($name).'_REQUIRED');
-                       OUTPUT_HTML("<strong><span class=\"register_failed\">".$OUT."</span></strong><br /><br />");
+                       OUTPUT_HTML("<div class=\"register_failed\">".$OUT."</div>");
                }
        }
 
index e7318bd..0d6e3f6 100644 (file)
@@ -365,45 +365,45 @@ VALUES ('%s','%s','%s','%s','%s',%s,'%s','%s',%s, %s,%s,'%s',%s, %s,'%s','UNCONF
        LOAD_TEMPLATE("admin_settings_saved", false, REGISTRATION_DONE);
 } else {
        if ($_POST['agree'] == "!") {
-               OUTPUT_HTML("<strong><span class=\"register_failed\">".HAVE_TO_AGREE."</span></strong><br /><br />");
+               OUTPUT_HTML("<div class=\"register_failed\">".HAVE_TO_AGREE."</div>");
        } // END - if
 
        if ($_POST['addy'] == "!") {
-               OUTPUT_HTML("<strong><span class=\"register_failed\">".ENTER_EMAIL."</span></strong><br /><br />");
+               OUTPUT_HTML("<div class=\"register_failed\">".ENTER_EMAIL."</div>");
                $_POST['addy'] = "";
        } elseif ($_POST['addy'] == "?") {
-               OUTPUT_HTML("<strong><span class=\"register_failed\">".EMAIL_ALREADY_DB."</span></strong><br /><br />");
+               OUTPUT_HTML("<div class=\"register_failed\">".EMAIL_ALREADY_DB."</div>");
                $_POST['addy'] = "";
        }
 
        if ($_POST['surname'] == "!") {
-               OUTPUT_HTML("<strong><span class=\"register_failed\">".ENTER_SURNAME."</span></strong><br /><br />");
+               OUTPUT_HTML("<div class=\"register_failed\">".ENTER_SURNAME."</div>");
                $_POST['surname'] = "";
        } // END - if
 
        if ($_POST['family_name'] == "!") {
-               OUTPUT_HTML("<strong><span class=\"register_failed\">".ENTER_FAMILY."</span></strong><br /><br />");
+               OUTPUT_HTML("<div class=\"register_failed\">".ENTER_FAMILY."</div>");
                $_POST['family_name'] = "";
        } // END - if
 
        if (($_POST['pass1'] == "!") && ($_POST['pass2'] == "!")) {
-               OUTPUT_HTML("<strong><span class=\"register_failed\">".ENTER_BOTH_PASSWORDS."</span></strong><br /><br />");
+               OUTPUT_HTML("<div class=\"register_failed\">".ENTER_BOTH_PASSWORDS."</div>");
        } elseif ($_POST['pass1'] == "!") {
-               OUTPUT_HTML("<strong><span class=\"register_failed\">".ENTER_PASS1."</span></strong><br /><br />");
+               OUTPUT_HTML("<div class=\"register_failed\">".ENTER_PASS1."</div>");
        } elseif ($_POST['pass2'] == "!") {
-               OUTPUT_HTML("<strong><span class=\"register_failed\">".ENTER_PASS2."</span></strong><br /><br />");
+               OUTPUT_HTML("<div class=\"register_failed\">".ENTER_PASS2."</div>");
        }
 
        if ($SHORT_PASS) {
-               OUTPUT_HTML("<strong><span class=\"register_failed\">".SHORT_PASS.": ".getConfig('pass_len')."</span></strong><br /><br />");
+               OUTPUT_HTML("<div class=\"register_failed\">".SHORT_PASS.": ".getConfig('pass_len')."</div>");
        } // END - if
 
        if ($IP_TIMEOUT) {
-               OUTPUT_HTML("<strong><span class=\"register_failed\">".REMOTE_ADDR_TIMEOUT."</span></strong><br /><br />");
+               OUTPUT_HTML("<div class=\"register_failed\">".REMOTE_ADDR_TIMEOUT."</div>");
        } // END - if
 
        if ((!empty($cats)) && ($cats < getConfig('least_cats'))) {
-               OUTPUT_HTML("<strong><span class=\"register_failed\">".CATS_LEAST.": ".getConfig('least_cats')."</span></strong><br /><br />");
+               OUTPUT_HTML("<div class=\"register_failed\">".CATS_LEAST.": ".getConfig('least_cats')."</div>");
        } // END - if
 
        // Generate birthday selection
index 4f6bf12..44865bb 100644 (file)
@@ -700,15 +700,15 @@ LIMIT 1", array(bigintval($ucat)), __FILE__, __LINE__);
                                }
                        } else {
                                // No mail types defined
-                               OUTPUT_HTML("<strong><span class=\"member_failed\">".MEMBER_NO_PAYMENTS."</span></strong>");
+                               LOAD_TEMPLATE("admin_settings_saved", false, "<span class=\"member_failed\">".MEMBER_NO_PAYMENTS."</span>");
                        }
                } else {
                        // No points left!
-                       OUTPUT_HTML("<strong><span class=\"member_failed\">".MEMBER_NO_POINTS."</span></strong>");
+                       LOAD_TEMPLATE("admin_settings_saved", false, "<span class=\"member_failed\">".MEMBER_NO_POINTS."</span>");
                }
        } else {
                // No cateogries are defined yet
-               OUTPUT_HTML("<strong><span class=\"member_failed\">".MEMBER_NO_CATS."</span></strong>");
+               LOAD_TEMPLATE("admin_settings_saved", false, "<span class=\"member_failed\">".MEMBER_NO_CATS."</span>");
        }
 } elseif ($mmails == "0") {
        // Please set more than 0 mails per day!
index 02d12cc..a640ea6 100644 (file)
@@ -75,7 +75,6 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
                        LOAD_TEMPLATE("surfbar_frame_start");
 
                        // Load banner
-                       OUTPUT_HTML("<br />");
                        LOAD_TEMPLATE("surfbar_start_banner");
 
                        // This makes the footer appear again
index e622e83..f713e52 100644 (file)
@@ -1 +1,3 @@
-<!-- Hier kommt Banner-Code rein, der beim "Ruhen" der Surfbar angezeigt wird //-->
+<!--
+Hier kommt Banner-Code rein, der beim "Ruhen" der Surfbar angezeigt wird.
+//-->