Changeset 3634
- Timestamp:
- 11/27/2011 09:57:44 AM (14 years ago)
- Location:
- branches/plugin
- Files:
-
- 2 added
- 19 edited
-
bbp-includes/bbp-core-compatibility.php (modified) (2 diffs)
-
bbp-includes/bbp-core-shortcodes.php (modified) (11 diffs)
-
bbp-includes/bbp-user-template.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/bbpress/content-archive-topic.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/bbpress/content-single-reply.php (added)
-
bbp-themes/bbp-twentyten/bbpress/content-topic-tag-edit.php (added)
-
bbp-themes/bbp-twentyten/bbpress/loop-forums.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/bbpress/loop-replies.php (modified) (3 diffs)
-
bbp-themes/bbp-twentyten/bbpress/loop-single-forum.php (modified) (3 diffs)
-
bbp-themes/bbp-twentyten/bbpress/loop-single-reply.php (modified) (4 diffs)
-
bbp-themes/bbp-twentyten/bbpress/loop-single-topic.php (modified) (7 diffs)
-
bbp-themes/bbp-twentyten/bbpress/loop-topics.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/bbpress/user-details.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/bbpress/user-favorites.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/bbpress/user-subscriptions.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/bbpress/user-topics-created.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/css/bbpress.css (modified) (3 diffs)
-
bbp-themes/bbp-twentyten/single-reply.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/single-user-edit.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/taxonomy-topic-tag-edit.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/taxonomy-topic-tag.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-core-compatibility.php
r3631 r3634 1267 1267 // Single Reply 1268 1268 case bbp_get_reply_post_type() : 1269 1269 $new_content = $bbp->shortcodes->display_reply( array( 'id' => get_the_ID() ) ); 1270 1270 break; 1271 1271 } … … 1346 1346 $redirect_url = false; 1347 1347 1348 // ...and single replies...1348 // ...and single forums... 1349 1349 } elseif ( bbp_is_single_forum() ) { 1350 1350 $redirect_url = false; 1351 1351 1352 // ...and single replies... 1353 } elseif ( bbp_is_single_reply() ) { 1354 $redirect_url = false; 1355 1352 1356 // ...and any single anything else... 1353 1357 // -
branches/plugin/bbp-includes/bbp-core-shortcodes.php
r3627 r3634 83 83 84 84 // Reply form 85 'bbp-reply-form' => array( $this, 'display_reply_form' ), 85 'bbp-reply-form' => array( $this, 'display_reply_form' ), 86 87 // Specific reply - pass an 'id' attribute 88 'bbp-single-reply' => array( $this, 'display_reply' ), 86 89 87 90 /** Views *********************************************************/ … … 133 136 134 137 // Unset global queries 135 $bbp->forum_query = new stdClass;136 $bbp->topic_query = new stdClass;137 $bbp->reply_query = new stdClass;138 $bbp->forum_query = new stdClass; 139 $bbp->topic_query = new stdClass; 140 $bbp->reply_query = new stdClass; 138 141 139 142 // Unset global ID's … … 218 221 $this->start( 'bbp_forum_archive' ); 219 222 220 // Breadcrumb 221 bbp_breadcrumb(); 222 223 // Before forums index 224 do_action( 'bbp_template_before_forums_index' ); 225 226 // Load the forums index 227 if ( bbp_has_forums() ) 228 bbp_get_template_part( 'bbpress/loop', 'forums' ); 229 230 // No forums 231 else 232 bbp_get_template_part( 'bbpress/feedback', 'no-forums' ); 233 234 // After forums index 235 do_action( 'bbp_template_after_forums_index' ); 223 bbp_get_template_part( 'bbpress/content', 'archive-forum' ); 236 224 237 225 // Return contents of output buffer … … 271 259 // Check forum caps 272 260 if ( bbp_user_can_view_forum( array( 'forum_id' => $forum_id ) ) ) { 273 274 // Breadcrumb 275 bbp_breadcrumb(); 276 277 // Before single forum 278 do_action( 'bbp_template_before_single_forum' ); 279 280 // Password protected 281 if ( post_password_required() ) { 282 283 // Output the password form 284 bbp_get_template_part( 'bbpress/form', 'protected' ); 285 286 // Not password protected, or password is already approved 287 } else { 288 289 // Forum description 290 bbp_single_forum_description( array( 'forum_id' => $forum_id ) ); 291 292 /** Sub forums ****************************************************/ 293 294 // Check if forum has subforums first 295 if ( bbp_get_forum_subforum_count( $forum_id ) ) { 296 297 // Forum query 298 $forum_query = array( 'post_parent' => $forum_id ); 299 300 // Load the sub forums 301 if ( bbp_has_forums( $forum_query ) ) 302 bbp_get_template_part( 'bbpress/loop', 'forums' ); 303 } 304 305 /** Topics ********************************************************/ 306 307 // Skip if forum is a category 308 if ( !bbp_is_forum_category( $forum_id ) ) { 309 310 // Unset globals 311 $this->unset_globals(); 312 313 // Reset necessary forum_query attributes for topics loop to function 314 $bbp->forum_query->query_vars['post_type'] = bbp_get_forum_post_type(); 315 $bbp->forum_query->in_the_loop = true; 316 $bbp->forum_query->post = get_post( $forum_id ); 317 318 // Query defaults 319 $topics_query = array( 320 'author' => 0, 321 'post_parent' => $forum_id, 322 'show_stickies' => true, 323 ); 324 325 // Load the topic index 326 if ( bbp_has_topics( $topics_query ) ) { 327 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 328 bbp_get_template_part( 'bbpress/loop', 'topics' ); 329 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 330 bbp_get_template_part( 'bbpress/form', 'topic' ); 331 332 // No topics 333 } else { 334 bbp_get_template_part( 'bbpress/feedback', 'no-topics' ); 335 bbp_get_template_part( 'bbpress/form', 'topic' ); 336 } 337 } 338 339 // After single forum 340 do_action( 'bbp_template_after_single_forum' ); 341 } 261 bbp_get_template_part( 'bbpress/content', 'single-forum' ); 342 262 343 263 // Forum is private and user does not have caps 344 264 } elseif ( bbp_is_forum_private( $forum_id, false ) ) { 345 bbp_get_template_part( 'bbpress/feedback', 'no-access' );265 bbp_get_template_part( 'bbpress/feedback', 'no-access' ); 346 266 } 347 267 … … 387 307 public function display_topic_index() { 388 308 309 // Unset globals 310 $this->unset_globals(); 311 312 // Start output buffer 313 $this->start( 'bbp_topic_archive' ); 314 389 315 // Query defaults 390 316 $topics_query = array( 391 'author' => 0,392 'show_stickies' => true,393 'order' => 'DESC',317 'author' => 0, 318 'show_stickies' => true, 319 'order' => 'DESC', 394 320 ); 395 321 396 // Unset globals397 $this->unset_globals();398 399 // Start output buffer400 $this->start( 'bbp_topic_archive' );401 402 // Breadcrumb403 bbp_breadcrumb();404 405 // Before topics index406 do_action( 'bbp_template_before_topics_index' );407 408 322 // Load the topic index 409 if ( bbp_has_topics( $topics_query ) ) { 410 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 411 bbp_get_template_part( 'bbpress/loop', 'topics' ); 412 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 413 414 // No topics 415 } else { 416 bbp_get_template_part( 'bbpress/feedback', 'no-topics' ); 417 } 418 419 // After topics index 420 do_action( 'bbp_template_after_topics_index' ); 323 bbp_has_topics( $topics_query ); 324 325 // Output template 326 bbp_get_template_part( 'bbpress/content', 'archive-topic' ); 421 327 422 328 // Return contents of output buffer … … 451 357 if ( !bbp_is_topic( $topic_id ) ) 452 358 return $content; 453 454 // Setup the meta_query455 $replies_query['meta_query'] = array( array(456 'key' => '_bbp_topic_id',457 'value' => $topic_id,458 'compare' => '='459 ) );460 359 461 360 // Unset globals … … 482 381 if ( bbp_user_can_view_forum( array( 'forum_id' => $forum_id ) ) ) { 483 382 484 // Breadcrumb 485 bbp_breadcrumb(); 486 487 // Before single topic 488 do_action( 'bbp_template_before_single_topic' ); 489 490 // Password protected 491 if ( post_password_required() ) { 492 493 // Output the password form 494 bbp_get_template_part( 'bbpress/form', 'protected' ); 495 496 // Not password protected, or password is already approved 497 } else { 498 499 // Tags 500 bbp_topic_tag_list( $topic_id ); 501 502 // Topic description 503 bbp_single_topic_description( array( 'topic_id' => $topic_id ) ); 504 505 // Template files 506 if ( bbp_show_lead_topic() ) 507 bbp_get_template_part( 'bbpress/content', 'single-topic-lead' ); 508 509 // Load the topic 510 if ( bbp_has_replies( $replies_query ) ) { 511 bbp_get_template_part( 'bbpress/pagination', 'replies' ); 512 bbp_get_template_part( 'bbpress/loop', 'replies' ); 513 bbp_get_template_part( 'bbpress/pagination', 'replies' ); 514 } 515 516 // Reply form 517 bbp_get_template_part( 'bbpress/form', 'reply' ); 518 } 519 520 // After single topic 521 do_action( 'bbp_template_after_single_topic' ); 383 // Setup the meta_query 384 $replies_query['meta_query'] = array( array( 385 'key' => '_bbp_topic_id', 386 'value' => $topic_id, 387 'compare' => '=' 388 ) ); 389 390 // Setup an accurate replies query 391 bbp_has_replies( $replies_query ); 392 393 // Output the single topic 394 bbp_get_template_part( 'bbpress/content', 'single-topic' ); 522 395 523 396 // Forum is private and user does not have caps … … 551 424 552 425 /** Replies ***************************************************************/ 426 427 /** 428 * Display the contents of a specific reply ID in an output buffer 429 * and return to ensure that post/page contents are displayed first. 430 * 431 * @since bbPress (r3031) 432 * 433 * @global bbPress $bbp 434 * 435 * @param array $attr 436 * @param string $content 437 * @uses get_template_part() 438 * @return string 439 */ 440 public function display_reply( $attr, $content = '' ) { 441 global $bbp; 442 443 // Sanity check required info 444 if ( !empty( $content ) || ( empty( $attr['id'] ) || !is_numeric( $attr['id'] ) ) ) 445 return $content; 446 447 // Set passed attribute to $reply_id for clarity 448 $reply_id = $attr['id']; 449 $forum_id = bbp_get_reply_forum_id( $reply_id ); 450 451 // Bail if ID passed is not a forum 452 if ( !bbp_is_reply( $reply_id ) ) 453 return $content; 454 455 // Unset globals 456 $this->unset_globals(); 457 458 // Reset the queries if not in theme compat 459 if ( !bbp_is_theme_compat_active() ) { 460 461 // Reset necessary forum_query attributes for replys loop to function 462 $bbp->forum_query->query_vars['post_type'] = bbp_get_forum_post_type(); 463 $bbp->forum_query->in_the_loop = true; 464 $bbp->forum_query->post = get_post( $forum_id ); 465 466 // Reset necessary reply_query attributes for replys loop to function 467 $bbp->reply_query->query_vars['post_type'] = bbp_get_reply_post_type(); 468 $bbp->reply_query->in_the_loop = true; 469 $bbp->reply_query->post = get_post( $reply_id ); 470 } 471 472 // Start output buffer 473 $this->start( 'bbp_single_reply' ); 474 475 // Check forum caps 476 if ( bbp_user_can_view_forum( array( 'forum_id' => $forum_id ) ) ) { 477 bbp_get_template_part( 'bbpress/content', 'single-reply' ); 478 479 // Forum is private and user does not have caps 480 } elseif ( bbp_is_forum_private( $forum_id, false ) ) { 481 bbp_get_template_part( 'bbpress/feedback', 'no-access' ); 482 } 483 484 // Return contents of output buffer 485 return $this->end(); 486 } 553 487 554 488 /** … … 635 569 $this->start( 'bbp_topics_of_tag' ); 636 570 637 // Breadcrumb638 bbp_breadcrumb();639 640 // Tag description641 bbp_topic_tag_description();642 643 // Before tag topics644 do_action( 'bbp_template_before_topic_tag' );645 646 571 // Load the topics 647 if ( bbp_has_topics( $args ) ) { 648 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 649 bbp_get_template_part( 'bbpress/loop', 'topics' ); 650 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 651 652 // No topics 653 } else { 654 bbp_get_template_part( 'bbpress/feedback', 'no-topics' ); 655 } 656 657 // After tag topics 658 do_action( 'bbp_template_after_topic_tag' ); 572 bbp_has_topics( $args ); 573 574 // Output template 575 bbp_get_template_part( 'bbpress/content', 'archive-topic' ); 659 576 660 577 // Return contents of output buffer … … 681 598 $this->start( 'bbp_topic_tag_edit' ); 682 599 683 // Breadcrumb 684 bbp_breadcrumb(); 685 686 // Tag description 687 bbp_topic_tag_description(); 688 689 // Before tag topics 690 do_action( 'bbp_template_before_topic_tag_edit' ); 691 692 // Tag editing form 693 bbp_get_template_part( 'bbpress/form', 'topic-tag' ); 694 695 // After tag topics 696 do_action( 'bbp_template_after_topic_tag_edit' ); 600 // Output template 601 bbp_get_template_part( 'bbpress/content', 'topic-tag-edit' ); 697 602 698 603 // Return contents of output buffer … … 728 633 $this->start( 'bbp_single_view' ); 729 634 730 // Breadcrumb 731 bbp_breadcrumb(); 732 733 // Password protected 734 if ( post_password_required() ) { 735 736 // Output the password form 737 bbp_get_template_part( 'bbpress/form', 'protected' ); 738 739 // Not password protected, or password is already approved 740 } else { 741 742 /** Topics ********************************************************/ 743 744 // Unset globals 745 $this->unset_globals(); 746 747 // Load the topic index 748 if ( bbp_view_query( $view_id ) ) { 749 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 750 bbp_get_template_part( 'bbpress/loop', 'topics' ); 751 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 752 753 // No topics 754 } else { 755 bbp_get_template_part( 'bbpress/feedback', 'no-topics' ); 756 } 757 } 635 // Unset globals 636 $this->unset_globals(); 637 638 // Load the topic index 639 bbp_view_query( $view_id ); 640 641 // Output template 642 bbp_get_template_part( 'bbpress/content', 'single-view' ); 758 643 759 644 // Return contents of output buffer -
branches/plugin/bbp-includes/bbp-user-template.php
r3632 r3634 107 107 108 108 /** 109 * Returna sanitized user field value109 * Output a sanitized user field value 110 110 * 111 111 * @since bbPress (r2688) 112 112 * 113 113 * @param string $field Field to get 114 * @uses sanitize_text_field() To sanitize the field 115 * @uses esc_attr() To sanitize the field 116 * @return string|bool Value of the field if it exists, else false 117 */ 118 function bbp_get_displayed_user_field( $field = '' ) { 119 global $bbp; 120 121 // Return field if exists 122 if ( isset( $bbp->displayed_user->$field ) ) 123 return esc_attr( sanitize_text_field( $bbp->displayed_user->$field ) ); 124 125 // Return empty 126 return false; 127 } 114 * @uses bbp_get_displayed_user_field() To get the field 115 */ 116 function bbp_displayed_user_field( $field = '' ) { 117 echo bbp_get_displayed_user_field( $field ); 118 } 119 /** 120 * Return a sanitized user field value 121 * 122 * @since bbPress (r2688) 123 * 124 * @param string $field Field to get 125 * @uses sanitize_text_field() To sanitize the field 126 * @uses esc_attr() To sanitize the field 127 * @return string|bool Value of the field if it exists, else false 128 */ 129 function bbp_get_displayed_user_field( $field = '' ) { 130 global $bbp; 131 132 // Return field if exists 133 if ( isset( $bbp->displayed_user->$field ) ) 134 return esc_attr( sanitize_text_field( $bbp->displayed_user->$field ) ); 135 136 // Return empty 137 return false; 138 } 128 139 129 140 /** -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/content-archive-topic.php
r3312 r3634 11 11 12 12 <?php bbp_breadcrumb(); ?> 13 14 <?php if ( bbp_is_topic_tag() ) bbp_topic_tag_description(); ?> 13 15 14 16 <?php do_action( 'bbp_template_before_topics_index' ); ?> -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-forums.php
r3464 r3634 10 10 ?> 11 11 12 < ?php do_action( 'bbp_template_before_forums_loop' ); ?>12 <div id="bbpress-forums"> 13 13 14 <table class="bbp-forums">14 <?php do_action( 'bbp_template_before_forums_loop' ); ?> 15 15 16 <thead> 17 <tr> 18 <th class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?></th> 19 <th class="bbp-forum-topic-count"><?php _e( 'Topics', 'bbpress' ); ?></th> 20 <th class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></th> 21 <th class="bbp-forum-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></th> 22 </tr> 23 </thead> 16 <ul id="forums-list" class="forums bbp-forums"> 24 17 25 <tfoot> 26 <tr><td colspan="4"> </td></tr> 27 </tfoot> 18 <li class="bbp-header"> 28 19 29 <tbody> 20 <ul class="forum-titles"> 21 <li class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?></li> 22 <li class="bbp-forum-topic-count"><?php _e( 'Topics', 'bbpress' ); ?></li> 23 <li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></li> 24 <li class="bbp-forum-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li> 25 </ul> 30 26 31 < ?php while ( bbp_forums() ) : bbp_the_forum(); ?>27 </li><!-- .bbp-header --> 32 28 33 <?php bbp_get_template_part( 'bbpress/loop', 'single-forum' ); ?>29 <li class="bbp-body"> 34 30 35 <?php endwhile; ?>31 <?php while ( bbp_forums() ) : bbp_the_forum(); ?> 36 32 37 </tbody>33 <?php bbp_get_template_part( 'bbpress/loop', 'single-forum' ); ?> 38 34 39 </table>35 <?php endwhile; ?> 40 36 41 <?php do_action( 'bbp_template_after_forums_loop' ); ?> 37 </li><!-- .bbp-body --> 38 39 <li class="bbp-footer"> 40 41 <div class="tr"> 42 <p class="td colspan4"> </p> 43 </div><!-- .tr --> 44 45 </li><!-- .bbp-footer --> 46 47 </ul><!-- .forums-directory --> 48 49 <?php do_action( 'bbp_template_after_forums_loop' ); ?> 50 51 </div><!-- #bbpress-forums --> -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-replies.php
r3464 r3634 10 10 ?> 11 11 12 < ?php do_action( 'bbp_template_before_replies_loop' ); ?>12 <div id="bbpress-forums"> 13 13 14 <table class="bbp-replies" id="topic-<?php bbp_topic_id(); ?>-replies"> 15 <thead> 16 <tr> 17 <th class="bbp-reply-author"><?php _e( 'Author', 'bbpress' ); ?></th> 18 <th class="bbp-reply-content"> 14 <?php do_action( 'bbp_template_before_replies_loop' ); ?> 15 16 <ul id="topic-<?php bbp_topic_id(); ?>-replies" class="forums bbp-replies"> 17 18 <li class="bbp-header"> 19 20 <div class="bbp-reply-author"><?php _e( 'Author', 'bbpress' ); ?></div><!-- .bbp-reply-author --> 21 22 <div class="bbp-reply-content"> 19 23 20 24 <?php if ( !bbp_show_lead_topic() ) : ?> … … 32 36 <?php endif; ?> 33 37 34 </th> 35 </tr> 36 </thead> 38 </div><!-- .bbp-reply-content --> 37 39 38 <tfoot> 39 <tr> 40 <th class="bbp-reply-author"><?php _e( 'Author', 'bbpress' ); ?></th> 41 <th class="bbp-reply-content"> 40 </li><!-- .bbp-header --> 41 42 <li class="bbp-body"> 43 44 <?php while ( bbp_replies() ) : bbp_the_reply(); ?> 45 46 <?php bbp_get_template_part( 'bbpress/loop', 'single-reply' ); ?> 47 48 <?php endwhile; ?> 49 50 </li><!-- .bbp-body --> 51 52 <li class="bbp-footer"> 53 54 <div class="bbp-reply-author"><?php _e( 'Author', 'bbpress' ); ?></div> 55 56 <div class="bbp-reply-content"> 42 57 43 58 <?php if ( !bbp_show_lead_topic() ) : ?> … … 51 66 <?php endif; ?> 52 67 53 </th> 54 </tr> 55 </tfoot> 68 </div><!-- .bbp-reply-content --> 56 69 57 <tbody>70 </li> 58 71 59 <?php while ( bbp_replies() ) : bbp_the_reply(); ?>72 </ul><!-- #topic-<?php bbp_topic_id(); ?>-replies --> 60 73 61 <?php bbp_get_template_part( 'bbpress/loop', 'single-reply' ); ?>74 <?php do_action( 'bbp_template_after_replies_loop' ); ?> 62 75 63 <?php endwhile; ?>76 </div><!-- #bbpress-forums --> 64 77 65 </tbody>66 67 </table>68 69 <?php do_action( 'bbp_template_after_replies_loop' ); ?> -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-single-forum.php
r3464 r3634 10 10 ?> 11 11 12 < trid="bbp-forum-<?php bbp_forum_id(); ?>" <?php bbp_forum_class(); ?>>12 <ul id="bbp-forum-<?php bbp_forum_id(); ?>" <?php bbp_forum_class(); ?>> 13 13 14 < tdclass="bbp-forum-info">14 <li class="bbp-forum-info"> 15 15 16 16 <?php do_action( 'bbp_theme_before_forum_title' ); ?> … … 32 32 <?php do_action( 'bbp_theme_after_forum_description' ); ?> 33 33 34 </ td>34 </li> 35 35 36 < td class="bbp-forum-topic-count"><?php bbp_forum_topic_count(); ?></td>36 <li class="bbp-forum-topic-count"><?php bbp_forum_topic_count(); ?></li> 37 37 38 < td class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? bbp_forum_reply_count() : bbp_forum_post_count(); ?></td>38 <li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? bbp_forum_reply_count() : bbp_forum_post_count(); ?></li> 39 39 40 < tdclass="bbp-forum-freshness">40 <li class="bbp-forum-freshness"> 41 41 42 42 <?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?> … … 55 55 56 56 </p> 57 </ td>57 </li> 58 58 59 </ tr><!--bbp-forum-<?php bbp_forum_id(); ?> -->59 </ul><!-- #bbp-forum-<?php bbp_forum_id(); ?> --> -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-single-reply.php
r3492 r3634 10 10 ?> 11 11 12 <tr class="bbp-reply-header"> 13 <td colspan="2"> 12 <div class="bbp-reply-header"> 13 14 <div class="bbp-meta"> 14 15 15 16 <?php printf( __( '%1$s at %2$s', 'bbpress' ), get_the_date(), esc_attr( get_the_time() ) ); ?> … … 23 24 <?php do_action( 'bbp_theme_after_reply_admin_links' ); ?> 24 25 25 </td> 26 </tr> 26 </div><!-- .bbp-meta --> 27 28 </div><!-- .bbp-reply-header --> 27 29 28 < trid="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>>30 <div id="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>> 29 31 30 < tdclass="bbp-reply-author">32 <div class="bbp-reply-author"> 31 33 32 34 <?php do_action( 'bbp_theme_before_reply_author_details' ); ?> … … 46 48 <?php do_action( 'bbp_theme_after_reply_author_details' ); ?> 47 49 48 </ td>50 </div><!-- .bbp-reply-author --> 49 51 50 < tdclass="bbp-reply-content">52 <div class="bbp-reply-content"> 51 53 52 54 <?php do_action( 'bbp_theme_after_reply_content' ); ?> … … 56 58 <?php do_action( 'bbp_theme_before_reply_content' ); ?> 57 59 58 </ td>60 </div><!-- .bbp-reply-content --> 59 61 60 </ tr><!-- #post-<?php bbp_topic_id(); ?> -->62 </div><!-- #post-<?php bbp_topic_id(); ?> --> -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-single-topic.php
r3464 r3634 10 10 ?> 11 11 12 < trid="topic-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>>12 <ul id="topic-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>> 13 13 14 < tdclass="bbp-topic-title">14 <li class="bbp-topic-title"> 15 15 16 16 <?php do_action( 'bbp_theme_before_topic_title' ); ?> … … 46 46 <?php do_action( 'bbp_theme_after_topic_meta' ); ?> 47 47 48 </ td>48 </li> 49 49 50 < td class="bbp-topic-voice-count"><?php bbp_topic_voice_count(); ?></td>50 <li class="bbp-topic-voice-count"><?php bbp_topic_voice_count(); ?></li> 51 51 52 < td class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? bbp_topic_reply_count() : bbp_topic_post_count(); ?></td>52 <li class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? bbp_topic_reply_count() : bbp_topic_post_count(); ?></li> 53 53 54 < tdclass="bbp-topic-freshness">54 <li class="bbp-topic-freshness"> 55 55 56 56 <?php do_action( 'bbp_theme_before_topic_freshness_link' ); ?> … … 69 69 70 70 </p> 71 </ td>71 </li> 72 72 73 73 <?php if ( bbp_is_user_home() ) : ?> … … 75 75 <?php if ( bbp_is_favorites() ) : ?> 76 76 77 < tdclass="bbp-topic-action">77 <li class="bbp-topic-action"> 78 78 79 79 <?php do_action( 'bbp_theme_before_topic_favorites_action' ); ?> … … 83 83 <?php do_action( 'bbp_theme_after_topic_favorites_action' ); ?> 84 84 85 </ td>85 </li> 86 86 87 87 <?php elseif ( bbp_is_subscriptions() ) : ?> 88 88 89 < tdclass="bbp-topic-action">89 <li class="bbp-topic-action"> 90 90 91 91 <?php do_action( 'bbp_theme_before_topic_subscription_action' ); ?> … … 95 95 <?php do_action( 'bbp_theme_after_topic_subscription_action' ); ?> 96 96 97 </ td>97 </li> 98 98 99 99 <?php endif; ?> … … 101 101 <?php endif; ?> 102 102 103 </ tr><!-- #topic-<?php bbp_topic_id(); ?> -->103 </ul><!-- #topic-<?php bbp_topic_id(); ?> --> -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-topics.php
r3464 r3634 10 10 ?> 11 11 12 < ?php do_action( 'bbp_template_before_topics_loop' ); ?>12 <div id="bbpress-forums"> 13 13 14 <table class="bbp-topics" id="bbp-forum-<?php bbp_topic_id(); ?>"> 15 <thead> 16 <tr> 17 <th class="bbp-topic-title"><?php _e( 'Topic', 'bbpress' ); ?></th> 18 <th class="bbp-topic-voice-count"><?php _e( 'Voices', 'bbpress' ); ?></th> 19 <th class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></th> 20 <th class="bbp-topic-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></th> 21 <?php if ( ( bbp_is_user_home() && ( bbp_is_favorites() || bbp_is_subscriptions() ) ) ) : ?><th class="bbp-topic-action"><?php _e( 'Remove', 'bbpress' ); ?></th><?php endif; ?> 22 </tr> 23 </thead> 14 <?php do_action( 'bbp_template_before_topics_loop' ); ?> 24 15 25 <tfoot> 26 <tr><td colspan="<?php echo ( bbp_is_user_home() && ( bbp_is_favorites() || bbp_is_subscriptions() ) ) ? '5' : '4'; ?>"> </td></tr> 27 </tfoot> 16 <ul id="bbp-forum-<?php bbp_forum_id(); ?>" class="forums bbp-topics"> 28 17 29 <tbody>18 <li class="bbp-header"> 30 19 31 <?php while ( bbp_topics() ) : bbp_the_topic(); ?>20 <ul class="forum-titles"> 32 21 33 <?php bbp_get_template_part( 'bbpress/loop', 'single-topic' ); ?> 22 <li class="bbp-topic-title"><?php _e( 'Topic', 'bbpress' ); ?></li> 23 <li class="bbp-topic-voice-count"><?php _e( 'Voices', 'bbpress' ); ?></li> 24 <li class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></li> 25 <li class="bbp-topic-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li> 26 <?php if ( ( bbp_is_user_home() && ( bbp_is_favorites() || bbp_is_subscriptions() ) ) ) : ?><li class="bbp-topic-action"><?php _e( 'Remove', 'bbpress' ); ?></li><?php endif; ?> 34 27 35 <?php endwhile; ?>28 </ul> 36 29 37 </tbody>30 </li> 38 31 39 </table><!-- #bbp-forum-<?php bbp_topic_id(); ?> -->32 <li class="bbp-body"> 40 33 41 <?php do_action( 'bbp_template_after_topics_loop' ); ?> 34 <?php while ( bbp_topics() ) : bbp_the_topic(); ?> 35 36 <?php bbp_get_template_part( 'bbpress/loop', 'single-topic' ); ?> 37 38 <?php endwhile; ?> 39 40 </li> 41 42 <li class="bbp-footer"> 43 44 <div class="tr"> 45 <p> 46 <span class="td colspan<?php echo ( bbp_is_user_home() && ( bbp_is_favorites() || bbp_is_subscriptions() ) ) ? '5' : '4'; ?>"> </span> 47 </p> 48 </div><!-- .tr --> 49 50 </li> 51 52 </ul><!-- #bbp-forum-<?php bbp_forum_id(); ?> --> 53 54 <?php do_action( 'bbp_template_after_topics_loop' ); ?> 55 56 </div><!-- #bbpress-forums --> -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/user-details.php
r3233 r3634 31 31 <h1><?php printf( __( 'About %s', 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?></h1> 32 32 33 <?php echo bbp_get_displayed_user_field( 'description' ); ?>33 <?php bbp_displayed_user_field( 'description' ); ?> 34 34 35 35 </div><!-- #author-description --> -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/user-favorites.php
r3547 r3634 14 14 <div id="bbp-author-favorites" class="bbp-author-favorites"> 15 15 <h2 class="entry-title"><?php _e( 'Favorite Forum Topics', 'bbpress' ); ?></h2> 16 <div class=" entry-content">16 <div class="bbp-user-section"> 17 17 18 <?php if ( bbp_get_user_favorites() ) : 18 <?php if ( bbp_get_user_favorites() ) : ?> 19 19 20 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 21 bbp_get_template_part( 'bbpress/loop', 'topics' ); 22 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 20 <?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?> 23 21 24 else : ?> 22 <?php bbp_get_template_part( 'bbpress/loop', 'topics' ); ?> 23 24 <?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?> 25 26 <?php else : ?> 25 27 26 28 <p><?php bbp_is_user_home() ? _e( 'You currently have no favorite topics.', 'bbpress' ) : _e( 'This user has no favorite topics.', 'bbpress' ); ?></p> -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/user-subscriptions.php
r3547 r3634 18 18 <div id="bbp-author-subscriptions" class="bbp-author-subscriptions"> 19 19 <h2 class="entry-title"><?php _e( 'Subscribed Forum Topics', 'bbpress' ); ?></h2> 20 <div class=" entry-content">20 <div class="bbp-user-section"> 21 21 22 <?php if ( bbp_get_user_subscriptions() ) : 22 <?php if ( bbp_get_user_subscriptions() ) : ?> 23 23 24 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 25 bbp_get_template_part( 'bbpress/loop', 'topics' ); 26 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 24 <?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?> 27 25 28 else : ?> 26 <?php bbp_get_template_part( 'bbpress/loop', 'topics' ); ?> 27 28 <?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?> 29 30 <?php else : ?> 29 31 30 32 <p><?php bbp_is_user_home() ? _e( 'You are not currently subscribed to any topics.', 'bbpress' ) : _e( 'This user is not currently subscribed to any topics.', 'bbpress' ); ?></p> -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/user-topics-created.php
r3547 r3634 14 14 <div id="bbp-author-topics-started" class="bbp-author-topics-started"> 15 15 <h2 class="entry-title"><?php _e( 'Forum Topics Created', 'bbpress' ); ?></h2> 16 <div class=" entry-content">16 <div class="bbp-user-section"> 17 17 18 <?php if ( bbp_get_user_topics_started() ) : 18 <?php if ( bbp_get_user_topics_started() ) : ?> 19 19 20 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 21 bbp_get_template_part( 'bbpress/loop', 'topics' ); 22 bbp_get_template_part( 'bbpress/pagination', 'topics' ); 20 <?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?> 23 21 24 else : ?> 22 <?php bbp_get_template_part( 'bbpress/loop', 'topics' ); ?> 23 24 <?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?> 25 26 <?php else : ?> 25 27 26 28 <p><?php bbp_is_user_home() ? _e( 'You have not created any topics.', 'bbpress' ) : _e( 'This user has not created any topics.', 'bbpress' ); ?></p> -
branches/plugin/bbp-themes/bbp-twentyten/css/bbpress.css
r3586 r3634 18 18 } 19 19 20 #content table.bbp-topics, 21 #content table.bbp-forums, 22 #content table.bbp-replies, 23 24 #container table.bbp-topics, 25 #container table.bbp-forums, 26 #container table.bbp-replies, 27 28 #main table.bbp-topics, 29 #main table.bbp-forums, 30 #main table.bbp-replies { 31 clear: left; 32 table-layout: fixed; 20 #bbpress-forums { 21 background: #ffffff; 22 border: 1px solid #eeeeee; 23 clear: both; 24 margin-bottom: 20px; 25 overflow: hidden; 26 } 27 28 #bbpress-forums div.even { 29 background-color: #fff; 30 } 31 32 #bbpress-forums div.odd, 33 #bbpress-forums div.bbp-reply-header { 34 background-color: #fbfbfb; 35 } 36 37 #bbpress-forums .status-trash.even div, 38 #bbpress-forums .status-spam.even div { 39 background-color: #fee; 40 } 41 #bbpress-forums .status-trash.odd div, 42 #bbpress-forums .status-spam.odd div { 43 background-color: #fdd; 44 } 45 46 #bbpress-forums .status-closed div, 47 #bbpress-forums .status-closed div a { 48 color: #ccc; 49 } 50 51 #bbpress-forums ul { 52 list-style: none; 53 margin: 0px; 54 padding: 0px; 55 } 56 57 #bbpress-forums ul.bbp-topics, 58 #bbpress-forums ul.bbp-forums, 59 #bbpress-forums ul.bbp-replies{ 60 font-size: 12px; 61 overflow: hidden; 33 62 width: 100%; 34 63 } 35 64 36 /* =Breadcrumb and Tags 37 -------------------------------------------------------------- */ 38 39 div.bbp-breadcrumb { 40 float: left; 41 } 42 43 div.bbp-breadcrumb, 44 div.bbp-topic-tags { 45 font-size: 12px; 46 } 47 48 #content div.bbp-breadcrumb p, 49 #content div.bbp-topic-tags p { 50 margin-bottom: 10px 51 } 52 53 div.bbp-topic-tags { 65 #bbpress-forums li.bbp-header, 66 #bbpress-forums li.bbp-body, 67 #bbpress-forums li.bbp-footer { 68 clear: both; 69 } 70 71 #bbpress-forums li.bbp-header, 72 #bbpress-forums li.bbp-footer { 73 background: #f3f3f3; 74 border-top: 1px solid #eeeeee; 75 font-weight: bold; 76 padding: 8px; 77 text-align: center; 78 } 79 80 #bbpress-forums li.bbp-header { 81 background: #eaeaea; 82 } 83 84 #bbpress-forums li.bbp-header ul { 85 overflow: hidden; 86 } 87 88 #bbpress-forums li.bbp-header li, 89 #bbpress-forums li.bbp-footer li { 90 float: left; 91 } 92 93 #content .bbp-forum-description p, 94 #bbpress-forums li.bbp-footer p { 95 margin-bottom: 0px; 96 } 97 98 #bbpress-forums .bbp-topic-content img, 99 #bbpress-forums .bbp-reply-content img { 100 max-width: 100%; 101 } 102 103 .bbp-forum-description p { 104 font-size: 13px; 105 font-style: italic; 106 } 107 108 li.bbp-forum-info, 109 li.bbp-topic-title { 110 float: left; 111 text-align: left; 112 width: 55%; 113 } 114 li.bbp-forum-topic-count, 115 li.bbp-topic-voice-count, 116 li.bbp-forum-reply-count, 117 li.bbp-topic-reply-count{ 118 float: left; 119 text-align: center; 120 width: 10%; 121 } 122 123 li.bbp-forum-freshness, 124 li.bbp-topic-freshness{ 125 text-align: center; 126 float: left; 127 width: 22%; 128 } 129 130 #bbpress-forums li.bbp-body ul.forum, 131 #bbpress-forums li.bbp-body ul.topic { 132 border-bottom: 1px solid #eeeeee; 133 overflow: hidden; 134 padding: 8px; 135 } 136 137 div.bbp-reply-author { 138 float: left; 139 text-align: center; 140 } 141 142 div.bbp-reply-content { 143 margin-left: 140px; 144 text-align: left; 145 } 146 147 li.bbp-header div.bbp-reply-content span#subscription-toggle, 148 li.bbp-header div.bbp-reply-content span#favorite-toggle { 54 149 float: right; 55 150 } 56 151 57 /* =Tables 58 -------------------------------------------------------------- */ 59 60 #content table tbody tr.even td { 61 background-color: #fff; 62 } 63 #content table tbody tr.odd td { 64 background-color: #fbfbfb; 65 } 66 67 #content table tbody tr.status-trash.even td, 68 #content table tbody tr.status-spam.even td { 69 background-color: #fee; 70 } 71 #content table tbody tr.status-trash.odd td, 72 #content table tbody tr.status-spam.odd td { 73 background-color: #fdd; 74 } 75 76 #content table.bbp-topics tbody tr.status-closed td, 77 #content table.bbp-topics tbody tr.status-closed td a { 78 color: #ccc; 79 } 80 81 table.bbp-topic tbody tr td, 82 table.bbp-replies tbody tr td { 83 background-color: #fff; 84 } 85 86 table.bbp-forums th, table.bbp-topics th, 87 table.bbp-topic th, table.bbp-replies th { 88 background-color: #f3f3f3; 89 } 90 table.bbp-forums th span, table.bbp-topics th span, 91 table.bbp-topic th span, table.bbp-replies th span { 92 float: right; 93 } 94 #content th.bbp-topic-author, 95 #content th.bbp-reply-author { 96 text-align: center; 97 width: 120px; 98 } 99 #content th.bbp-topic-content, 100 #content th.bbp-reply-content { 101 text-align: left; 102 padding: 9px 10px 9px 15px; 103 } 104 #content table.bbp-forums tfoot td, #content table.bbp-topics tfoot td, 105 #content table.bbp-topic tfoot td, #content table.bbp-replies tfoot td, 106 #content table.bbp-replies tr.bbp-reply-header td, 107 #content table.bbp-topic tr.bbp-topic-header td { 108 background-color: #fafafa; 109 color: #888; 110 font-size: 12px; 111 font-weight: bold; 112 font-family: 'Helvetica Neue', Arial, Helvetica, 'Nimbus Sans L', sans-serif; 113 padding: 4px 10px; 152 li.bbp-body div.bbp-reply-author { 153 padding: 12px; 154 vertical-align: top; 155 } 156 157 li.bbp-body div.bbp-reply-content { 158 padding: 12px 12px 12px 0px; 159 vertical-align: top; 160 } 161 162 div.bbp-reply-header, 163 li.bbp-body div.hentry { 164 margin-bottom: 0px; 165 overflow: hidden; 166 padding: 8px; 167 } 168 169 div.bbp-reply-header { 170 border-top: 1px solid #cccccc; 171 border-bottom: 1px solid #eeeeee; 172 clear: both; 114 173 } 115 174 … … 121 180 } 122 181 123 #content .bbp-forum-info { 124 width: 55%; 125 text-align: left; 126 } 127 #content .bbp-forum-topic-count, 128 #content .bbp-forum-reply-count, 129 #content .bbp-topic-reply-count, 130 #content .bbp-topic-voice-count, 131 #content .bbp-topic-action { 132 width: 10%; 133 text-align: center; 134 padding: 6px 0px; 135 } 136 #content td.bbp-topic-author, 137 #content td.bbp-reply-author { 138 padding: 20px; 139 text-align: center; 140 vertical-align: top; 141 } 142 .bbp-topic-title { 143 width: 55%; 144 text-align: left; 145 } 146 .bbp-topic-freshness, 147 .bbp-forum-freshness { 148 text-align: center; 149 width: 25%; 150 } 151 152 #content tbody .bbp-topic-content, 153 #content tbody .bbp-reply-content { 154 vertical-align: top; 155 padding: 15px 10px 10px 15px; 156 overflow: auto; 157 } 158 159 #content .bbp-topic-content img, 160 #content .bbp-reply-content img { 161 max-width: 100%; 182 /* =Breadcrumb and Tags 183 -------------------------------------------------------------- */ 184 185 div.bbp-breadcrumb { 186 float: left; 187 } 188 189 div.bbp-breadcrumb, 190 div.bbp-topic-tags { 191 font-size: 12px; 192 } 193 194 #content div.bbp-breadcrumb p, 195 #content div.bbp-topic-tags p { 196 margin-bottom: 10px 197 } 198 199 div.bbp-topic-tags { 200 float: right; 162 201 } 163 202 … … 262 301 #content p.bbp-topic-meta span { 263 302 white-space: nowrap; 264 }265 266 /* =Forums267 -------------------------------------------------------------- */268 269 #content table tbody tr .bbp-forum-description p {270 margin-bottom: 0;271 font-size: 13px;272 font-style: italic;273 }274 #content table tbody tr ul.bbp-forums {275 list-style: none;276 font-size: 12px;277 margin: 0 0 0 10px;278 padding: 0 0 0 10px;279 border-left: 1px solid #aaa;280 }281 #content table tbody tr ul.bbp-forums li {282 display: inline;283 303 } 284 304 -
branches/plugin/bbp-themes/bbp-twentyten/single-reply.php
r3241 r3634 17 17 <?php do_action( 'bbp_template_notices' ); ?> 18 18 19 <?php while ( have_posts() ) : the_post();?>19 <?php if ( bbp_user_can_view_forum( array( 'forum_id' => bbp_get_reply_forum_id() ) ) ) : ?> 20 20 21 <div id="bbp-reply-wrapper-<?php bbp_reply_id(); ?>" class="bbp-reply-wrapper"> 22 <h1 class="entry-title"><?php bbp_reply_title(); ?></h1> 21 <?php while ( have_posts() ) : the_post(); ?> 23 22 24 <?php bbp_breadcrumb(); ?> 23 <div id="bbp-reply-wrapper-<?php bbp_reply_id(); ?>" class="bbp-reply-wrapper"> 24 <h1 class="entry-title"><?php bbp_reply_title(); ?></h1> 25 <div class="entry-content"> 25 26 26 <div class="entry-content">27 <?php bbp_get_template_part( 'bbpress/content', 'single-reply' ); ?> 27 28 28 <table class="bbp-replies" id="topic-<?php bbp_topic_id(); ?>-replies"> 29 <thead> 30 <tr> 31 <th class="bbp-reply-author"><?php _e( 'Author', 'bbpress' ); ?></th> 32 <th class="bbp-reply-content"><?php _e( 'Replies', 'bbpress' ); ?></th> 33 </tr> 34 </thead> 29 </div><!-- .entry-content --> 30 </div><!-- #bbp-reply-wrapper-<?php bbp_reply_id(); ?> --> 35 31 36 <tfoot> 37 <tr> 38 <td colspan="2"><?php bbp_topic_admin_links(); ?></td> 39 </tr> 40 </tfoot> 32 <?php endwhile; ?> 41 33 42 <tbody> 43 <tr class="bbp-reply-header"> 44 <td class="bbp-reply-author"> 34 <?php elseif ( bbp_is_forum_private( bbp_get_reply_forum_id(), false ) ) : ?> 45 35 46 <?php bbp_reply_author_display_name(); ?>36 <?php bbp_get_template_part( 'bbpress/feedback', 'no-access' ); ?> 47 37 48 </td> 49 <td class="bbp-reply-content"> 50 <a href="<?php bbp_reply_url(); ?>" title="<?php bbp_reply_title(); ?>">#</a> 51 52 <?php printf( __( 'Posted on %1$s at %2$s', 'bbpress' ), get_the_date(), esc_attr( get_the_time() ) ); ?> 53 54 <span><?php bbp_reply_admin_links(); ?></span> 55 </td> 56 </tr> 57 58 <tr id="reply-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>> 59 60 <td class="bbp-reply-author"><?php bbp_reply_author_link( array( 'type' => 'avatar' ) ); ?></td> 61 62 <td class="bbp-reply-content"> 63 64 <?php bbp_reply_content(); ?> 65 66 </td> 67 68 </tr><!-- #topic-<?php bbp_topic_id(); ?>-replies --> 69 </tbody> 70 </table> 71 72 </div><!-- .entry-content --> 73 </div><!-- #bbp-reply-wrapper-<?php bbp_reply_id(); ?> --> 74 75 <?php endwhile; ?> 38 <?php endif; ?> 76 39 77 40 </div><!-- #content --> -
branches/plugin/bbp-themes/bbp-twentyten/single-user-edit.php
r3311 r3634 18 18 <div class="entry-content"> 19 19 20 <?php bbp_get_template_part( 'bbpress/content', 'single-user-edit' ); ?>20 <?php bbp_get_template_part( 'bbpress/content', 'single-user-edit' ); ?> 21 21 22 22 </div><!-- .entry-content --> -
branches/plugin/bbp-themes/bbp-twentyten/taxonomy-topic-tag-edit.php
r3348 r3634 22 22 <div class="entry-content"> 23 23 24 <?php bbp_breadcrumb(); ?> 25 26 <?php bbp_topic_tag_description(); ?> 27 28 <?php do_action( 'bbp_template_before_topic_tag_edit' ); ?> 29 30 <?php bbp_get_template_part( 'bbpress/form', 'topic-tag' ); ?> 31 32 <?php do_action( 'bbp_template_after_topic_tag_edit' ); ?> 24 <?php bbp_get_template_part( 'bbpress/content', 'topic-tag-edit' ); ?> 33 25 34 26 </div> -
branches/plugin/bbp-themes/bbp-twentyten/taxonomy-topic-tag.php
r3348 r3634 19 19 <div id="topic-tag" class="bbp-topic-tag"> 20 20 <h1 class="entry-title"><?php printf( __( 'Topic Tag: %s', 'bbpress' ), '<span>' . bbp_get_topic_tag_name() . '</span>' ); ?></h1> 21 22 21 <div class="entry-content"> 23 22 24 <?php bbp_breadcrumb(); ?> 25 26 <?php bbp_topic_tag_description(); ?> 27 28 <?php do_action( 'bbp_template_before_topic_tag' ); ?> 29 30 <?php if ( bbp_has_topics() ) : ?> 31 32 <?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?> 33 34 <?php bbp_get_template_part( 'bbpress/loop', 'topics' ); ?> 35 36 <?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?> 37 38 <?php else : ?> 39 40 <?php bbp_get_template_part( 'bbpress/feedback', 'no-topics' ); ?> 41 42 <?php endif; ?> 43 44 <?php do_action( 'bbp_template_after_topic_tag' ); ?> 23 <?php bbp_get_template_part( 'bbpress/content', 'archive-topic' ); ?> 45 24 46 25 </div>
Note: See TracChangeset
for help on using the changeset viewer.