diff --git a/e107_handlers/user_extended_class.php b/e107_handlers/user_extended_class.php index a047bb4a4..f85ed9d9c 100644 --- a/e107_handlers/user_extended_class.php +++ b/e107_handlers/user_extended_class.php @@ -344,7 +344,7 @@ class e107_user_extended $err = $this->user_extended_validate_entry($val, $defs); if ($err === true) { // General error - usually empty field; could be unacceptable value, or regex fail and no error message defined - $eufVals['errortext'][$f] = str_replace('--SOMETHING--',$tp->toHtml(defset($defs['user_extended_struct_text'], $defs['user_extended_struct_text']),FALSE,'defs'),LAN_USER_75); + $eufVals['errortext'][$f] = str_replace('[x]',$tp->toHtml(defset($defs['user_extended_struct_text'], $defs['user_extended_struct_text']),FALSE,'defs'),LAN_USER_75); $eufVals['errors'][$f] = ERR_GENERIC; } elseif ($err) diff --git a/e107_languages/English/lan_user.php b/e107_languages/English/lan_user.php index ec5c51956..b8ce2b98e 100644 --- a/e107_languages/English/lan_user.php +++ b/e107_languages/English/lan_user.php @@ -102,7 +102,7 @@ define("LAN_USER_71", "Signature: "); // LAN_120 define("LAN_USER_72", "Avatar: "); // LAN_121 define("LAN_USER_73", "choice of Content/Mail-lists"); define("LAN_USER_74", "Custom Title"); -define("LAN_USER_75", "Your --SOMETHING-- is required"); // Replaces LAN_SIGNUP_6, LAN_SIGNUP_7 combination +define("LAN_USER_75", "Your [x] is required"); // Replaces LAN_SIGNUP_6, LAN_SIGNUP_7 combination define("LAN_USER_76", "Subscribed to"); // LAN_USET_5 define("LAN_USER_77", "Your password must be at least [x] characters long."); // Replaces LAN_SIGNUP_4, LAN_SIGNUP_5 combination define("LAN_USER_78", "Min."); // LAN_SIGNUP_1 diff --git a/signup.php b/signup.php index be05ef354..58970aae6 100644 --- a/signup.php +++ b/signup.php @@ -707,7 +707,7 @@ if (isset($_POST['register']) && intval($pref['user_reg']) === 1) if ($pref['signup_option_'.$value] == 2 && !isset($alldata['data']['user_'.$value]) && !isset($alldata['errors']['user_'.$value])) { $alldata['errors']['user_'.$value] = ERR_GENERIC; - $alldata['errortext']['user_'.$value] = str_replace('--SOMETHING--',$signup_option_title[$key],LAN_USER_75); + $alldata['errortext']['user_'.$value] = str_replace('[x]',$signup_option_title[$key],LAN_USER_75); } }