Changeset 11861
- Timestamp:
- 02/18/2018 12:43:27 PM (8 years ago)
- Location:
- trunk/src/bp-templates/bp-nouveau/buddypress
- Files:
-
- 25 edited
-
activity/activity-loop.php (modified) (1 diff)
-
activity/widget.php (modified) (1 diff)
-
assets/embeds/activity.php (modified) (1 diff)
-
assets/embeds/header-activity.php (modified) (1 diff)
-
blogs/blogs-loop.php (modified) (3 diffs)
-
common/nav/directory-nav.php (modified) (1 diff)
-
groups/groups-loop.php (modified) (2 diffs)
-
groups/single/home.php (modified) (2 diffs)
-
groups/single/members-loop.php (modified) (2 diffs)
-
groups/single/parts/admin-subnav.php (modified) (1 diff)
-
groups/single/parts/header-item-actions.php (modified) (1 diff)
-
groups/single/parts/item-nav.php (modified) (1 diff)
-
groups/single/requests-loop.php (modified) (2 diffs)
-
members/single/friends/requests.php (modified) (2 diffs)
-
members/single/groups/invites.php (modified) (2 diffs)
-
members/single/notifications/notifications-loop.php (modified) (2 diffs)
-
members/single/parts/item-nav.php (modified) (1 diff)
-
members/single/parts/item-subnav.php (modified) (1 diff)
-
members/single/parts/profile-visibility.php (modified) (1 diff)
-
members/single/profile/edit.php (modified) (1 diff)
-
members/single/profile/profile-loop.php (modified) (2 diffs)
-
members/single/profile/profile-wp.php (modified) (1 diff)
-
members/single/settings/capabilities.php (modified) (1 diff)
-
members/single/settings/group-invites.php (modified) (1 diff)
-
members/single/settings/profile.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/buddypress/activity/activity-loop.php
r11856 r11861 10 10 <ul class="activity-list item-list bp-list" > 11 11 12 <?php while ( bp_activities() ) : bp_the_activity(); ?> 12 <?php 13 while ( bp_activities() ) : 14 bp_the_activity(); 15 ?> 13 16 14 17 <?php bp_get_template_part( 'activity/entry' ); ?> -
trunk/src/bp-templates/bp-nouveau/buddypress/activity/widget.php
r11856 r11861 9 9 <?php if ( bp_has_activities( bp_nouveau_activity_widget_query() ) ) : ?> 10 10 11 <div class="activity-list item-list">11 <div class="activity-list item-list"> 12 12 13 <?php while ( bp_activities() ) : bp_the_activity(); ?> 13 <?php 14 while ( bp_activities() ) : 15 bp_the_activity(); 16 ?> 14 17 15 <?php if ( bp_activity_has_content() ) : ?>18 <?php if ( bp_activity_has_content() ) : ?> 16 19 17 <blockquote>20 <blockquote> 18 21 19 <?php bp_activity_content_body(); ?>22 <?php bp_activity_content_body(); ?> 20 23 21 <footer>24 <footer> 22 25 23 <cite>24 <a href="<?php bp_activity_user_link(); ?>">25 <?php26 bp_activity_avatar(27 array(28 'type' => 'thumb',29 'width' => '40px',30 'height' => '40px',31 )32 );33 ?>34 </a>35 </cite>26 <cite> 27 <a href="<?php bp_activity_user_link(); ?>"> 28 <?php 29 bp_activity_avatar( 30 array( 31 'type' => 'thumb', 32 'width' => '40px', 33 'height' => '40px', 34 ) 35 ); 36 ?> 37 </a> 38 </cite> 36 39 37 <?php echo bp_insert_activity_meta(); ?>40 <?php echo bp_insert_activity_meta(); ?> 38 41 39 </footer>42 </footer> 40 43 41 </blockquote>44 </blockquote> 42 45 43 <?php else : ?>46 <?php else : ?> 44 47 45 <p><?php bp_activity_action(); ?></p>48 <p><?php bp_activity_action(); ?></p> 46 49 47 <?php endif; ?>50 <?php endif; ?> 48 51 49 <?php endwhile; ?>52 <?php endwhile; ?> 50 53 51 </div>54 </div> 52 55 53 56 <?php else : ?> -
trunk/src/bp-templates/bp-nouveau/buddypress/assets/embeds/activity.php
r11686 r11861 1 <?php 2 if ( bp_activity_embed_has_activity( bp_current_action() ) ) : 3 ?> 1 4 2 <?php if ( bp_activity_embed_has_activity( bp_current_action() ) ) : ?> 5 <?php 6 while ( bp_activities() ) : 7 bp_the_activity(); 8 ?> 3 9 4 <?php while ( bp_activities() ) : bp_the_activity(); ?> 5 <div class="bp-embed-excerpt"><?php bp_activity_embed_excerpt(); ?></div> 10 <div class="bp-embed-excerpt"><?php bp_activity_embed_excerpt(); ?></div> 6 11 7 <?php bp_activity_embed_media(); ?>12 <?php bp_activity_embed_media(); ?> 8 13 9 <?php endwhile; ?>14 <?php endwhile; ?> 10 15 11 <?php endif; ?> 16 <?php 17 endif; -
trunk/src/bp-templates/bp-nouveau/buddypress/assets/embeds/header-activity.php
r11686 r11861 1 <div id="bp-embed-header"> 2 <div class="bp-embed-avatar"> 3 <a href="<?php bp_displayed_user_link(); ?>"> 4 <?php bp_displayed_user_avatar( 'type=thumb&width=45&height=45' ); ?> 5 </a> 6 </div> 1 7 2 <div id="bp-embed-header"> 3 <div class="bp-embed-avatar"> 4 <a href="<?php bp_displayed_user_link(); ?>"> 5 <?php bp_displayed_user_avatar( 'type=thumb&width=45&height=45' ); ?> 6 </a> 7 </div> 8 <?php if ( bp_activity_embed_has_activity( bp_current_action() ) ) : ?> 8 9 9 <?php if ( bp_activity_embed_has_activity( bp_current_action() ) ) : ?> 10 <?php 11 while ( bp_activities() ) : 12 bp_the_activity(); 13 ?> 14 <p class="bp-embed-activity-action"> 15 <?php bp_activity_action( array( 'no_timestamp' => true ) ); ?> 16 </p> 17 <?php endwhile; ?> 10 18 11 <?php while ( bp_activities() ) : bp_the_activity(); ?> 12 <p class="bp-embed-activity-action"> 13 <?php bp_activity_action( array( 'no_timestamp' => true ) ); ?> 14 </p> 15 <?php endwhile; ?> 19 <?php endif; ?> 16 20 17 <?php endif; ?> 21 <p class="bp-embed-header-meta"> 22 <?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?> 23 <span class="bp-embed-mentionname">@<?php bp_displayed_user_mentionname(); ?> · </span> 24 <?php endif; ?> 18 25 19 <p class="bp-embed-header-meta"> 20 <?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?> 21 <span class="bp-embed-mentionname">@<?php bp_displayed_user_mentionname(); ?> · </span> 22 <?php endif; ?> 23 24 <span class="bp-embed-timestamp"><a href="<?php bp_activity_thread_permalink(); ?>"><?php echo date_i18n( get_option( 'time_format' ) . ' - ' . get_option( 'date_format' ), strtotime( bp_get_activity_date_recorded() ) ); ?></a></span> 25 </p> 26 </div> 26 <span class="bp-embed-timestamp"><a href="<?php bp_activity_thread_permalink(); ?>"><?php echo date_i18n( get_option( 'time_format' ) . ' - ' . get_option( 'date_format' ), strtotime( bp_get_activity_date_recorded() ) ); ?></a></span> 27 </p> 28 </div> -
trunk/src/bp-templates/bp-nouveau/buddypress/blogs/blogs-loop.php
r11855 r11861 16 16 <ul id="blogs-list" class="<?php bp_nouveau_loop_classes(); ?>"> 17 17 18 <?php while ( bp_blogs() ) : bp_the_blog(); ?> 18 <?php 19 while ( bp_blogs() ) : 20 bp_the_blog(); 21 ?> 19 22 20 <li <?php bp_blog_class( array( 'item-entry' ) ) ?>>23 <li <?php bp_blog_class( array( 'item-entry' ) ); ?>> 21 24 <div class="list-wrap"> 22 25 … … 34 37 35 38 <?php if ( bp_nouveau_blog_has_latest_post() ) : ?> 36 <p class="meta last-post">39 <p class="meta last-post"> 37 40 38 <?php bp_blog_latest_post(); ?>41 <?php bp_blog_latest_post(); ?> 39 42 40 </p>43 </p> 41 44 <?php endif; ?> 42 45 … … 60 63 <?php bp_nouveau_pagination( 'bottom' ); ?> 61 64 62 <?php 63 else : 65 <?php else : ?> 64 66 65 67 bp_nouveau_user_feedback( 'blogs-loop-none' ); 66 68 67 endif; 68 ?> 69 <?php endif; ?> 69 70 70 <?php bp_nouveau_after_loop(); ?> 71 <?php 72 bp_nouveau_after_loop(); -
trunk/src/bp-templates/bp-nouveau/buddypress/common/nav/directory-nav.php
r11855 r11861 13 13 <ul type="list" class="component-navigation <?php bp_nouveau_directory_list_class(); ?>"> 14 14 15 <?php while ( bp_nouveau_nav_items() ) : bp_nouveau_nav_item(); ?> 15 <?php 16 while ( bp_nouveau_nav_items() ) : 17 bp_nouveau_nav_item(); 18 ?> 16 19 17 20 <li id="<?php bp_nouveau_nav_id(); ?>" class="<?php bp_nouveau_nav_classes(); ?>" <?php bp_nouveau_nav_scope(); ?> data-bp-object="<?php bp_nouveau_directory_nav_object(); ?>"> -
trunk/src/bp-templates/bp-nouveau/buddypress/groups/groups-loop.php
r11855 r11861 20 20 <ul id="groups-list" class="<?php bp_nouveau_loop_classes(); ?>"> 21 21 22 <?php while ( bp_groups() ) : bp_the_group(); ?> 22 <?php 23 while ( bp_groups() ) : 24 bp_the_group(); 25 ?> 23 26 24 27 <li <?php bp_group_class( array( 'item-entry' ) ); ?> data-bp-item-id="<?php bp_group_id(); ?>" data-bp-item-component="groups"> … … 65 68 <?php bp_nouveau_pagination( 'bottom' ); ?> 66 69 67 <?php 68 else : 70 <?php else : ?> 69 71 70 72 bp_nouveau_user_feedback( 'groups-loop-none' ); 71 73 72 endif; 73 ?> 74 <?php endif; ?> 74 75 75 <?php bp_nouveau_after_loop(); ?> 76 <?php 77 bp_nouveau_after_loop(); -
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/home.php
r11686 r11861 6 6 */ 7 7 8 ?> 9 10 <?php if ( bp_has_groups() ) : while ( bp_groups() ) : bp_the_group(); ?> 8 if ( bp_has_groups() ) : 9 while ( bp_groups() ) : 10 bp_the_group(); 11 ?> 11 12 12 13 <?php bp_nouveau_group_hook( 'before', 'home_content' ); ?> … … 36 37 <?php bp_nouveau_group_hook( 'after', 'home_content' ); ?> 37 38 38 <?php endwhile; endif; ?> 39 <?php endwhile; ?> 40 41 <?php 42 endif; -
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/members-loop.php
r11855 r11861 17 17 <ul id="members-list" class="<?php bp_nouveau_loop_classes(); ?>"> 18 18 19 <?php while ( bp_group_members() ) : bp_group_the_member(); ?> 19 <?php 20 while ( bp_group_members() ) : 21 bp_group_the_member(); 22 ?> 20 23 21 24 <li <?php bp_member_class( array( 'item-entry' ) ); ?> data-bp-item-id="<?php echo esc_attr( bp_get_group_member_id() ); ?>" data-bp-item-component="members"> … … 59 62 <?php bp_nouveau_group_hook( 'after', 'members_content' ); ?> 60 63 61 <?php else: 64 <?php else : ?> 62 65 63 66 bp_nouveau_user_feedback( 'group-members-none' ); 64 67 65 endif; ?> 68 <?php 69 endif; -
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/parts/admin-subnav.php
r11855 r11861 13 13 <ul class="subnav"> 14 14 15 <?php while ( bp_nouveau_nav_items() ) : bp_nouveau_nav_item(); ?> 15 <?php 16 while ( bp_nouveau_nav_items() ) : 17 bp_nouveau_nav_item(); 18 ?> 16 19 17 20 <li id="<?php bp_nouveau_nav_id(); ?>" class="<?php bp_nouveau_nav_classes(); ?>"> -
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/parts/header-item-actions.php
r11686 r11861 10 10 <?php if ( bp_group_is_visible() ) : ?> 11 11 12 <dl class="moderators-lists">13 <dt class="moderators-title"><?php _e( 'Group Admins', 'buddypress' ); ?></dt>14 <dd class="user-list admins"><?php bp_group_list_admins(); ?>15 <?php bp_nouveau_group_hook( 'after', 'menu_admins' ); ?>16 </dd>17 </dl>12 <dl class="moderators-lists"> 13 <dt class="moderators-title"><?php _e( 'Group Admins', 'buddypress' ); ?></dt> 14 <dd class="user-list admins"><?php bp_group_list_admins(); ?> 15 <?php bp_nouveau_group_hook( 'after', 'menu_admins' ); ?> 16 </dd> 17 </dl> 18 18 19 <?php if ( bp_group_has_moderators() ) : 20 bp_nouveau_group_hook( 'before', 'menu_mods' ); ?> 19 <?php 20 if ( bp_group_has_moderators() ) : 21 bp_nouveau_group_hook( 'before', 'menu_mods' ); 22 ?> 21 23 22 <dl class="moderators-lists"> 23 <dt class="moderators-title"><?php _e( 'Group Mods' , 'buddypress' ); ?></dt> 24 <dd class="user-list moderators"> 25 <?php bp_group_list_mods(); 26 bp_nouveau_group_hook( 'after', 'menu_mods' ); ?> 27 </dd> 28 </dl> 24 <dl class="moderators-lists"> 25 <dt class="moderators-title"><?php _e( 'Group Mods', 'buddypress' ); ?></dt> 26 <dd class="user-list moderators"> 27 <?php 28 bp_group_list_mods(); 29 bp_nouveau_group_hook( 'after', 'menu_mods' ); 30 ?> 31 </dd> 32 </dl> 29 33 34 <?php endif; ?> 30 35 31 <?php endif; 32 33 endif; ?> 36 <?php endif; ?> 34 37 35 38 </div><!-- .item-actions --> -
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/parts/item-nav.php
r11855 r11861 7 7 ?> 8 8 9 <nav class="<?php bp_nouveau_single_item_nav_classes(); ?>" id="object-nav" role="navigation" aria-label="<?php esc_attr_e( 'Group menu', 'buddypress' ); ?>">9 <nav class="<?php bp_nouveau_single_item_nav_classes(); ?>" id="object-nav" role="navigation" aria-label="<?php esc_attr_e( 'Group menu', 'buddypress' ); ?>"> 10 10 11 <?php if ( bp_nouveau_has_nav( array( 'object' => 'groups' ) ) ) : ?>11 <?php if ( bp_nouveau_has_nav( array( 'object' => 'groups' ) ) ) : ?> 12 12 13 <ul>13 <ul> 14 14 15 <?php while ( bp_nouveau_nav_items() ) : bp_nouveau_nav_item(); ?> 15 <?php 16 while ( bp_nouveau_nav_items() ) : 17 bp_nouveau_nav_item(); 18 ?> 16 19 17 <li id="<?php bp_nouveau_nav_id(); ?>" class="<?php bp_nouveau_nav_classes(); ?>">18 <a href="<?php bp_nouveau_nav_link(); ?>" id="<?php bp_nouveau_nav_link_id(); ?>">19 <?php bp_nouveau_nav_link_text(); ?>20 <li id="<?php bp_nouveau_nav_id(); ?>" class="<?php bp_nouveau_nav_classes(); ?>"> 21 <a href="<?php bp_nouveau_nav_link(); ?>" id="<?php bp_nouveau_nav_link_id(); ?>"> 22 <?php bp_nouveau_nav_link_text(); ?> 20 23 21 <?php if ( bp_nouveau_nav_has_count() ) : ?>22 <span><?php bp_nouveau_nav_count(); ?></span>23 <?php endif; ?>24 </a>25 </li>24 <?php if ( bp_nouveau_nav_has_count() ) : ?> 25 <span><?php bp_nouveau_nav_count(); ?></span> 26 <?php endif; ?> 27 </a> 28 </li> 26 29 27 <?php endwhile; ?>30 <?php endwhile; ?> 28 31 29 <?php bp_nouveau_group_hook( '', 'options_nav' ); ?>32 <?php bp_nouveau_group_hook( '', 'options_nav' ); ?> 30 33 31 </ul>34 </ul> 32 35 33 <?php endif; ?>36 <?php endif; ?> 34 37 35 </nav>38 </nav> -
trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/requests-loop.php
r11855 r11861 12 12 13 13 <ul id="request-list" class="item-list bp-list"> 14 <?php while ( bp_group_membership_requests() ) : bp_group_the_membership_request(); ?> 14 <?php 15 while ( bp_group_membership_requests() ) : 16 bp_group_the_membership_request(); 17 ?> 15 18 16 19 <li> … … 29 32 <?php bp_nouveau_pagination( 'bottom' ); ?> 30 33 31 <?php else: 34 <?php else : ?> 32 35 33 bp_nouveau_user_feedback( 'group-requests-none' );36 <?php bp_nouveau_user_feedback( 'group-requests-none' ); ?> 34 37 35 endif; ?> 38 <?php 39 endif; -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/friends/requests.php
r11855 r11861 13 13 14 14 <ul id="friend-list" class="<?php bp_nouveau_loop_classes(); ?>" data-bp-list="friendship_requests"> 15 <?php while ( bp_members() ) : bp_the_member(); ?> 15 <?php 16 while ( bp_members() ) : 17 bp_the_member(); 18 ?> 16 19 17 20 <li id="friendship-<?php bp_friend_friendship_id(); ?>" <?php bp_member_class( array( 'item-entry' ) ); ?> data-bp-item-id="<?php bp_friend_friendship_id(); ?>" data-bp-item-component="members"> … … 37 40 <?php bp_nouveau_pagination( 'bottom' ); ?> 38 41 39 <?php 40 else : 42 <?php else : ?> 41 43 42 bp_nouveau_user_feedback( 'member-requests-none' );44 <?php bp_nouveau_user_feedback( 'member-requests-none' ); ?> 43 45 44 endif; 45 ?> 46 <?php endif; ?> 46 47 47 48 <?php -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/groups/invites.php
r11856 r11861 12 12 <ul id="group-list" class="invites item-list bp-list" data-bp-list="groups_invites"> 13 13 14 <?php while ( bp_groups() ) : bp_the_group(); ?> 14 <?php 15 while ( bp_groups() ) : 16 bp_the_group(); 17 ?> 15 18 16 19 <li class="item-entry invites-list" data-bp-item-id="<?php bp_group_id(); ?>" data-bp-item-component="groups"> … … 52 55 </ul> 53 56 54 <?php 55 else : 57 <?php else : ?> 56 58 57 bp_nouveau_user_feedback( 'member-invites-none' );59 <?php bp_nouveau_user_feedback( 'member-invites-none' ); ?> 58 60 59 endif; 60 ?> 61 <?php endif; ?> 61 62 62 63 <?php -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/notifications/notifications-loop.php
r11855 r11861 27 27 <tbody> 28 28 29 <?php while ( bp_the_notifications() ) : bp_the_notification(); ?> 29 <?php 30 while ( bp_the_notifications() ) : 31 bp_the_notification(); 32 ?> 30 33 31 34 <tr> … … 49 52 </form> 50 53 51 <?php 52 bp_nouveau_pagination( 'bottom' ); 54 <?php bp_nouveau_pagination( 'bottom' ); ?> 53 55 54 else : 56 <?php else : ?> 55 57 56 bp_nouveau_user_feedback( 'member-notifications-none' );58 <?php bp_nouveau_user_feedback( 'member-notifications-none' ); ?> 57 59 58 endif;60 <?php endif; -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/parts/item-nav.php
r11855 r11861 7 7 ?> 8 8 9 <nav class="<?php bp_nouveau_single_item_nav_classes(); ?>" id="object-nav" role="navigation" aria-label="<?php esc_attr_e( 'User menu', 'buddypress' ); ?>">9 <nav class="<?php bp_nouveau_single_item_nav_classes(); ?>" id="object-nav" role="navigation" aria-label="<?php esc_attr_e( 'User menu', 'buddypress' ); ?>"> 10 10 11 <?php if ( bp_nouveau_has_nav( array( 'type' => 'primary' ) ) ) : ?>11 <?php if ( bp_nouveau_has_nav( array( 'type' => 'primary' ) ) ) : ?> 12 12 13 <ul>13 <ul> 14 14 15 <?php while ( bp_nouveau_nav_items() ) : bp_nouveau_nav_item(); ?> 15 <?php 16 while ( bp_nouveau_nav_items() ) : 17 bp_nouveau_nav_item(); 18 ?> 16 19 17 <li id="<?php bp_nouveau_nav_id(); ?>" class="<?php bp_nouveau_nav_classes(); ?>">18 <a href="<?php bp_nouveau_nav_link(); ?>" id="<?php bp_nouveau_nav_link_id(); ?>">19 <?php bp_nouveau_nav_link_text(); ?>20 <li id="<?php bp_nouveau_nav_id(); ?>" class="<?php bp_nouveau_nav_classes(); ?>"> 21 <a href="<?php bp_nouveau_nav_link(); ?>" id="<?php bp_nouveau_nav_link_id(); ?>"> 22 <?php bp_nouveau_nav_link_text(); ?> 20 23 21 <?php if ( bp_nouveau_nav_has_count() ) : ?>22 <span><?php bp_nouveau_nav_count(); ?></span>23 <?php endif; ?>24 </a>25 </li>24 <?php if ( bp_nouveau_nav_has_count() ) : ?> 25 <span><?php bp_nouveau_nav_count(); ?></span> 26 <?php endif; ?> 27 </a> 28 </li> 26 29 27 <?php endwhile; ?>30 <?php endwhile; ?> 28 31 29 <?php bp_nouveau_member_hook( '', 'options_nav' ); ?>32 <?php bp_nouveau_member_hook( '', 'options_nav' ); ?> 30 33 31 </ul>34 </ul> 32 35 33 <?php endif; ?>36 <?php endif; ?> 34 37 35 </nav>38 </nav> -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/parts/item-subnav.php
r11855 r11861 9 9 <?php if ( bp_nouveau_has_nav( array( 'type' => 'secondary' ) ) ) : ?> 10 10 11 <?php while ( bp_nouveau_nav_items() ) : bp_nouveau_nav_item(); ?> 11 <?php 12 while ( bp_nouveau_nav_items() ) : 13 bp_nouveau_nav_item(); 14 ?> 12 15 13 16 <li id="<?php bp_nouveau_nav_id(); ?>" class="<?php bp_nouveau_nav_classes(); ?>" <?php bp_nouveau_nav_scope(); ?>> -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/parts/profile-visibility.php
r11686 r11861 6 6 */ 7 7 8 if ( empty( $GLOBALS['profile_template'] ) ) return; 8 if ( empty( $GLOBALS['profile_template'] ) ) { 9 return; 10 } 9 11 ?> 10 12 11 13 <?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?> 12 14 13 <p class="field-visibility-settings-toggle field-visibility-settings-header" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">15 <p class="field-visibility-settings-toggle field-visibility-settings-header" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id(); ?>"> 14 16 15 <?php printf( 17 <?php 18 printf( 16 19 __( 'This field may be seen by: %s', 'buddypress' ), 17 20 '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>' 18 ); ?> 21 ); 22 ?> 19 23 <button class="visibility-toggle-link text-button" type="button"><?php _e( 'Change', 'buddypress' ); ?></button> 20 24 21 25 </p> 22 26 23 <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">27 <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id(); ?>"> 24 28 <fieldset> 25 <legend><?php _e( 'Who is allowed to see this field?', 'buddypress' ) ?></legend>29 <legend><?php _e( 'Who is allowed to see this field?', 'buddypress' ); ?></legend> 26 30 27 <?php bp_profile_visibility_radio_buttons() ?>31 <?php bp_profile_visibility_radio_buttons(); ?> 28 32 29 33 </fieldset> 30 <button class="field-visibility-settings-close button" type="button"><?php _e( 'Close', 'buddypress' ) ?></button>34 <button class="field-visibility-settings-close button" type="button"><?php _e( 'Close', 'buddypress' ); ?></button> 31 35 </div> 32 36 33 37 <?php else : ?> 34 38 35 <p class="field-visibility-settings-notoggle field-visibility-settings-header" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>"> 36 <?php printf( 39 <p class="field-visibility-settings-notoggle field-visibility-settings-header" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id(); ?>"> 40 <?php 41 printf( 37 42 __( 'This field may be seen by: %s', 'buddypress' ), 38 43 '<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>' 39 ); ?> 44 ); 45 ?> 40 46 </p> 41 47 42 <?php endif ?>48 <?php endif; -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile/edit.php
r11855 r11861 9 9 10 10 if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() ) ) : 11 while ( bp_profile_groups() ) : bp_the_profile_group(); ?> 11 while ( bp_profile_groups() ) : 12 bp_the_profile_group(); 13 ?> 12 14 13 <form action="<?php bp_the_profile_group_edit_form_action(); ?>" method="post" id="profile-edit-form" class="standard-form profile-edit <?php bp_the_profile_group_slug(); ?>">15 <form action="<?php bp_the_profile_group_edit_form_action(); ?>" method="post" id="profile-edit-form" class="standard-form profile-edit <?php bp_the_profile_group_slug(); ?>"> 14 16 15 <?php bp_nouveau_xprofile_hook( 'before', 'field_content' ); ?>17 <?php bp_nouveau_xprofile_hook( 'before', 'field_content' ); ?> 16 18 17 <?php if ( bp_profile_has_multiple_groups() ) : ?>18 <ul class="button-tabs button-nav">19 <?php if ( bp_profile_has_multiple_groups() ) : ?> 20 <ul class="button-tabs button-nav"> 19 21 20 <?php bp_profile_group_tabs(); ?>22 <?php bp_profile_group_tabs(); ?> 21 23 22 </ul>23 <?php endif; ?>24 </ul> 25 <?php endif; ?> 24 26 25 <h2 class="screen-heading profile-group-title edit"><?php printf( __( 'Editing \'%s\' Profile Group', 'buddypress' ), bp_get_the_profile_group_name() ); ?></h2> 26 27 <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> 28 29 <div<?php bp_field_css_class( 'editfield' ); ?>> 30 <fieldset> 27 <h2 class="screen-heading profile-group-title edit"><?php printf( __( 'Editing \'%s\' Profile Group', 'buddypress' ), bp_get_the_profile_group_name() ); ?></h2> 31 28 32 29 <?php 33 $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );34 $field_type->edit_field_html();30 while ( bp_profile_fields() ) : 31 bp_the_profile_field(); 35 32 ?> 36 33 37 <?php bp_nouveau_xprofile_edit_visibilty(); ?> 34 <div<?php bp_field_css_class( 'editfield' ); ?>> 35 <fieldset> 38 36 39 </fieldset> 40 </div> 37 <?php 38 $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() ); 39 $field_type->edit_field_html(); 40 ?> 41 41 42 <?php endwhile; ?>42 <?php bp_nouveau_xprofile_edit_visibilty(); ?> 43 43 44 <?php bp_nouveau_xprofile_hook( 'after', 'field_content' ); ?> 44 </fieldset> 45 </div> 45 46 46 <input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_field_ids(); ?>" />47 <?php endwhile; ?> 47 48 48 <?php bp_nouveau_submit_button( 'member-profile-edit' ); ?>49 <?php bp_nouveau_xprofile_hook( 'after', 'field_content' ); ?> 49 50 50 </form>51 <input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_field_ids(); ?>" /> 51 52 52 <?php 53 endwhile; 53 <?php bp_nouveau_submit_button( 'member-profile-edit' ); ?> 54 54 55 endif; 55 </form> 56 56 57 <?php endwhile; ?> 58 59 <?php endif; ?> 60 61 <?php 57 62 bp_nouveau_xprofile_hook( 'after', 'edit_content' ); -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile/profile-loop.php
r11855 r11861 10 10 <?php if ( bp_has_profile() ) : ?> 11 11 12 <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?> 12 <?php 13 while ( bp_profile_groups() ) : 14 bp_the_profile_group(); 15 ?> 13 16 14 17 <?php if ( bp_profile_group_has_fields() ) : ?> … … 24 27 <table class="profile-fields bp-tables-user"> 25 28 26 <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> 29 <?php 30 while ( bp_profile_fields() ) : 31 bp_the_profile_field(); 32 ?> 27 33 28 34 <?php if ( bp_field_has_data() ) : ?> -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile/profile-wp.php
r11686 r11861 28 28 <table class="wp-profile-fields"> 29 29 30 <?php while ( bp_nouveau_wp_profile_fields() ) : bp_nouveau_wp_profile_field(); ?> 30 <?php 31 while ( bp_nouveau_wp_profile_fields() ) : 32 bp_nouveau_wp_profile_field(); 33 ?> 31 34 32 <tr id="<?php bp_nouveau_wp_profile_field_id(); ?>">33 <td class="label"><?php bp_nouveau_wp_profile_field_label(); ?></td>34 <td class="data"><?php bp_nouveau_wp_profile_field_data(); ?></td>35 <tr id="<?php bp_nouveau_wp_profile_field_id(); ?>"> 36 <td class="label"><?php bp_nouveau_wp_profile_field_label(); ?></td> 37 <td class="data"><?php bp_nouveau_wp_profile_field_data(); ?></td> 35 38 </tr> 36 39 37 <?php endwhile ;?>40 <?php endwhile; ?> 38 41 39 42 </table> 40 43 41 <?php else : 44 <?php else : ?> 42 45 43 bp_nouveau_user_feedback( 'member-wp-profile-none' );46 <?php bp_nouveau_user_feedback( 'member-wp-profile-none' ); ?> 44 47 45 endif; ?>48 <?php endif; ?> 46 49 47 50 </div> 48 51 49 <?php bp_nouveau_wp_profile_hooks( 'after' ); ?> 52 <?php 53 bp_nouveau_wp_profile_hooks( 'after' ); 54 -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/settings/capabilities.php
r11855 r11861 16 16 <label for="user-spammer"> 17 17 <input type="checkbox" name="user-spammer" id="user-spammer" value="1" <?php checked( bp_is_user_spammer( bp_displayed_user_id() ) ); ?> /> 18 <?php _e( 'This user is a spammer.', 'buddypress' ); ?>18 <?php _e( 'This user is a spammer.', 'buddypress' ); ?> 19 19 </label> 20 20 -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/settings/group-invites.php
r11855 r11861 24 24 <label for="account-group-invites-preferences"> 25 25 <input type="checkbox" name="account-group-invites-preferences" id="account-group-invites-preferences" value="1" <?php checked( 1, bp_nouveau_groups_get_group_invites_setting() ); ?>/> 26 <?php esc_html_e( 'I want to restrict Group invites to my friends only.', 'buddypress' ); ?>26 <?php esc_html_e( 'I want to restrict Group invites to my friends only.', 'buddypress' ); ?> 27 27 </label> 28 28 -
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/settings/profile.php
r11855 r11861 20 20 <?php if ( bp_xprofile_get_settings_fields() ) : ?> 21 21 22 <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?> 22 <?php 23 while ( bp_profile_groups() ) : 24 bp_the_profile_group(); 25 ?> 23 26 24 27 <?php if ( bp_profile_fields() ) : ?> … … 34 37 <tbody> 35 38 36 <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> 39 <?php 40 while ( bp_profile_fields() ) : 41 bp_the_profile_field(); 42 ?> 37 43 38 44 <tr <?php bp_field_css_class(); ?>>
Note: See TracChangeset
for help on using the changeset viewer.