/bbpress/content-single-topic-lead.php

  1. <?php 
  2. /** 
  3. * Single Topic Lead Content Part 
  4. * 
  5. * @package bbPress 
  6. * @subpackage Theme 
  7. */ 
  8. do_action('bbp_template_before_lead_topic'); 
  9. ?> 
  10.  
  11. <ul id="bbp-topic-<?php bbp_topic_id(); ?>-lead" class="bbp-lead-topic"> 
  12.  
  13. <li class="bbp-header"> 
  14.  
  15. <div class="bbp-topic-author"><?php _e('Creator', 'evolve'); ?></div><!-- .bbp-topic-author --> 
  16.  
  17. <div class="bbp-topic-content"> 
  18.  
  19. <?php 
  20. _e('Topic', 'evolve'); 
  21.  
  22. bbp_user_subscribe_link(); 
  23.  
  24. bbp_user_favorites_link(); 
  25. ?> 
  26.  
  27. </div><!-- .bbp-topic-content --> 
  28.  
  29. </li><!-- .bbp-header --> 
  30.  
  31. <li class="bbp-body"> 
  32.  
  33. <div class="bbp-topic-header"> 
  34.  
  35. <div class="bbp-meta"> 
  36.  
  37. <span class="bbp-topic-post-date"><?php bbp_topic_post_date(); ?></span> 
  38.  
  39. <a href="<?php bbp_topic_permalink(); ?>" class="bbp-topic-permalink">#<?php bbp_topic_id(); ?></a> 
  40.  
  41. <?php 
  42. do_action('bbp_theme_before_topic_admin_links'); 
  43.  
  44. bbp_topic_admin_links(); 
  45.  
  46. do_action('bbp_theme_after_topic_admin_links'); 
  47. ?> 
  48.  
  49. </div><!-- .bbp-meta --> 
  50.  
  51. </div><!-- .bbp-topic-header --> 
  52.  
  53. <div id="post-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>> 
  54.  
  55. <div class="bbp-topic-author"> 
  56.  
  57. <?php 
  58. do_action('bbp_theme_before_topic_author_details'); 
  59.  
  60. bbp_topic_author_link(array('sep' => '<br />', 'show_role' => true)); 
  61.  
  62. if (bbp_is_user_keymaster()) : 
  63.  
  64. do_action('bbp_theme_before_topic_author_admin_details'); 
  65. ?> 
  66.  
  67. <div class="bbp-topic-ip"><?php bbp_author_ip(bbp_get_topic_id()); ?></div> 
  68.  
  69. <?php 
  70. do_action('bbp_theme_after_topic_author_admin_details'); 
  71.  
  72. endif; 
  73.  
  74. do_action('bbp_theme_after_topic_author_details'); 
  75. ?> 
  76.  
  77. </div><!-- .bbp-topic-author --> 
  78.  
  79. <div class="bbp-topic-content"> 
  80.  
  81. <?php 
  82. do_action('bbp_theme_before_topic_content'); 
  83.  
  84. bbp_topic_content(); 
  85.  
  86. do_action('bbp_theme_after_topic_content'); 
  87. ?> 
  88.  
  89. </div><!-- .bbp-topic-content --> 
  90.  
  91. </div><!-- #post-<?php bbp_topic_id(); ?> --> 
  92.  
  93. </li><!-- .bbp-body --> 
  94.  
  95. <li class="bbp-footer"> 
  96.  
  97. <div class="bbp-topic-author"><?php _e('Creator', 'evolve'); ?></div> 
  98.  
  99. <div class="bbp-topic-content"> 
  100.  
  101. <?php _e('Topic', 'evolve'); ?> 
  102.  
  103. </div><!-- .bbp-topic-content --> 
  104.  
  105. </li> 
  106.  
  107. </ul><!-- #bbp-topic-<?php bbp_topic_id(); ?>-lead --> 
  108.  
  109. <?php 
  110. do_action('bbp_template_after_lead_topic'); 
.