Changeset 10290
- Timestamp:
- 10/20/2015 05:11:30 PM (9 years ago)
- Location:
- trunk/src/bp-templates/bp-legacy
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php
r10181 r10290 14 14 do_action( 'bp_before_group_header' ); ?> 15 15 16 <a id="header-cover-image" href="<?php bp_group_permalink(); ?>"></a> 16 <div id="cover-image-container"> 17 <a id="header-cover-image" href="<?php bp_group_permalink(); ?>"></a> 17 18 18 <div id="item-header-cover-image">19 <?php if ( ! bp_disable_group_avatar_uploads() ) : ?>20 <div id="item-header-avatar">21 <a href="<?php bp_group_permalink(); ?>" title="<?php bp_group_name(); ?>">19 <div id="item-header-cover-image"> 20 <?php if ( ! bp_disable_group_avatar_uploads() ) : ?> 21 <div id="item-header-avatar"> 22 <a href="<?php bp_group_permalink(); ?>" title="<?php bp_group_name(); ?>"> 22 23 23 <?php bp_group_avatar(); ?>24 <?php bp_group_avatar(); ?> 24 25 25 </a>26 </div><!-- #item-header-avatar -->27 <?php endif; ?>26 </a> 27 </div><!-- #item-header-avatar --> 28 <?php endif; ?> 28 29 29 <div id="item-header-content">30 <div id="item-header-content"> 30 31 31 <div id="item-buttons"> 32 <div id="item-buttons"> 33 34 <?php 35 36 /** 37 * Fires in the group header actions section. 38 * 39 * @since 1.2.6 40 */ 41 do_action( 'bp_group_header_actions' ); ?> 42 43 </div><!-- #item-buttons --> 32 44 33 45 <?php 34 46 35 47 /** 36 * Fires in the group header actions section. 37 * 38 * @since 1.2.6 39 */ 40 do_action( 'bp_group_header_actions' ); ?> 41 42 </div><!-- #item-buttons --> 43 44 <?php 45 46 /** 47 * Fires before the display of the group's header meta. 48 * 49 * @since 1.2.0 50 */ 51 do_action( 'bp_before_group_header_meta' ); ?> 52 53 <div id="item-meta"> 54 55 <?php 56 57 /** 58 * Fires after the group header actions section. 48 * Fires before the display of the group's header meta. 59 49 * 60 50 * @since 1.2.0 61 51 */ 62 do_action( 'bp_ group_header_meta' ); ?>52 do_action( 'bp_before_group_header_meta' ); ?> 63 53 64 <span class="highlight"><?php bp_group_type(); ?></span> 65 <span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span> 54 <div id="item-meta"> 66 55 67 <?php bp_group_description(); ?> 68 69 </div> 70 </div><!-- #item-header-content --> 71 72 <div id="item-actions"> 73 74 <?php if ( bp_group_is_visible() ) : ?> 75 76 <h3><?php _e( 'Group Admins', 'buddypress' ); ?></h3> 77 78 <?php bp_group_list_admins(); 79 80 /** 81 * Fires after the display of the group's administrators. 82 * 83 * @since 1.1.0 84 */ 85 do_action( 'bp_after_group_menu_admins' ); 86 87 if ( bp_group_has_moderators() ) : 56 <?php 88 57 89 58 /** 90 * Fires before the display of the group's moderators, if there are any. 59 * Fires after the group header actions section. 60 * 61 * @since 1.2.0 62 */ 63 do_action( 'bp_group_header_meta' ); ?> 64 65 <span class="highlight"><?php bp_group_type(); ?></span> 66 <span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span> 67 68 <?php bp_group_description(); ?> 69 70 </div> 71 </div><!-- #item-header-content --> 72 73 <div id="item-actions"> 74 75 <?php if ( bp_group_is_visible() ) : ?> 76 77 <h3><?php _e( 'Group Admins', 'buddypress' ); ?></h3> 78 79 <?php bp_group_list_admins(); 80 81 /** 82 * Fires after the display of the group's administrators. 91 83 * 92 84 * @since 1.1.0 93 85 */ 94 do_action( 'bp_ before_group_menu_mods' ); ?>86 do_action( 'bp_after_group_menu_admins' ); 95 87 96 <h3><?php _e( 'Group Mods' , 'buddypress' ); ?></h3>88 if ( bp_group_has_moderators() ) : 97 89 98 <?php bp_group_list_mods(); 90 /** 91 * Fires before the display of the group's moderators, if there are any. 92 * 93 * @since 1.1.0 94 */ 95 do_action( 'bp_before_group_menu_mods' ); ?> 99 96 100 /** 101 * Fires after the display of the group's moderators, if there are any. 102 * 103 * @since 1.1.0 104 */ 105 do_action( 'bp_after_group_menu_mods' ); 97 <h3><?php _e( 'Group Mods' , 'buddypress' ); ?></h3> 106 98 107 endif;99 <?php bp_group_list_mods(); 108 100 109 endif; ?> 101 /** 102 * Fires after the display of the group's moderators, if there are any. 103 * 104 * @since 1.1.0 105 */ 106 do_action( 'bp_after_group_menu_mods' ); 110 107 111 </div><!-- #item-actions -->108 endif; 112 109 113 </div><!-- #item-header-cover-image --> 110 endif; ?> 111 112 </div><!-- #item-actions --> 113 114 </div><!-- #item-header-cover-image --> 115 </div><!-- #cover-image-container --> 114 116 115 117 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php
r10157 r10290 18 18 do_action( 'bp_before_member_header' ); ?> 19 19 20 <a id="header-cover-image" href="<?php bp_displayed_user_link(); ?>"></a> 20 <div id="cover-image-container"> 21 <a id="header-cover-image" href="<?php bp_displayed_user_link(); ?>"></a> 21 22 22 <div id="item-header-cover-image">23 <div id="item-header-avatar">24 <a href="<?php bp_displayed_user_link(); ?>">23 <div id="item-header-cover-image"> 24 <div id="item-header-avatar"> 25 <a href="<?php bp_displayed_user_link(); ?>"> 25 26 26 <?php bp_displayed_user_avatar( 'type=full' ); ?>27 <?php bp_displayed_user_avatar( 'type=full' ); ?> 27 28 28 </a>29 </div><!-- #item-header-avatar -->29 </a> 30 </div><!-- #item-header-avatar --> 30 31 31 <div id="item-header-content">32 <div id="item-header-content"> 32 33 33 <?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>34 <h2 class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></h2>35 <?php endif; ?>34 <?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?> 35 <h2 class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></h2> 36 <?php endif; ?> 36 37 37 <div id="item-buttons"> 38 <div id="item-buttons"> 39 40 <?php 41 42 /** 43 * Fires in the member header actions section. 44 * 45 * @since 1.2.6 46 */ 47 do_action( 'bp_member_header_actions' ); ?> 48 49 </div><!-- #item-buttons --> 50 51 <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span> 38 52 39 53 <?php 40 54 41 55 /** 42 * Fires in the member header actions section.56 * Fires before the display of the member's header meta. 43 57 * 44 * @since 1.2. 658 * @since 1.2.0 45 59 */ 46 do_action( 'bp_ member_header_actions' ); ?>60 do_action( 'bp_before_member_header_meta' ); ?> 47 61 48 </div><!-- #item-buttons -->62 <div id="item-meta"> 49 63 50 <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>64 <?php if ( bp_is_active( 'activity' ) ) : ?> 51 65 52 <?php66 <div id="latest-update"> 53 67 54 /** 55 * Fires before the display of the member's header meta. 56 * 57 * @since 1.2.0 58 */ 59 do_action( 'bp_before_member_header_meta' ); ?> 68 <?php bp_activity_latest_update( bp_displayed_user_id() ); ?> 60 69 61 <div id="item-meta">70 </div> 62 71 63 <?php if ( bp_is_active( 'activity' ) ) :?>72 <?php endif; ?> 64 73 65 < div id="latest-update">74 <?php 66 75 67 <?php bp_activity_latest_update( bp_displayed_user_id() ); ?> 76 /** 77 * Fires after the group header actions section. 78 * 79 * If you'd like to show specific profile fields here use: 80 * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field 81 * 82 * @since 1.2.0 83 */ 84 do_action( 'bp_profile_header_meta' ); 68 85 69 </div>86 ?> 70 87 71 < ?php endif; ?>88 </div><!-- #item-meta --> 72 89 73 <?php90 </div><!-- #item-header-content --> 74 91 75 /** 76 * Fires after the group header actions section. 77 * 78 * If you'd like to show specific profile fields here use: 79 * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field 80 * 81 * @since 1.2.0 82 */ 83 do_action( 'bp_profile_header_meta' ); 84 85 ?> 86 87 </div><!-- #item-meta --> 88 89 </div><!-- #item-header-content --> 90 91 </div><!-- #item-header-cover-image --> 92 </div><!-- #item-header-cover-image --> 93 </div><!-- #cover-image-container --> 92 94 93 95 <?php -
trunk/src/bp-templates/bp-legacy/css/buddypress.css
r10289 r10290 1174 1174 color: #440; 1175 1175 } 1176 #buddypress div#item-header {1177 position: relative;1178 }1179 1176 #buddypress #item-header:after { 1180 1177 clear: both; … … 1413 1410 --------------------------------------------------------------*/ 1414 1411 1412 #buddypress #cover-image-container { 1413 position: relative; 1414 } 1415 1415 1416 #buddypress #header-cover-image { 1416 1417 background-color: #c5c5c5;
Note: See TracChangeset
for help on using the changeset viewer.