function rcl_get_login_form($atts) { extract(shortcode_atts(array('form' => false), $atts)); return rcl_get_authorize_form('pageform', $form); }
function widget($args, $instance) { extract($args); $title = apply_filters('widget_title', $instance['title']); echo $before_widget; if ($title) { echo $before_title . $title . $after_title; } echo rcl_get_authorize_form(); echo $after_widget; }
function rcl_get_shortcode_wp_recall() { global $user_LK; if (!$user_LK) { return '<h4>' . __('To begin to use the capabilities of your personal account, please log in or register on this site', 'wp-recall') . '</h4> <div class="authorize-form-rcl">' . rcl_get_authorize_form() . '</div>'; } ob_start(); wp_recall(); $content = ob_get_contents(); ob_end_clean(); return $content; }