diff --git a/e107_admin/language.php b/e107_admin/language.php index 5ee2d7cf9..4d517faa9 100644 --- a/e107_admin/language.php +++ b/e107_admin/language.php @@ -1225,7 +1225,7 @@ class lanDeveloper $text .= " - Search for Deprecated Lans +
Hold down CTRL key to select multiple.
eg. To check lan_signup.php you'll want to also select signup_shortcodes.php and signup_template.php.
"; - $label = deftrue('LAN_FPW_102', LAN_156); + $label = deftrue('LAN_FPW_102', LAN_SUBMIT); return e107::getForm()->button('pwsubmit', $label); } function sc_fpw_captcha_lan($parm='') { - return LAN_FPW2; + return LAN_ENTER_CODE; } function sc_fpw_captcha_hidden($parm='') @@ -250,7 +250,7 @@ if (isset($_POST['pwsubmit'])) { if (!$sec_img->verify_code($_POST['rand_num'], $_POST['code_verify'])) { - fpw_error(LAN_FPW3); + fpw_error(LAN_INVALID_CODE); } } @@ -359,18 +359,6 @@ if (isset($_POST['pwsubmit'])) $sc = array(); // needed? -/* -if (USE_IMAGECODE) -{ - $sc = array ( - 'FPW_TABLE_SECIMG_LAN' => LAN_FPW2, - 'FPW_TABLE_SECIMG_HIDDEN' => "", - 'FPW_TABLE_SECIMG_SECIMG' => $sec_img->r_image(), - 'FPW_TABLE_SECIMG_TEXTBOC' => "" - ); -} -*/ - if(deftrue('BOOTSTRAP')) { // TODO do we want the
element outside the template?