<commit_before><?php use_helper('I18N', 'sfSimpleForum') ?>

<?php if (sfConfig::get('app_sfSimpleForum_include_breadcrumb', true)): ?>
<?php slot('forum_navigation') ?>
  <?php echo forum_breadcrumb(array(
    sfConfig::get('app_sfSimpleForumPlugin_forum_name', 'Forums')
  )) ?>
<?php end_slot() ?>
<?php endif; ?> 

<div class="sfSimpleForum">
  
  <h1><?php echo __(sfConfig::get('app_sfSimpleForumPlugin_forum_name', 'Forums')) ?></h1>
  
  <?php if (sfConfig::get('app_sfSimpleForumPlugin_allow_new_topic_outside_forum', true)): ?>
  <ul class="forum_actions">
    <li><?php echo link_to(__('New topic'), 'sfSimpleForum/createTopic') ?></li>
  </ul>    
  <?php endif; ?>
  
  <?php include_partial('sfSimpleForum/figures', array(
    'display_topic_link'  => true,
    'nb_topics'           => $nb_topics,
    'topic_rule'          => 'sfSimpleForum/latestTopics',
    'display_post_link'   => true,
    'nb_posts'            => $nb_posts,
    'post_rule'           => 'sfSimpleForum/latestPosts',
    'feed_rule'           => 'sfSimpleForum/latestPostsFeed',
    'feed_title'          => $feed_title
  )) ?>
  
  <?php $category = '' ?>
  <table id="fora">
    <tr>
      <th class="forum_name"><?php echo __('Forum') ?></td>
      <th class="forum_threads"><?php echo __('Topics') ?></td>
      <th class="forum_posts"><?php echo __('Messages') ?></td>
      <th class="forum_recent"><?php echo __('Last Message') ?></td>
    </tr>
    <?php foreach ($forums as $forum): ?>
      <?php $new_category = $forum->getsfSimpleForumCategory()->getName() ?>
      <?php if ($new_category != $category && sfConfig::get('app_sfSimpleForumPlugin_display_categories', true)): $category = $new_category ?>
        <tr class="category">
          <td class="category_header" colspan="4"><?php echo $category ?></td>
        </tr>        <commit_msg>sfSimpleForumPlugin: properly close <th> tags in the forumListSuccess.php template.<commit_after><?php use_helper('I18N', 'sfSimpleForum') ?>

<?php if (sfConfig::get('app_sfSimpleForum_include_breadcrumb', true)): ?>
<?php slot('forum_navigation') ?>
  <?php echo forum_breadcrumb(array(
    sfConfig::get('app_sfSimpleForumPlugin_forum_name', 'Forums')
  )) ?>
<?php end_slot() ?>
<?php endif; ?> 

<div class="sfSimpleForum">
  
  <h1><?php echo __(sfConfig::get('app_sfSimpleForumPlugin_forum_name', 'Forums')) ?></h1>
  
  <?php if (sfConfig::get('app_sfSimpleForumPlugin_allow_new_topic_outside_forum', true)): ?>
  <ul class="forum_actions">
    <li><?php echo link_to(__('New topic'), 'sfSimpleForum/createTopic') ?></li>
  </ul>    
  <?php endif; ?>
  
  <?php include_partial('sfSimpleForum/figures', array(
    'display_topic_link'  => true,
    'nb_topics'           => $nb_topics,
    'topic_rule'          => 'sfSimpleForum/latestTopics',
    'display_post_link'   => true,
    'nb_posts'            => $nb_posts,
    'post_rule'           => 'sfSimpleForum/latestPosts',
    'feed_rule'           => 'sfSimpleForum/latestPostsFeed',
    'feed_title'          => $feed_title
  )) ?>
  
  <?php $category = '' ?>
  <table id="fora">
    <tr>
      <th class="forum_name"><?php echo __('Forum') ?></th>
      <th class="forum_threads"><?php echo __('Topics') ?></th>
      <th class="forum_posts"><?php echo __('Messages') ?></th>
      <th class="forum_recent"><?php echo __('Last Message') ?></th>
    </tr>
    <?php foreach ($forums as $forum): ?>
      <?php $new_category = $forum->getsfSimpleForumCategory()->getName() ?>
      <?php if ($new_category != $category && sfConfig::get('app_sfSimpleForumPlugin_display_categories', true)): $category = $new_category ?>
        <tr class="category">
          <td class="category_header" colspan="4"><?php echo $category ?></td>
        </tr>        
{'fraction_non_alphanumeric': 0.188031914893617, 'fraction_numerical': 0.0026595744680851063, 'mean_word_length': 3.8654592496765847, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 0, '>': 108, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '671645', 'n_tokens_mistral': 1288, 'n_tokens_neox': 1281, 'n_words': 230}