[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * BuddyPress - Groups Header 4 * 5 * @since 3.0.0 6 * @version 7.0.0 7 */ 8 ?> 9 10 <?php bp_get_template_part( 'groups/single/parts/header-item-actions' ); ?> 11 12 <?php if ( ! bp_disable_group_avatar_uploads() ) : ?> 13 <div id="item-header-avatar"> 14 <a href="<?php echo esc_url( bp_get_group_permalink() ); ?>" class="bp-tooltip" data-bp-tooltip="<?php echo esc_attr( bp_get_group_name() ); ?>"> 15 16 <?php bp_group_avatar(); ?> 17 18 </a> 19 </div><!-- #item-header-avatar --> 20 <?php endif; ?> 21 22 <div id="item-header-content"> 23 24 <?php if ( bp_nouveau_group_has_meta( 'status' ) ) : ?> 25 <p class="highlight group-status"><strong><?php echo esc_html( bp_nouveau_the_group_meta( array( 'keys' => 'status' ) ) ); ?></strong></p> 26 <?php endif; ?> 27 28 <p class="activity"> 29 <?php 30 printf( 31 /* translators: %s: last activity timestamp (e.g. "Active 1 hour ago") */ 32 esc_html__( 'Active %s', 'buddypress' ), 33 sprintf( 34 '<span data-livestamp="%1$s">%2$s</span>', 35 bp_core_get_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ), 36 esc_html( bp_get_group_last_active() ) 37 ) 38 ); 39 ?> 40 </p> 41 42 <?php 43 bp_group_type_list( 44 bp_get_group_id(), 45 array( 46 'label' => array( 47 'plural' => __( 'Group Types', 'buddypress' ), 48 'singular' => __( 'Group Type', 'buddypress' ), 49 ), 50 'list_element' => 'span', 51 ) 52 ); 53 ?> 54 55 <?php bp_nouveau_group_hook( 'before', 'header_meta' ); ?> 56 57 <?php if ( bp_nouveau_group_has_meta_extra() ) : ?> 58 <div class="item-meta"> 59 60 <?php echo bp_nouveau_the_group_meta( array( 'keys' => 'extra' ) ); ?> 61 62 </div><!-- .item-meta --> 63 <?php endif; ?> 64 65 66 <?php if ( ! bp_nouveau_groups_front_page_description() && bp_nouveau_group_has_meta( 'description' ) ) : ?> 67 <div class="group-description"> 68 <?php bp_group_description(); ?> 69 </div><!-- //.group_description --> 70 <?php endif; ?> 71 72 </div><!-- #item-header-content --> 73 74 <?php bp_nouveau_group_header_buttons(); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sat Sep 7 01:00:55 2024 | Cross-referenced by PHPXref 0.7.1 |