Changeset 1770 for trunk/bp-groups/bp-groups-templatetags.php
- Timestamp:
- 09/02/2009 11:59:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-templatetags.php
r1760 r1770 1874 1874 } 1875 1875 1876 $this->pag_links = paginate_links( array( 1877 'base' => add_query_arg( 'gpage', '%#%' ), 1878 'format' => '', 1879 'total' => ceil( (int) $this->total_group_count / (int) $this->pag_num ), 1880 'current' => (int) $this->pag_page, 1881 'prev_text' => '«', 1882 'next_text' => '»', 1883 'mid_size' => 1 1884 )); 1876 if ( (int) $this->total_group_count && (int) $this->pag_num ) { 1877 $this->pag_links = paginate_links( array( 1878 'base' => add_query_arg( 'gpage', '%#%' ), 1879 'format' => '', 1880 'total' => ceil( (int) $this->total_group_count / (int) $this->pag_num ), 1881 'current' => (int) $this->pag_page, 1882 'prev_text' => '«', 1883 'next_text' => '»', 1884 'mid_size' => 1 1885 )); 1886 } 1885 1887 } 1886 1888
Note: See TracChangeset
for help on using the changeset viewer.