<h1><?php echo $title; ?> </h1> <?php if (sfConfig::get('app_sfSimpleForumPlugin_allow_new_topic_outside_forum', true)) { ?> <ul class="forum_actions"> <li><?php echo link_to(__('New topic'), 'forums/createTopic'); ?> </li> </ul> <?php } ?> <?php include_partial('forums/figures', array('display_topic_link' => false, 'nb_topics' => $topics_pager->getNbResults(), 'topic_rule' => '', 'display_post_link' => true, 'nb_posts' => sfSimpleForumPostPeer::countForUser($user->getUserId()), 'post_rule' => 'forums/userLatestPosts?username='******'&project=' . $project->getSlug(), 'feed_rule' => 'forums/userLatestTopicsFeed?username='******'feed_title' => $feed_title)); ?> <?php include_partial('forums/topic_list', array('topics' => $topics_pager->getResults(), 'project' => $project, 'include_forum' => true)); ?> <?php echo pager_navigation($topics_pager, 'forums/userLatestTopics?username='******'&project=' . $project->getSlug()); ?> </div>