Ticket #6673: 6673.01.patch
File 6673.01.patch, 8.9 KB (added by , 10 years ago) |
---|
-
src/bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php
13 13 */ 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"> 32 33 33 <?php 34 35 /** 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 --> 34 <?php 43 35 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' ); ?> 36 /** 37 * Fires in the group header actions section. 38 * 39 * @since 1.2.6 40 */ 41 do_action( 'bp_group_header_actions' ); ?> 52 42 53 <div id="item-meta">43 </div><!-- #item-buttons --> 54 44 55 45 <?php 56 46 57 47 /** 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(); ?>56 <?php 68 57 69 </div> 70 </div><!-- #item-header-content --> 58 /** 59 * Fires after the group header actions section. 60 * 61 * @since 1.2.0 62 */ 63 do_action( 'bp_group_header_meta' ); ?> 71 64 72 <div id="item-actions"> 65 <span class="highlight"><?php bp_group_type(); ?></span> 66 <span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span> 73 67 74 <?php if ( bp_group_is_visible() ) :?>68 <?php bp_group_description(); ?> 75 69 76 <h3><?php _e( 'Group Admins', 'buddypress' ); ?></h3> 70 </div> 71 </div><!-- #item-header-content --> 77 72 78 <?php bp_group_list_admins();73 <div id="item-actions"> 79 74 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' ); 75 <?php if ( bp_group_is_visible() ) : ?> 76 77 <h3><?php _e( 'Group Admins', 'buddypress' ); ?></h3> 86 78 87 if ( bp_group_has_moderators() ) :79 <?php bp_group_list_admins(); 88 80 89 81 /** 90 * Fires before the display of the group's moderators, if there are any.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> 98 99 <?php bp_group_list_mods(); 100 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' ); 106 107 107 endif;108 endif; 108 109 109 endif; ?>110 endif; ?> 110 111 111 </div><!-- #item-actions -->112 </div><!-- #item-actions --> 112 113 113 </div><!-- #item-header-cover-image --> 114 </div><!-- #item-header-cover-image --> 115 </div><!-- #cover-image-container --> 114 116 115 117 <?php 116 118 -
src/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php
17 17 */ 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"> 38 39 39 <?php40 <?php 40 41 41 /**42 * Fires in the member header actions section.43 *44 * @since 1.2.645 */46 do_action( 'bp_member_header_actions' ); ?>42 /** 43 * Fires in the member header actions section. 44 * 45 * @since 1.2.6 46 */ 47 do_action( 'bp_member_header_actions' ); ?> 47 48 48 </div><!-- #item-buttons -->49 </div><!-- #item-buttons --> 49 50 50 <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>51 <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span> 51 52 52 <?php53 <?php 53 54 54 /**55 * Fires before the display of the member's header meta.56 *57 * @since 1.2.058 */59 do_action( 'bp_before_member_header_meta' ); ?>55 /** 56 * Fires before the display of the member's header meta. 57 * 58 * @since 1.2.0 59 */ 60 do_action( 'bp_before_member_header_meta' ); ?> 60 61 61 <div id="item-meta">62 <div id="item-meta"> 62 63 63 <?php if ( bp_is_active( 'activity' ) ) : ?>64 <?php if ( bp_is_active( 'activity' ) ) : ?> 64 65 65 <div id="latest-update">66 <div id="latest-update"> 66 67 67 <?php bp_activity_latest_update( bp_displayed_user_id() ); ?>68 <?php bp_activity_latest_update( bp_displayed_user_id() ); ?> 68 69 69 </div>70 </div> 70 71 71 <?php endif; ?>72 <?php endif; ?> 72 73 73 <?php74 <?php 74 75 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 field80 *81 * @since 1.2.082 */83 do_action( 'bp_profile_header_meta' );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' ); 84 85 85 ?>86 ?> 86 87 87 </div><!-- #item-meta -->88 </div><!-- #item-meta --> 88 89 89 </div><!-- #item-header-content -->90 </div><!-- #item-header-content --> 90 91 91 </div><!-- #item-header-cover-image --> 92 </div><!-- #item-header-cover-image --> 93 </div><!-- #cover-image-container --> 92 94 93 95 <?php 94 96 -
src/bp-templates/bp-legacy/css/buddypress.css
1175 1175 } 1176 1176 #buddypress div#item-header { 1177 1177 overflow: hidden; 1178 position: relative;1179 1178 } 1180 1179 #buddypress div#item-header div#item-header-content { 1181 1180 float: left; … … 1408 1407 3.8.1 - Cover Image 1409 1408 --------------------------------------------------------------*/ 1410 1409 1410 #buddypress #cover-image-container { 1411 position: relative; 1412 } 1413 1411 1414 #buddypress #header-cover-image { 1412 1415 background-color: #c5c5c5; 1413 1416 background-position: center top;