예제 #1
0
function add_tab_land_your_dream_job()
{
    $user = $_GET['user'];
    $user_info = get_userdata($user);
    if ($user_info->roles[0] == 'student') {
        rcl_tab('dream_job', 'land_your_dream_job_showup', 'Land Your Dream Job', array('public' => 0, 'class' => 'fa-briefcase', 'order' => 11));
    }
}
예제 #2
0
function add_tab_view_your_awards()
{
    $user = $_GET['user'];
    $user_info = get_userdata($user);
    if ($user_info->roles[0] == 'student') {
        rcl_tab('awards', 'view_your_awards_showup', 'View your awards', array('public' => 0, 'class' => 'fa-dollar', 'order' => 11));
    }
}
예제 #3
0
function add_tab_meet_your_mentor()
{
    $user = $_GET['user'];
    $user_info = get_userdata($user);
    if ($user_info->roles[0] == 'student') {
        rcl_tab('meet-mentor', 'meet_your_mentor_showup', 'Meet your Mentor', array('public' => 0, 'class' => 'fa-calendar', 'order' => 11));
    }
}
예제 #4
0
function add_tab_apply_for_campus_rise()
{
    $user = $_GET['user'];
    $user_info = get_userdata($user);
    if ($user_info->roles[0] == 'student') {
        rcl_tab('apply_for_campus', 'apply_for_campus_rise_showup', 'Apply for Campus Rise', array('public' => 0, 'class' => 'fa-clone', 'order' => 20));
    }
}
예제 #5
0
function add_tab_chat_with_students()
{
    $user = $_GET['user'];
    $user_info = get_userdata($user);
    //if ( $user_info->roles[0] == 'mentor' ){
    rcl_tab('contacts', 'contacts_showup');
    //}
}
예제 #6
0
function rcl_init_publics_block()
{
    global $rcl_options;
    if ($rcl_options['publics_block_rcl'] == 1) {
        $view = 0;
        if ($rcl_options['view_publics_block_rcl']) {
            $view = $rcl_options['view_publics_block_rcl'];
        }
        rcl_tab('publics', 'rcl_tab_publics', __('Posts', 'wp-recall'), array('public' => $view, 'class' => 'fa-list', 'order' => 50));
    }
    if ($rcl_options['output_public_form_rcl'] == 1) {
        rcl_tab('postform', 'rcl_tab_postform', __('Publication', 'wp-recall'), array('class' => 'fa-pencil', 'order' => 60, 'path' => __FILE__));
    }
}
예제 #7
0
function add_tab_assistance_map()
{
    rcl_tab('assistance_map', 'form_map_block', 'Assistance in Ann Arbor', array('public' => 0, 'class' => 'fa-eye', 'order' => 19));
}
예제 #8
0
 function add_tab_message()
 {
     rcl_tab('privat', array('Rcl_Messages', 'recall_user_private_message'), __('Private chat', 'wp-recall'), array('public' => 1, 'class' => 'fa-comments', 'order' => 10, 'path' => __FILE__));
 }
예제 #9
0
function rcl_add_tab_groups()
{
    //rcl_tab('groups','rcl_tab_groups',__('Groups','wp-recall'),array('public'=>1,'class'=>'fa-group'));
    rcl_tab('groups', 'rcl_tab_groups');
}
예제 #10
0
function rcl_tab_profile()
{
    rcl_tab('profile', 'rcl_tab_profile_content', __('Profile', 'wp-recall'), array('class' => 'fa-user', 'order' => 20, 'path' => __FILE__));
}
예제 #11
0
function rcl_add_rating_tab()
{
    rcl_tab('rating', 'rcl_rating_tab', __('Rating', 'wp-recall'), array('public' => 1, 'output' => 'sidebar', 'class' => 'fa-balance-scale'));
}
예제 #12
0
function add_tab_transfer_funds()
{
    rcl_tab('transfer_funds', 'form_recall_block', 'Transfer of funds', array('public' => 0, 'class' => 'fa-usd', 'order' => 20));
}
예제 #13
0
function add_tab_meet_mentor()
{
    rcl_tab('meet_mentor', 'meet_mentor_recall_block', 'Meet your mentor', array('public' => 0, 'class' => 'fa-hand-paper-o', 'order' => 23));
}
예제 #14
0
function rcl_tab_review()
{
    rcl_tab('recall', array('Rcl_Review', 'get_content_review'), __('Reviews', 'wp-recall'), array('public' => 1, 'class' => 'fa-trophy', 'order' => 50, 'path' => __FILE__));
}
예제 #15
0
function rcl_tab_orders()
{
    rcl_tab('orders', 'rcl_orders', 'Заказы', array('class' => 'fa-shopping-cart', 'order' => 30, 'path' => __FILE__));
}
예제 #16
0
function add_tab_rcl($id, $callback, $name = '', $args = false)
{
    _deprecated_function('add_tab_rcl', '4.2', 'rcl_tab');
    return rcl_tab($id, $callback, $name, $args);
}
예제 #17
0
function rcl_add_subscriptions_tab()
{
    rcl_tab('subscriptions', 'rcl_subscriptions_tab', __('Subscriptions', 'wp-recall'), array('public' => 0, 'output' => 'sidebar', 'class' => 'fa-bell-o'));
}
예제 #18
0
function add_tab_donation_form()
{
    rcl_tab('donation_form', 'form_donation_block', 'Create your wish', array('public' => 0, 'class' => 'fa-plus-square', 'order' => 18));
}
예제 #19
0
function add_tab_edit_wish()
{
    rcl_tab('edit_wish', 'edit_recall_block', 'Edit your wish', array('public' => 0, 'class' => 'fa-pencil-square-o', 'order' => 21));
}