Changeset 22
- Timestamp:
- 12/28/2004 10:22:54 PM (18 years ago)
- Location:
- trunk/bb-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/default-filters.php
r20 r22 9 9 bb_add_filter('pre_topic_title', 'bb_specialchars'); 10 10 bb_add_filter('get_forum_name', 'bb_specialchars'); 11 bb_add_filter('topic_title', 'topic_noreply'); 11 12 12 13 bb_add_filter('pre_post', 'trim'); -
trunk/bb-includes/template-functions.php
r21 r22 196 196 197 197 function topic_posts() { 198 global $topic; 199 echo bb_apply_filters('topic_posts', $topic->topic_posts); 198 echo bb_apply_filters('topic_posts', get_topic_posts() ); 199 } 200 201 function get_topic_posts() { 202 global $topic; 203 return bb_apply_filters('get_topic_posts', $topic->topic_posts); 204 } 205 206 function topic_noreply( $title ) { 207 if ( 1 == get_topic_posts() ) 208 $title = "<strong>$title</strong>"; 209 return $title; 200 210 } 201 211
Note: See TracChangeset
for help on using the changeset viewer.