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
}
} 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!