[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-forums/bbpress/bb-templates/kakumei/ -> forum.php (source)

   1  <?php bb_get_header(); ?>
   2  
   3  <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a><?php bb_forum_bread_crumb(); ?></div>
   4  
   5  <?php if ( $topics || $stickies ) : ?>
   6  
   7  <table id="latest" role="main">
   8  <tr>
   9      <th><?php _e('Topic'); ?> &#8212; <?php bb_new_topic_link(); ?></th>
  10      <th><?php _e('Posts'); ?></th>
  11      <!-- <th><?php _e('Voices'); ?></th> -->
  12      <th><?php _e('Last Poster'); ?></th>
  13      <th><?php _e('Freshness'); ?></th>
  14  </tr>
  15  
  16  <?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>
  17  <tr<?php topic_class(); ?>>
  18      <td><?php bb_topic_labels(); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big><?php topic_page_links(); ?></td>
  19      <td class="num"><?php topic_posts(); ?></td>
  20      <!-- <td class="num"><?php bb_topic_voices(); ?></td> -->
  21      <td class="num"><?php topic_last_poster(); ?></td>
  22      <td class="num"><a href="<?php topic_last_post_link(); ?>" title="<?php topic_time(array('format'=>'datetime')); ?>"><?php topic_time(); ?></a></td>
  23  </tr>
  24  <?php endforeach; endif; ?>
  25  
  26  <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
  27  <tr<?php topic_class(); ?>>
  28      <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a><?php topic_page_links(); ?></td>
  29      <td class="num"><?php topic_posts(); ?></td>
  30      <!-- <td class="num"><?php bb_topic_voices(); ?></td> -->
  31      <td class="num"><?php topic_last_poster(); ?></td>
  32      <td class="num"><a href="<?php topic_last_post_link(); ?>" title="<?php topic_time(array('format'=>'datetime')); ?>"><?php topic_time(); ?></a></td>
  33  </tr>
  34  <?php endforeach; endif; ?>
  35  </table>
  36  <p class="rss-link"><a href="<?php bb_forum_posts_rss_link(); ?>" class="rss-link"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for this forum'); ?></a></p>
  37  <?php forum_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>
  38  <?php endif; ?>
  39  
  40  <?php if ( bb_forums( $forum_id ) ) : ?>
  41  <h2><?php _e('Subforums'); ?></h2>
  42  <table id="forumlist">
  43  
  44  <tr>
  45      <th><?php _e('Main Theme'); ?></th>
  46      <th><?php _e('Topics'); ?></th>
  47      <th><?php _e('Posts'); ?></th>
  48  </tr>
  49  
  50  <?php while ( bb_forum() ) : ?>
  51  <?php if (bb_get_forum_is_category()) : ?>
  52  <tr<?php bb_forum_class('bb-category'); ?>>
  53      <td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> &#8211; ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
  54  </tr>
  55  <?php continue; endif; ?>
  56  <tr<?php bb_forum_class(); ?>>
  57      <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> &#8211; ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
  58      <td class="num"><?php forum_topics(); ?></td>
  59      <td class="num"><?php forum_posts(); ?></td>
  60  </tr>
  61  <?php endwhile; ?>
  62  </table>
  63  <?php endif; ?>
  64  
  65  <?php post_form(); ?>
  66  
  67  <?php bb_get_footer(); ?>


Generated: Thu Dec 7 01:01:35 2017 Cross-referenced by PHPXref 0.7.1