X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fregister_functions.php;h=5837b848ebc0530d3b4f3be987e92c42fe285b2b;hb=fbd528919a0e2762d423c5bcbc0289436e07a1d4;hp=5dc7074504c2060f62c2275451d7f68c7077ee93;hpb=75ad748a68473ace540251427a74fb781b1145e9;p=mailer.git diff --git a/inc/libs/register_functions.php b/inc/libs/register_functions.php index 5dc7074504..5837b848eb 100644 --- a/inc/libs/register_functions.php +++ b/inc/libs/register_functions.php @@ -98,7 +98,7 @@ function REGISTER_OUTPUT_REQUIRE_CHECK(&$array) $array[$name] = ""; $eval = "\$OUT = REGISTER_".strtoupper($name)."_REQUIRED;"; eval($eval); - OUTPUT_HTML ("".$OUT."

"); + OUTPUT_HTML("".$OUT."

"); } } @@ -108,7 +108,7 @@ function REGISTER_OUTPUT_REQUIRE_CHECK(&$array) // function REGISTER_ADD_CATEGORY_TABLE ($MODE, $return=false) { - global $_POST, $CONFIG; + global $_POST, $_CONFIG; $OUT = ""; // Guests are mostly not interested in how many members has @@ -134,13 +134,13 @@ function REGISTER_ADD_CATEGORY_TABLE ($MODE, $return=false) 'id' => $id, ); - if (($_POST['cat'][$id] == "Y") || (($CONFIG['register_default'] == "Y") && (empty($_POST['cat'][$id])))) + if (($_POST['cat'][$id] == "Y") || (($_CONFIG['register_default'] == "Y") && (empty($_POST['cat'][$id])))) { - $content['def_y'] = " checked"; + $content['def_y'] = ' checked'; } else { - $content['def_n'] = " checked"; + $content['def_n'] = ' checked'; } // Load template and switch color @@ -166,7 +166,7 @@ function REGISTER_ADD_CATEGORY_TABLE ($MODE, $return=false) else { // Output directly (default) - OUTPUT_HTML ($OUT); + OUTPUT_HTML($OUT); } } //