Changeset 5689
- Timestamp:
- 04/19/2015 04:45:02 PM (11 years ago)
- Location:
- trunk/src/templates/default/bbpress
- Files:
-
- 27 edited
-
content-single-topic-lead.php (modified) (2 diffs)
-
content-single-user.php (modified) (1 diff)
-
form-anonymous.php (modified) (2 diffs)
-
form-forum.php (modified) (1 diff)
-
form-reply.php (modified) (1 diff)
-
form-topic-tag.php (modified) (1 diff)
-
form-topic.php (modified) (1 diff)
-
form-user-edit.php (modified) (1 diff)
-
loop-forums.php (modified) (2 diffs)
-
loop-replies.php (modified) (2 diffs)
-
loop-search-forum.php (modified) (3 diffs)
-
loop-search-reply.php (modified) (2 diffs)
-
loop-search-topic.php (modified) (3 diffs)
-
loop-search.php (modified) (2 diffs)
-
loop-single-forum.php (modified) (2 diffs)
-
loop-single-reply.php (modified) (3 diffs)
-
loop-single-topic.php (modified) (2 diffs)
-
loop-topics.php (modified) (4 diffs)
-
pagination-replies.php (modified) (1 diff)
-
pagination-search.php (modified) (1 diff)
-
pagination-topics.php (modified) (1 diff)
-
user-details.php (modified) (1 diff)
-
user-favorites.php (modified) (1 diff)
-
user-profile.php (modified) (1 diff)
-
user-replies-created.php (modified) (1 diff)
-
user-subscriptions.php (modified) (1 diff)
-
user-topics-created.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/templates/default/bbpress/content-single-topic-lead.php
r5688 r5689 8 8 */ 9 9 10 ?> 11 12 <?php do_action( 'bbp_template_before_lead_topic' ); ?> 10 do_action( 'bbp_template_before_lead_topic' ); ?> 13 11 14 12 <ul id="bbp-topic-<?php bbp_topic_id(); ?>-lead" class="bbp-lead-topic"> … … 96 94 </ul><!-- #bbp-topic-<?php bbp_topic_id(); ?>-lead --> 97 95 98 <?php do_action( 'bbp_template_after_lead_topic' ); ?>96 <?php do_action( 'bbp_template_after_lead_topic' ); -
trunk/src/templates/default/bbpress/content-single-user.php
r4836 r5689 15 15 16 16 <div id="bbp-user-wrapper"> 17 17 18 <?php bbp_get_template_part( 'user', 'details' ); ?> 18 19 19 20 <div id="bbp-user-body"> 20 <?php if ( bbp_is_favorites() ) bbp_get_template_part( 'user', 'favorites' ); ?>21 <?php if ( bbp_is_subscriptions() ) bbp_get_template_part( 'user', 'subscriptions' ); ?>22 <?php if ( bbp_is_single_user_topics() ) bbp_get_template_part( 'user', 'topics-created' ); ?>23 <?php if ( bbp_is_single_user_replies() ) bbp_get_template_part( 'user', 'replies-created' ); ?>24 <?php if ( bbp_is_single_user_edit() ) bbp_get_template_part( 'form', 'user-edit' ); ?>25 <?php if ( bbp_is_single_user_profile() ) bbp_get_template_part( 'user', 'profile' ); ?>21 <?php if ( bbp_is_favorites() ) bbp_get_template_part( 'user', 'favorites' ); ?> 22 <?php if ( bbp_is_subscriptions() ) bbp_get_template_part( 'user', 'subscriptions' ); ?> 23 <?php if ( bbp_is_single_user_topics() ) bbp_get_template_part( 'user', 'topics-created' ); ?> 24 <?php if ( bbp_is_single_user_replies() ) bbp_get_template_part( 'user', 'replies-created' ); ?> 25 <?php if ( bbp_is_single_user_edit() ) bbp_get_template_part( 'form', 'user-edit' ); ?> 26 <?php if ( bbp_is_single_user_profile() ) bbp_get_template_part( 'user', 'profile' ); ?> 26 27 </div> 27 28 </div> -
trunk/src/templates/default/bbpress/form-anonymous.php
r5688 r5689 8 8 */ 9 9 10 ?> 11 12 <?php if ( bbp_current_user_can_access_anonymous_user_form() ) : ?> 10 if ( bbp_current_user_can_access_anonymous_user_form() ) : ?> 13 11 14 12 <?php do_action( 'bbp_theme_before_anonymous_form' ); ?> … … 40 38 <?php do_action( 'bbp_theme_after_anonymous_form' ); ?> 41 39 42 <?php endif; ?>40 <?php endif; -
trunk/src/templates/default/bbpress/form-forum.php
r5688 r5689 8 8 */ 9 9 10 ?> 11 12 <?php if ( bbp_is_forum_edit() ) : ?> 10 if ( bbp_is_forum_edit() ) : ?> 13 11 14 12 <div id="bbpress-forums"> -
trunk/src/templates/default/bbpress/form-reply.php
r5688 r5689 8 8 */ 9 9 10 ?> 11 12 <?php if ( bbp_is_reply_edit() ) : ?> 10 if ( bbp_is_reply_edit() ) : ?> 13 11 14 12 <div id="bbpress-forums"> -
trunk/src/templates/default/bbpress/form-topic-tag.php
r5688 r5689 8 8 */ 9 9 10 ?> 11 12 <?php if ( current_user_can( 'edit_topic_tags' ) ) : ?> 10 if ( current_user_can( 'edit_topic_tags' ) ) : ?> 13 11 14 12 <div id="edit-topic-tag-<?php bbp_topic_tag_id(); ?>" class="bbp-topic-tag-form"> -
trunk/src/templates/default/bbpress/form-topic.php
r5688 r5689 8 8 */ 9 9 10 ?> 11 12 <?php if ( !bbp_is_single_forum() ) : ?> 10 if ( ! bbp_is_single_forum() ) : ?> 13 11 14 12 <div id="bbpress-forums"> -
trunk/src/templates/default/bbpress/form-user-edit.php
r5688 r5689 172 172 </div> 173 173 </fieldset> 174 175 174 </form> -
trunk/src/templates/default/bbpress/loop-forums.php
r5688 r5689 8 8 */ 9 9 10 ?> 11 12 <?php do_action( 'bbp_template_before_forums_loop' ); ?> 10 do_action( 'bbp_template_before_forums_loop' ); ?> 13 11 14 12 <ul id="forums-list-<?php bbp_forum_id(); ?>" class="bbp-forums"> … … 48 46 </ul><!-- .forums-directory --> 49 47 50 <?php do_action( 'bbp_template_after_forums_loop' ); ?>48 <?php do_action( 'bbp_template_after_forums_loop' ); -
trunk/src/templates/default/bbpress/loop-replies.php
r5688 r5689 8 8 */ 9 9 10 ?> 11 12 <?php do_action( 'bbp_template_before_replies_loop' ); ?> 10 do_action( 'bbp_template_before_replies_loop' ); ?> 13 11 14 12 <ul id="topic-<?php bbp_topic_id(); ?>-replies" class="forums bbp-replies"> 15 13 16 14 <li class="bbp-header"> 17 18 15 <div class="bbp-reply-author"><?php esc_html_e( 'Author', 'bbpress' ); ?></div><!-- .bbp-reply-author --> 19 20 <div class="bbp-reply-content"> 21 22 <?php if ( ! bbp_show_lead_topic() ) : ?> 23 24 <?php esc_html_e( 'Posts', 'bbpress' ); ?> 25 26 <?php else : ?> 27 28 <?php esc_html_e( 'Replies', 'bbpress' ); ?> 29 30 <?php endif; ?> 31 32 </div><!-- .bbp-reply-content --> 33 16 <div class="bbp-reply-content"><?php bbp_show_lead_topic() 17 ? esc_html_e( 'Replies', 'bbpress' ) 18 : esc_html_e( 'Posts', 'bbpress' ); 19 ?></div><!-- .bbp-reply-content --> 34 20 </li><!-- .bbp-header --> 35 21 … … 53 39 54 40 <li class="bbp-footer"> 55 56 41 <div class="bbp-reply-author"><?php esc_html_e( 'Author', 'bbpress' ); ?></div> 57 58 <div class="bbp-reply-content"> 59 60 <?php if ( ! bbp_show_lead_topic() ) : ?> 61 62 <?php esc_html_e( 'Posts', 'bbpress' ); ?> 63 64 <?php else : ?> 65 66 <?php esc_html_e( 'Replies', 'bbpress' ); ?> 67 68 <?php endif; ?> 69 70 </div><!-- .bbp-reply-content --> 71 42 <div class="bbp-reply-content"><?php bbp_show_lead_topic() 43 ? esc_html_e( 'Replies', 'bbpress' ) 44 : esc_html_e( 'Posts', 'bbpress' ); 45 ?></div><!-- .bbp-reply-content --> 72 46 </li><!-- .bbp-footer --> 73 74 47 </ul><!-- #topic-<?php bbp_topic_id(); ?>-replies --> 75 48 76 <?php do_action( 'bbp_template_after_replies_loop' ); ?>49 <?php do_action( 'bbp_template_after_replies_loop' ); -
trunk/src/templates/default/bbpress/loop-search-forum.php
r5688 r5689 11 11 12 12 <div class="bbp-forum-header"> 13 14 13 <div class="bbp-meta"> 15 16 14 <span class="bbp-forum-post-date"><?php printf( esc_html__( 'Last updated %s', 'bbpress' ), bbp_get_forum_last_active_time() ); ?></span> 17 18 15 <a href="<?php bbp_forum_permalink(); ?>" class="bbp-forum-permalink">#<?php bbp_forum_id(); ?></a> 19 20 16 </div><!-- .bbp-meta --> 21 17 … … 29 25 30 26 </div><!-- .bbp-forum-title --> 31 32 27 </div><!-- .bbp-forum-header --> 33 28 34 29 <div id="post-<?php bbp_forum_id(); ?>" <?php bbp_forum_class(); ?>> 35 36 30 <div class="bbp-forum-content"> 37 31 … … 43 37 44 38 </div><!-- .bbp-forum-content --> 45 46 39 </div><!-- #post-<?php bbp_forum_id(); ?> --> -
trunk/src/templates/default/bbpress/loop-search-reply.php
r5688 r5689 11 11 12 12 <div class="bbp-reply-header"> 13 14 13 <div class="bbp-meta"> 15 16 14 <span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span> 17 18 15 <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a> 19 20 16 </div><!-- .bbp-meta --> 21 17 22 18 <div class="bbp-reply-title"> 23 24 19 <h3><?php esc_html_e( 'In reply to: ', 'bbpress' ); ?> 25 20 <a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a></h3> 26 27 21 </div><!-- .bbp-reply-title --> 28 29 22 </div><!-- .bbp-reply-header --> 30 23 31 24 <div id="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>> 32 33 25 <div class="bbp-reply-author"> 34 26 … … 60 52 61 53 </div><!-- .bbp-reply-content --> 62 63 54 </div><!-- #post-<?php bbp_reply_id(); ?> --> 64 55 -
trunk/src/templates/default/bbpress/loop-search-topic.php
r5688 r5689 11 11 12 12 <div class="bbp-topic-header"> 13 14 13 <div class="bbp-meta"> 15 16 14 <span class="bbp-topic-post-date"><?php bbp_topic_post_date( bbp_get_topic_id() ); ?></span> 17 18 15 <a href="<?php bbp_topic_permalink(); ?>" class="bbp-topic-permalink">#<?php bbp_topic_id(); ?></a> 19 20 16 </div><!-- .bbp-meta --> 21 17 … … 50 46 51 47 <div id="post-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>> 52 53 48 <div class="bbp-topic-author"> 54 49 … … 80 75 81 76 </div><!-- .bbp-topic-content --> 82 83 77 </div><!-- #post-<?php bbp_topic_id(); ?> --> -
trunk/src/templates/default/bbpress/loop-search.php
r5688 r5689 8 8 */ 9 9 10 ?> 11 12 <?php do_action( 'bbp_template_before_search_results_loop' ); ?> 10 do_action( 'bbp_template_before_search_results_loop' ); ?> 13 11 14 12 <ul id="bbp-search-results" class="forums bbp-search-results"> … … 50 48 </ul><!-- #bbp-search-results --> 51 49 52 <?php do_action( 'bbp_template_after_search_results_loop' ); ?>50 <?php do_action( 'bbp_template_after_search_results_loop' ); -
trunk/src/templates/default/bbpress/loop-single-forum.php
r5156 r5689 11 11 12 12 <ul id="bbp-forum-<?php bbp_forum_id(); ?>" <?php bbp_forum_class(); ?>> 13 14 13 <li class="bbp-forum-info"> 15 14 … … 72 71 </p> 73 72 </li> 74 75 73 </ul><!-- #bbp-forum-<?php bbp_forum_id(); ?> --> -
trunk/src/templates/default/bbpress/loop-single-reply.php
r5688 r5689 11 11 12 12 <div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header"> 13 14 13 <div class="bbp-meta"> 15 16 14 <span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span> 17 15 … … 34 32 35 33 </div><!-- .bbp-meta --> 36 37 34 </div><!-- #post-<?php bbp_reply_id(); ?> --> 38 35 39 36 <div <?php bbp_reply_class(); ?>> 40 41 37 <div class="bbp-reply-author"> 42 38 … … 68 64 69 65 </div><!-- .bbp-reply-content --> 70 71 66 </div><!-- .reply --> -
trunk/src/templates/default/bbpress/loop-single-topic.php
r5688 r5689 11 11 12 12 <ul id="bbp-topic-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>> 13 14 13 <li class="bbp-topic-title"> 15 14 … … 102 101 </p> 103 102 </li> 104 105 103 </ul><!-- #bbp-topic-<?php bbp_topic_id(); ?> --> -
trunk/src/templates/default/bbpress/loop-topics.php
r5688 r5689 8 8 */ 9 9 10 ?> 11 12 <?php do_action( 'bbp_template_before_topics_loop' ); ?> 10 do_action( 'bbp_template_before_topics_loop' ); ?> 13 11 14 12 <ul id="bbp-forum-<?php bbp_forum_id(); ?>" class="bbp-topics"> 15 16 13 <li class="bbp-header"> 17 18 14 <ul class="forum-titles"> 19 15 <li class="bbp-topic-title"><?php esc_html_e( 'Topic', 'bbpress' ); ?></li> … … 25 21 <li class="bbp-topic-freshness"><?php esc_html_e( 'Freshness', 'bbpress' ); ?></li> 26 22 </ul> 27 28 23 </li> 29 24 … … 39 34 40 35 <li class="bbp-footer"> 41 42 36 <div class="tr"> 43 37 <p> … … 45 39 </p> 46 40 </div><!-- .tr --> 47 48 41 </li> 49 50 42 </ul><!-- #bbp-forum-<?php bbp_forum_id(); ?> --> 51 43 52 <?php do_action( 'bbp_template_after_topics_loop' ); ?>44 <?php do_action( 'bbp_template_after_topics_loop' ); -
trunk/src/templates/default/bbpress/pagination-replies.php
r4733 r5689 8 8 */ 9 9 10 ?> 11 12 <?php do_action( 'bbp_template_before_pagination_loop' ); ?> 10 do_action( 'bbp_template_before_pagination_loop' ); ?> 13 11 14 12 <div class="bbp-pagination"> 15 <div class="bbp-pagination-count"> 16 17 <?php bbp_topic_pagination_count(); ?> 18 19 </div> 20 21 <div class="bbp-pagination-links"> 22 23 <?php bbp_topic_pagination_links(); ?> 24 25 </div> 13 <div class="bbp-pagination-count"><?php bbp_topic_pagination_count(); ?></div> 14 <div class="bbp-pagination-links"><?php bbp_topic_pagination_links(); ?></div> 26 15 </div> 27 16 28 <?php do_action( 'bbp_template_after_pagination_loop' ); ?>17 <?php do_action( 'bbp_template_after_pagination_loop' ); -
trunk/src/templates/default/bbpress/pagination-search.php
r4579 r5689 8 8 */ 9 9 10 ?> 11 12 <?php do_action( 'bbp_template_before_pagination_loop' ); ?> 10 do_action( 'bbp_template_before_pagination_loop' ); ?> 13 11 14 12 <div class="bbp-pagination"> 15 <div class="bbp-pagination-count"> 16 17 <?php bbp_search_pagination_count(); ?> 18 19 </div> 20 21 <div class="bbp-pagination-links"> 22 23 <?php bbp_search_pagination_links(); ?> 24 25 </div> 13 <div class="bbp-pagination-count"><?php bbp_search_pagination_count(); ?></div> 14 <div class="bbp-pagination-links"><?php bbp_search_pagination_links(); ?></div> 26 15 </div> 27 16 28 <?php do_action( 'bbp_template_after_pagination_loop' ); ?>17 <?php do_action( 'bbp_template_after_pagination_loop' ); -
trunk/src/templates/default/bbpress/pagination-topics.php
r4733 r5689 8 8 */ 9 9 10 ?> 11 12 <?php do_action( 'bbp_template_before_pagination_loop' ); ?> 10 do_action( 'bbp_template_before_pagination_loop' ); ?> 13 11 14 12 <div class="bbp-pagination"> 15 <div class="bbp-pagination-count"> 16 17 <?php bbp_forum_pagination_count(); ?> 18 19 </div> 20 21 <div class="bbp-pagination-links"> 22 23 <?php bbp_forum_pagination_links(); ?> 24 25 </div> 13 <div class="bbp-pagination-count"><?php bbp_forum_pagination_count(); ?></div> 14 <div class="bbp-pagination-links"><?php bbp_forum_pagination_links(); ?></div> 26 15 </div> 27 16 28 <?php do_action( 'bbp_template_after_pagination_loop' ); ?>17 <?php do_action( 'bbp_template_after_pagination_loop' ); -
trunk/src/templates/default/bbpress/user-details.php
r5688 r5689 8 8 */ 9 9 10 ?>10 do_action( 'bbp_template_before_user_details' ); ?> 11 11 12 <?php do_action( 'bbp_template_before_user_details' ); ?> 12 <div id="bbp-single-user-details"> 13 <div id="bbp-user-avatar"> 14 <span class='vcard'> 15 <a class="url fn n" href="<?php bbp_user_profile_url(); ?>" title="<?php bbp_displayed_user_field( 'display_name' ); ?>" rel="me"> 16 <?php echo get_avatar( bbp_get_displayed_user_field( 'user_email', 'raw' ), apply_filters( 'bbp_single_user_details_avatar_size', 150 ) ); ?> 17 </a> 18 </span> 19 </div><!-- #author-avatar --> 13 20 14 <div id="bbp-single-user-details"> 15 <div id="bbp-user-avatar"> 21 <div id="bbp-user-navigation"> 22 <ul> 23 <li class="<?php if ( bbp_is_single_user_profile() ) :?>current<?php endif; ?>"> 24 <span class="vcard bbp-user-profile-link"> 25 <a class="url fn n" href="<?php bbp_user_profile_url(); ?>" title="<?php printf( esc_attr__( "%s's Profile", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>" rel="me"><?php esc_html_e( 'Profile', 'bbpress' ); ?></a> 26 </span> 27 </li> 16 28 17 < span class='vcard'>18 < a class="url fn n" href="<?php bbp_user_profile_url(); ?>" title="<?php bbp_displayed_user_field( 'display_name' ); ?>" rel="me">19 < ?php echo get_avatar( bbp_get_displayed_user_field( 'user_email', 'raw' ), apply_filters( 'bbp_single_user_details_avatar_size', 150 ) ); ?>20 </ a>21 </ span>29 <li class="<?php if ( bbp_is_single_user_topics() ) :?>current<?php endif; ?>"> 30 <span class='bbp-user-topics-created-link'> 31 <a href="<?php bbp_user_topics_created_url(); ?>" title="<?php printf( esc_attr__( "%s's Topics Started", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php esc_html_e( 'Topics Started', 'bbpress' ); ?></a> 32 </span> 33 </li> 22 34 23 </div><!-- #author-avatar --> 35 <li class="<?php if ( bbp_is_single_user_replies() ) :?>current<?php endif; ?>"> 36 <span class='bbp-user-replies-created-link'> 37 <a href="<?php bbp_user_replies_created_url(); ?>" title="<?php printf( esc_attr__( "%s's Replies Created", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php esc_html_e( 'Replies Created', 'bbpress' ); ?></a> 38 </span> 39 </li> 24 40 25 <div id="bbp-user-navigation"> 26 <ul> 27 <li class="<?php if ( bbp_is_single_user_profile() ) :?>current<?php endif; ?>"> 28 <span class="vcard bbp-user-profile-link"> 29 <a class="url fn n" href="<?php bbp_user_profile_url(); ?>" title="<?php printf( esc_attr__( "%s's Profile", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>" rel="me"><?php esc_html_e( 'Profile', 'bbpress' ); ?></a> 41 <?php if ( bbp_is_favorites_active() ) : ?> 42 <li class="<?php if ( bbp_is_favorites() ) :?>current<?php endif; ?>"> 43 <span class="bbp-user-favorites-link"> 44 <a href="<?php bbp_favorites_permalink(); ?>" title="<?php printf( esc_attr__( "%s's Favorites", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php esc_html_e( 'Favorites', 'bbpress' ); ?></a> 30 45 </span> 31 46 </li> 47 <?php endif; ?> 32 48 33 <li class="<?php if ( bbp_is_single_user_topics() ) :?>current<?php endif; ?>"> 34 <span class='bbp-user-topics-created-link'> 35 <a href="<?php bbp_user_topics_created_url(); ?>" title="<?php printf( esc_attr__( "%s's Topics Started", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php esc_html_e( 'Topics Started', 'bbpress' ); ?></a> 36 </span> 37 </li> 49 <?php if ( bbp_is_user_home() || current_user_can( 'edit_users' ) ) : ?> 38 50 39 <li class="<?php if ( bbp_is_single_user_replies() ) :?>current<?php endif; ?>"> 40 <span class='bbp-user-replies-created-link'> 41 <a href="<?php bbp_user_replies_created_url(); ?>" title="<?php printf( esc_attr__( "%s's Replies Created", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php esc_html_e( 'Replies Created', 'bbpress' ); ?></a> 42 </span> 43 </li> 44 45 <?php if ( bbp_is_favorites_active() ) : ?> 46 <li class="<?php if ( bbp_is_favorites() ) :?>current<?php endif; ?>"> 47 <span class="bbp-user-favorites-link"> 48 <a href="<?php bbp_favorites_permalink(); ?>" title="<?php printf( esc_attr__( "%s's Favorites", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php esc_html_e( 'Favorites', 'bbpress' ); ?></a> 51 <?php if ( bbp_is_subscriptions_active() ) : ?> 52 <li class="<?php if ( bbp_is_subscriptions() ) :?>current<?php endif; ?>"> 53 <span class="bbp-user-subscriptions-link"> 54 <a href="<?php bbp_subscriptions_permalink(); ?>" title="<?php printf( esc_attr__( "%s's Subscriptions", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php esc_html_e( 'Subscriptions', 'bbpress' ); ?></a> 49 55 </span> 50 56 </li> 51 57 <?php endif; ?> 52 58 53 <?php if ( bbp_is_user_home() || current_user_can( 'edit_users' ) ) : ?> 59 <li class="<?php if ( bbp_is_single_user_edit() ) :?>current<?php endif; ?>"> 60 <span class="bbp-user-edit-link"> 61 <a href="<?php bbp_user_profile_edit_url(); ?>" title="<?php printf( esc_attr__( "Edit %s's Profile", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php esc_html_e( 'Edit', 'bbpress' ); ?></a> 62 </span> 63 </li> 54 64 55 <?php if ( bbp_is_subscriptions_active() ) : ?> 56 <li class="<?php if ( bbp_is_subscriptions() ) :?>current<?php endif; ?>"> 57 <span class="bbp-user-subscriptions-link"> 58 <a href="<?php bbp_subscriptions_permalink(); ?>" title="<?php printf( esc_attr__( "%s's Subscriptions", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php esc_html_e( 'Subscriptions', 'bbpress' ); ?></a> 59 </span> 60 </li> 61 <?php endif; ?> 65 <?php endif; ?> 62 66 63 <li class="<?php if ( bbp_is_single_user_edit() ) :?>current<?php endif; ?>"> 64 <span class="bbp-user-edit-link"> 65 <a href="<?php bbp_user_profile_edit_url(); ?>" title="<?php printf( esc_attr__( "Edit %s's Profile", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>"><?php esc_html_e( 'Edit', 'bbpress' ); ?></a> 66 </span> 67 </li> 67 </ul> 68 </div><!-- #bbp-user-navigation --> 69 </div><!-- #bbp-single-user-details --> 68 70 69 <?php endif; ?> 70 71 </ul> 72 </div><!-- #bbp-user-navigation --> 73 </div><!-- #bbp-single-user-details --> 74 75 <?php do_action( 'bbp_template_after_user_details' ); ?> 71 <?php do_action( 'bbp_template_after_user_details' ); -
trunk/src/templates/default/bbpress/user-favorites.php
r5688 r5689 8 8 */ 9 9 10 ?>10 do_action( 'bbp_template_before_user_favorites' ); ?> 11 11 12 <?php do_action( 'bbp_template_before_user_favorites' ); ?> 12 <div id="bbp-user-favorites" class="bbp-user-favorites"> 13 <h2 class="entry-title"><?php esc_html_e( 'Favorite Forum Topics', 'bbpress' ); ?></h2> 14 <div class="bbp-user-section"> 13 15 14 <div id="bbp-user-favorites" class="bbp-user-favorites"> 15 <h2 class="entry-title"><?php esc_html_e( 'Favorite Forum Topics', 'bbpress' ); ?></h2> 16 <div class="bbp-user-section"> 16 <?php if ( bbp_get_user_favorites() ) : ?> 17 17 18 <?php if ( bbp_get_user_favorites() ) :?>18 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 19 19 20 <?php bbp_get_template_part( 'pagination','topics' ); ?>20 <?php bbp_get_template_part( 'loop', 'topics' ); ?> 21 21 22 <?php bbp_get_template_part( 'loop','topics' ); ?>22 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 23 23 24 <?php bbp_get_template_part( 'pagination', 'topics' );?>24 <?php else : ?> 25 25 26 <?php else : ?> 26 <p><?php bbp_is_user_home() 27 ? esc_html_e( 'You currently have no favorite topics.', 'bbpress' ) 28 : esc_html_e( 'This user has no favorite topics.', 'bbpress' ); 29 ?></p> 27 30 28 <p><?php bbp_is_user_home() 29 ? esc_html_e( 'You currently have no favorite topics.', 'bbpress' ) 30 : esc_html_e( 'This user has no favorite topics.', 'bbpress' ); 31 ?></p> 31 <?php endif; ?> 32 32 33 <?php endif; ?> 33 </div> 34 </div><!-- #bbp-user-favorites --> 34 35 35 </div> 36 </div><!-- #bbp-user-favorites --> 37 38 <?php do_action( 'bbp_template_after_user_favorites' ); ?> 36 <?php do_action( 'bbp_template_after_user_favorites' ); -
trunk/src/templates/default/bbpress/user-profile.php
r5688 r5689 8 8 */ 9 9 10 ?>10 do_action( 'bbp_template_before_user_profile' ); ?> 11 11 12 <?php do_action( 'bbp_template_before_user_profile' ); ?> 12 <div id="bbp-user-profile" class="bbp-user-profile"> 13 <h2 class="entry-title"><?php esc_html_e( 'Profile', 'bbpress' ); ?></h2> 14 <div class="bbp-user-section"> 13 15 14 <div id="bbp-user-profile" class="bbp-user-profile"> 15 <h2 class="entry-title"><?php esc_html_e( 'Profile', 'bbpress' ); ?></h2> 16 <div class="bbp-user-section"> 16 <?php if ( bbp_get_displayed_user_field( 'description' ) ) : ?> 17 17 18 < ?php if ( bbp_get_displayed_user_field( 'description' ) ) : ?>18 <p class="bbp-user-description"><?php bbp_displayed_user_field( 'description' ); ?></p> 19 19 20 <p class="bbp-user-description"><?php bbp_displayed_user_field( 'description' ); ?></p>20 <?php endif; ?> 21 21 22 <?php endif; ?> 22 <p class="bbp-user-forum-role"><?php printf( esc_html__( 'Forum Role: %s', 'bbpress' ), bbp_get_user_display_role() ); ?></p> 23 <p class="bbp-user-topic-count"><?php printf( esc_html__( 'Topics Started: %s', 'bbpress' ), bbp_get_user_topic_count_raw() ); ?></p> 24 <p class="bbp-user-reply-count"><?php printf( esc_html__( 'Replies Created: %s', 'bbpress' ), bbp_get_user_reply_count_raw() ); ?></p> 25 </div> 26 </div><!-- #bbp-author-topics-started --> 23 27 24 <p class="bbp-user-forum-role"><?php printf( esc_html__( 'Forum Role: %s', 'bbpress' ), bbp_get_user_display_role() ); ?></p> 25 <p class="bbp-user-topic-count"><?php printf( esc_html__( 'Topics Started: %s', 'bbpress' ), bbp_get_user_topic_count_raw() ); ?></p> 26 <p class="bbp-user-reply-count"><?php printf( esc_html__( 'Replies Created: %s', 'bbpress' ), bbp_get_user_reply_count_raw() ); ?></p> 27 </div> 28 </div><!-- #bbp-author-topics-started --> 29 30 <?php do_action( 'bbp_template_after_user_profile' ); ?> 28 <?php do_action( 'bbp_template_after_user_profile' ); -
trunk/src/templates/default/bbpress/user-replies-created.php
r5688 r5689 8 8 */ 9 9 10 ?>10 do_action( 'bbp_template_before_user_replies' ); ?> 11 11 12 <?php do_action( 'bbp_template_before_user_replies' ); ?> 12 <div id="bbp-user-replies-created" class="bbp-user-replies-created"> 13 <h2 class="entry-title"><?php esc_html_e( 'Forum Replies Created', 'bbpress' ); ?></h2> 14 <div class="bbp-user-section"> 13 15 14 <div id="bbp-user-replies-created" class="bbp-user-replies-created"> 15 <h2 class="entry-title"><?php esc_html_e( 'Forum Replies Created', 'bbpress' ); ?></h2> 16 <div class="bbp-user-section"> 16 <?php if ( bbp_get_user_replies_created() ) : ?> 17 17 18 <?php if ( bbp_get_user_replies_created() ) :?>18 <?php bbp_get_template_part( 'pagination', 'replies' ); ?> 19 19 20 <?php bbp_get_template_part( 'pagination','replies' ); ?>20 <?php bbp_get_template_part( 'loop', 'replies' ); ?> 21 21 22 <?php bbp_get_template_part( 'loop','replies' ); ?>22 <?php bbp_get_template_part( 'pagination', 'replies' ); ?> 23 23 24 <?php bbp_get_template_part( 'pagination', 'replies' );?>24 <?php else : ?> 25 25 26 <?php else : ?> 26 <p><?php bbp_is_user_home() 27 ? esc_html_e( 'You have not replied to any topics.', 'bbpress' ) 28 : esc_html_e( 'This user has not replied to any topics.', 'bbpress' ); 29 ?></p> 27 30 28 <p><?php bbp_is_user_home() 29 ? esc_html_e( 'You have not replied to any topics.', 'bbpress' ) 30 : esc_html_e( 'This user has not replied to any topics.', 'bbpress' ); 31 ?></p> 31 <?php endif; ?> 32 32 33 <?php endif; ?> 33 </div> 34 </div><!-- #bbp-user-replies-created --> 34 35 35 </div> 36 </div><!-- #bbp-user-replies-created --> 37 38 <?php do_action( 'bbp_template_after_user_replies' ); ?> 36 <?php do_action( 'bbp_template_after_user_replies' ); -
trunk/src/templates/default/bbpress/user-subscriptions.php
r5688 r5689 8 8 */ 9 9 10 ?>10 do_action( 'bbp_template_before_user_subscriptions' ); ?> 11 11 12 <?php do_action( 'bbp_template_before_user_subscriptions' );?>12 <?php if ( bbp_is_subscriptions_active() ) : ?> 13 13 14 <?php if ( bbp_is_ subscriptions_active() ) : ?>14 <?php if ( bbp_is_user_home() || current_user_can( 'edit_users' ) ) : ?> 15 15 16 <?php if ( bbp_is_user_home() || current_user_can( 'edit_users' ) ) : ?> 16 <div id="bbp-user-subscriptions" class="bbp-user-subscriptions"> 17 <h2 class="entry-title"><?php esc_html_e( 'Subscribed Forums', 'bbpress' ); ?></h2> 18 <div class="bbp-user-section"> 17 19 18 <div id="bbp-user-subscriptions" class="bbp-user-subscriptions"> 19 <h2 class="entry-title"><?php esc_html_e( 'Subscribed Forums', 'bbpress' ); ?></h2> 20 <div class="bbp-user-section"> 20 <?php if ( bbp_get_user_forum_subscriptions() ) : ?> 21 21 22 <?php if ( bbp_get_user_forum_subscriptions() ) :?>22 <?php bbp_get_template_part( 'loop', 'forums' ); ?> 23 23 24 <?php bbp_get_template_part( 'loop', 'forums' );?>24 <?php else : ?> 25 25 26 <?php else : ?> 26 <p><?php bbp_is_user_home() 27 ? esc_html_e( 'You are not currently subscribed to any forums.', 'bbpress' ) 28 : esc_html_e( 'This user is not currently subscribed to any forums.', 'bbpress' ); 29 ?></p> 27 30 28 <p><?php bbp_is_user_home() 29 ? esc_html_e( 'You are not currently subscribed to any forums.', 'bbpress' ) 30 : esc_html_e( 'This user is not currently subscribed to any forums.', 'bbpress' ); 31 ?></p> 31 <?php endif; ?> 32 32 33 <?php endif; ?>33 </div> 34 34 35 </div> 35 <h2 class="entry-title"><?php esc_html_e( 'Subscribed Topics', 'bbpress' ); ?></h2> 36 <div class="bbp-user-section"> 36 37 37 <h2 class="entry-title"><?php esc_html_e( 'Subscribed Topics', 'bbpress' ); ?></h2> 38 <div class="bbp-user-section"> 38 <?php if ( bbp_get_user_topic_subscriptions() ) : ?> 39 39 40 <?php if ( bbp_get_user_topic_subscriptions() ) :?>40 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 41 41 42 <?php bbp_get_template_part( 'pagination','topics' ); ?>42 <?php bbp_get_template_part( 'loop', 'topics' ); ?> 43 43 44 <?php bbp_get_template_part( 'loop','topics' ); ?>44 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 45 45 46 <?php bbp_get_template_part( 'pagination', 'topics' );?>46 <?php else : ?> 47 47 48 <?php else : ?> 48 <p><?php bbp_is_user_home() 49 ? esc_html_e( 'You are not currently subscribed to any topics.', 'bbpress' ) 50 : esc_html_e( 'This user is not currently subscribed to any topics.', 'bbpress' ); 51 ?></p> 49 52 50 <p><?php bbp_is_user_home() 51 ? esc_html_e( 'You are not currently subscribed to any topics.', 'bbpress' ) 52 : esc_html_e( 'This user is not currently subscribed to any topics.', 'bbpress' ); 53 ?></p> 53 <?php endif; ?> 54 54 55 <?php endif; ?> 56 57 </div> 58 </div><!-- #bbp-user-subscriptions --> 59 60 <?php endif; ?> 55 </div> 56 </div><!-- #bbp-user-subscriptions --> 61 57 62 58 <?php endif; ?> 63 59 64 <?php do_action( 'bbp_template_after_user_subscriptions' ); ?> 60 <?php endif; ?> 61 62 <?php do_action( 'bbp_template_after_user_subscriptions' ); -
trunk/src/templates/default/bbpress/user-topics-created.php
r5688 r5689 8 8 */ 9 9 10 ?>10 do_action( 'bbp_template_before_user_topics_created' ); ?> 11 11 12 <?php do_action( 'bbp_template_before_user_topics_created' ); ?> 12 <div id="bbp-user-topics-started" class="bbp-user-topics-started"> 13 <h2 class="entry-title"><?php esc_html_e( 'Forum Topics Started', 'bbpress' ); ?></h2> 14 <div class="bbp-user-section"> 13 15 14 <div id="bbp-user-topics-started" class="bbp-user-topics-started"> 15 <h2 class="entry-title"><?php esc_html_e( 'Forum Topics Started', 'bbpress' ); ?></h2> 16 <div class="bbp-user-section"> 16 <?php if ( bbp_get_user_topics_started() ) : ?> 17 17 18 <?php if ( bbp_get_user_topics_started() ) :?>18 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 19 19 20 <?php bbp_get_template_part( 'pagination','topics' ); ?>20 <?php bbp_get_template_part( 'loop', 'topics' ); ?> 21 21 22 <?php bbp_get_template_part( 'loop','topics' ); ?>22 <?php bbp_get_template_part( 'pagination', 'topics' ); ?> 23 23 24 <?php bbp_get_template_part( 'pagination', 'topics' );?>24 <?php else : ?> 25 25 26 <?php else : ?> 26 <p><?php bbp_is_user_home() 27 ? esc_html_e( 'You have not created any topics.', 'bbpress' ) 28 : esc_html_e( 'This user has not created any topics.', 'bbpress' ); 29 ?></p> 27 30 28 <p><?php bbp_is_user_home() 29 ? esc_html_e( 'You have not created any topics.', 'bbpress' ) 30 : esc_html_e( 'This user has not created any topics.', 'bbpress' ); 31 ?></p> 31 <?php endif; ?> 32 32 33 <?php endif; ?> 33 </div> 34 </div><!-- #bbp-user-topics-started --> 34 35 35 </div> 36 </div><!-- #bbp-user-topics-started --> 37 38 <?php do_action( 'bbp_template_after_user_topics_created' ); ?> 36 <?php do_action( 'bbp_template_after_user_topics_created' );
Note: See TracChangeset
for help on using the changeset viewer.