[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-legacy/buddypress/members/single/notifications/ -> unread.php (source)

   1  <?php
   2  /**
   3   * BuddyPress - Members Unread Notifications
   4   *
   5   * @package BuddyPress
   6   * @subpackage bp-legacy
   7   * @version 3.0.0
   8   */
   9  
  10  ?>
  11  
  12  <?php if ( bp_has_notifications() ) : ?>
  13  
  14      <h2 class="bp-screen-reader-text"><?php
  15          /* translators: accessibility text */
  16          _e( 'Unread notifications', 'buddypress' );
  17      ?></h2>
  18  
  19      <div id="pag-top" class="pagination no-ajax">
  20          <div class="pag-count" id="notifications-count-top">
  21              <?php bp_notifications_pagination_count(); ?>
  22          </div>
  23  
  24          <div class="pagination-links" id="notifications-pag-top">
  25              <?php bp_notifications_pagination_links(); ?>
  26          </div>
  27      </div>
  28  
  29      <?php bp_get_template_part( 'members/single/notifications/notifications-loop' ); ?>
  30  
  31      <div id="pag-bottom" class="pagination no-ajax">
  32          <div class="pag-count" id="notifications-count-bottom">
  33              <?php bp_notifications_pagination_count(); ?>
  34          </div>
  35  
  36          <div class="pagination-links" id="notifications-pag-bottom">
  37              <?php bp_notifications_pagination_links(); ?>
  38          </div>
  39      </div>
  40  
  41  <?php else : ?>
  42  
  43      <?php bp_get_template_part( 'members/single/notifications/feedback-no-notifications' ); ?>
  44  
  45  <?php endif;


Generated: Sat Dec 14 01:01:40 2019 Cross-referenced by PHPXref 0.7.1