function buddydrive_friends_files_title() { buddydrive_item_nav(); }
/** * Displays the BuddyDrive of the group * * @uses bp_get_current_group_id() to get the group id * @uses buddydrive_component_home_url() to print the BuddyDrive link in the group * @uses buddydrive_get_template() to get the template if bp-default or any theme * @return string html output */ public function display($group_id = null) { $group_id = bp_get_current_group_id(); buddydrive_item_nav(); ?> <div class="buddydrive-crumbs in-group"> <a href="<?php esc_url(buddydrive_component_home_url()); ?> " name="home" id="buddydrive-home" data-group="<?php echo esc_attr($group_id); ?> "><i class="icon bd-icon-root"></i> <span id="folder-0" class="buddytree current"><?php _e('Root folder', 'buddydrive'); ?> </span></a> <?php if (groups_is_user_member(bp_loggedin_user_id(), $group_id)) { ?> <?php buddydrive_user_buddydrive_url(); ?> <?php } ?> </div> <div class="buddydrive single-group" role="main"> <?php bp_get_template_part('buddydrive-loop'); ?> </div><!-- .buddydrive.single-group --> <?php }