diff --git a/e107_core/shortcodes/batch/signup_shortcodes.php b/e107_core/shortcodes/batch/signup_shortcodes.php index 7992c474e..f9998205e 100755 --- a/e107_core/shortcodes/batch/signup_shortcodes.php +++ b/e107_core/shortcodes/batch/signup_shortcodes.php @@ -21,7 +21,13 @@ e107::coreLan('signup'); class signup_shortcodes extends e_shortcode { + function sc_signup_coppa_text($parm=null) + { + $text = LAN_SIGNUP_77. " ". LAN_SIGNUP_14.". ". + LAN_SIGNUP_15 . " " . e107::getParser()->emailObfuscate(SITEADMINEMAIL, LAN_SIGNUP_14) . " " . LAN_SIGNUP_16; + return $text; + } function sc_signup_coppa_form($parm) { @@ -278,8 +284,12 @@ class signup_shortcodes extends e_shortcode { $options['placeholder'] = $parm['placeholder']; } + elseif(!empty($preLen)) + { + $text = defset('LAN_SIGNUP_125', "Min. [x] chars."); + $options['placeholder'] = e107::getParser()->lanVars($text, $preLen); + } - // $options['pattern'] = '\w{'.$len.',}'; // word of minimum length return e107::getForm()->password('password1', '', 20, $options); @@ -314,12 +324,16 @@ class signup_shortcodes extends e_shortcode return e107::getForm()->password('password2', '', 20, $options); } - - + + + /** + * @deprecated - placeholder in PASSWORD1 includes this. + * @return null + */ function sc_signup_password_len() { global $pref, $SIGNUP_PASSWORD_LEN; - if($pref['signup_pass_len']) + if($pref['signup_pass_len'] && !empty($SIGNUP_PASSWORD_LEN)) { return $SIGNUP_PASSWORD_LEN; } diff --git a/e107_core/templates/contact_template.php b/e107_core/templates/contact_template.php index 849a68e5e..b45de67b2 100644 --- a/e107_core/templates/contact_template.php +++ b/e107_core/templates/contact_template.php @@ -12,20 +12,6 @@ if (!defined('e107_INIT')) { exit; } -/* -if(!isset($CONTACT_INFO)) -{ - $CONTACT_INFO = " -
- {SITECONTACTINFO}
- - |
-