Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 20th, 2010  |  syntax: PHP  |  size: 0.43 KB  |  hits: 172  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.                 <div id="topic-tags">
  2.                         <p><?php _e('Topic tags:'); ?></p>
  3.  
  4.                         <?php
  5.                                 $topic_id = bp_get_the_topic_id();
  6.                                 $topic = get_topic( get_topic_id( $topic_id ) );
  7.                         ?>
  8.  
  9.                         <?php if ( bb_get_topic_tags( $topic_id ) ) : ?>
  10.  
  11.                                 <?php bb_list_tags( array( 'topic' => $topic ) ); ?>
  12.  
  13.                         <?php else : ?>
  14.  
  15.                                 <p><?php printf(__('No <a href="%s">tags</a> yet.'), bb_get_tag_page_link() ); ?></p>
  16.  
  17.                         <?php endif; ?>
  18.  
  19.                 </div>