Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/18/2009 10:36:02 AM (16 years ago)
Author:
apeatling
Message:

More number formatting changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-templatetags.php

    r2198 r2199  
    644644    $from_num = number_format( intval( ( $forum_template->pag_page - 1 ) * $forum_template->pag_num ) + 1 );
    645645    $to_num = number_format( ( $from_num + ( $forum_template->pag_num - 1  ) > $forum_template->total_topic_count ) ? $forum_template->total_topic_count : $from_num + ( $forum_template->pag_num - 1 ) );
    646 
    647     echo apply_filters( 'bp_forum_pagination_count', sprintf( __( 'Viewing topic %d to %d (%d total topics)', 'buddypress' ), $from_num, $to_num, $forum_template->total_topic_count ) );
     646    $total = number_format( $forum_template->total_topic_count );
     647
     648    echo apply_filters( 'bp_forum_pagination_count', sprintf( __( 'Viewing topic %s to %s (%s total topics)', 'buddypress' ), $from_num, $to_num, $total ) );
    648649?>
    649650<span class="ajax-loader"></span>
Note: See TracChangeset for help on using the changeset viewer.