- Timestamp:
- 11/17/2020 07:31:44 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/group-header.php
r12595 r12789 4 4 * 5 5 * @since 3.0.0 6 * @version 3.2.06 * @version 7.0.0 7 7 */ 8 8 ?> … … 22 22 <div id="item-header-content"> 23 23 24 <p class="highlight group-status"><strong><?php echo esc_html( bp_nouveau_group_meta()->status ); ?></strong></p> 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; ?> 25 27 26 <p class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>">28 <p class="activity"> 27 29 <?php 28 echo esc_html( 29 sprintf( 30 printf( 30 31 /* translators: %s: last activity timestamp (e.g. "active 1 hour ago") */ 31 __( 'active %s', 'buddypress' ), 32 bp_get_group_last_active() 33 ) 34 ); 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 ); 35 39 ?> 36 40 </p> 41 42 <?php 43 bp_group_type_list( 44 bp_get_group_id(), 45 array( 46 'label' => __( 'Group Types', 'buddypress' ), 47 'list_element' => 'span', 48 ) 49 ); 50 ?> 37 51 38 52 <?php bp_nouveau_group_hook( 'before', 'header_meta' ); ?> … … 41 55 <div class="item-meta"> 42 56 43 <?php echo bp_nouveau_ group_meta()->extra; ?>57 <?php echo bp_nouveau_the_group_meta( array( 'keys' => 'extra' ) ); ?> 44 58 45 59 </div><!-- .item-meta -->
Note: See TracChangeset
for help on using the changeset viewer.