Support » Plugin: User Access Manager » Form translation

  • Giovanni


    The form translation not working.
    Is possible to solve changing those lines in loginBar.php (fix use of __() functions)

    $sLoginForm = ‘<form action=”‘.$sLoginUrl.'” method=”post” class=”uam_login_form”>’;
    $sLoginForm .= ‘<label class=”input_label” for=”user_login”>’.__(‘Username:’).'</label>’;
    $sLoginForm .= ‘<input name=”log” value=”‘.esc_html(stripslashes($userLogin), 1).'” class=”input” id=”user_login” type=”text” />’;
    $sLoginForm .= ‘<label class=”input_label” for=”user_pass”>’.__(‘Password:’).'</label>’;
    $sLoginForm .= ‘<input name=”pwd” class=”input” id=”user_pass” type=”password” />’;
    $sLoginForm .= ‘<input name=”rememberme” class=”checkbox” id=”rememberme” value=”forever” type=”checkbox” />’;
    $sLoginForm .= ‘<label class=”checkbox_label” for=”rememberme”>’.__(‘Remember Me’).'</label>’;
    $sLoginForm .= ‘<input class=”button” type=”submit” name=”wp-submit” id=”wp-submit” value=”‘.__(‘Login’).’ »” />’;
    $sLoginForm .= ‘<input type=”hidden” name=”redirect_to” value=”‘.$_SERVER[‘REQUEST_URI’].'” />’;
    $sLoginForm .= ‘</form>’;

  • The topic ‘Form translation’ is closed to new replies.