function facebookall_render_facebook_button_registerform()
{
    $fball_settings = get_option('fball_settings');
    $login_caption = $fball_settings['login_title'];
    if (isset($fball_settings['registerpage']) and $fball_settings['registerpage'] == '1') {
        if (!is_user_logged_in()) {
            echo '<div style="margin-bottom: 3px;"><b>' . __($login_caption) . '</b></div>';
            facebookall_render_facebook_button();
        }
    }
}
function facebookall_login_shortcode()
{
    return is_user_logged_in() ? '' : facebookall_render_facebook_button();
}