Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/29/2010 12:17:07 AM (16 years ago)
Author:
johnjamesjacoby
Message:

Normalize loop template files. Add bottom pagination. Fixes #2472. Props sorich87.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-themes/bp-default/forums/forums-loop.php

    r3111 r3222  
     1<?php /* Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_object_filter() */ ?>
     2
     3<?php do_action( 'bp_before_forums_loop' ) ?>
     4
    15<?php if ( bp_has_forum_topics( bp_ajax_querystring( 'forums' ) ) ) : ?>
    26
    3         <div class="pagination">
     7        <div id="pag-top" class="pagination">
    48
    5                 <div id="post-count" class="pag-count">
     9                <div class="pag-count" id="topic-count-top">
    610                        <?php bp_forum_pagination_count() ?>
    711                </div>
    812
    9                 <div class="pagination-links" id="topic-pag">
     13                <div class="pagination-links" id="topic-pag-top">
    1014                        <?php bp_forum_pagination() ?>
    1115                </div>
    … …  
    7478        <?php do_action( 'bp_after_directory_forums_list' ) ?>
    7579
     80        <div id="pag-bottom" class="pagination">
     81
     82                <div class="pag-count" id="topic-count-bottom">
     83                        <?php bp_forum_pagination_count() ?>
     84                </div>
     85
     86                <div class="pagination-links" id="topic-pag-bottom">
     87                        <?php bp_forum_pagination() ?>
     88                </div>
     89
     90        </div>
     91
    7692<?php else: ?>
    7793
    … …  
    8197
    8298<?php endif;?>
     99
     100<?php do_action( 'bp_after_forums_loop' ) ?>
Note: See TracChangeset for help on using the changeset viewer.