Guest User

Untitled

a guest
May 20th, 2010
250
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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>
RAW Paste Data