ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE3/plugins/opCommunityTopicPlugin/trunk/apps/pc_frontend/modules/communityTopic/templates/listCommunitySuccess.php @ 10384

Last change on this file since 10384 was 10384, checked in by ogawa, 11 years ago

opCommunityTopicPlugin: merged renewal branch

File size: 1.2 KB
Line 
1<?php use_helper('Date'); ?>
2
3<?php
4$title = 'トピックを作成する';
5$body = link_to('新規作成', 'communityTopic_new', $community);
6include_box('communityTopicList', $title, $body);
7?>
8
9<div class="dparts topicList"><div class="parts">
10<div class="partsHeading">
11<h3><?php echo 'トピック一覧'; ?></h3>
12</div>
13
14<div class="pagerRelative"><p class="number"><?php echo pager_navigation($pager, '@communityTopic_list_community?page=%d&id='.$community->getId()) ?></p></div>
15
16<table><tbody>
17<?php foreach ($pager->getResults() as $topic): ?>
18<tr>
19<th rowspan=2><?php echo format_datetime($topic->getUpdatedAt(), 'f') ?></th>
20<td><?php echo link_to($topic->getName(), 'communityTopic_show', $topic) ?></td>
21</tr>
22<tr>
23<td class="border-left align-right">
24<?php
25echo link_to('編集', 'communityTopic/edit?id='.$topic->getId());
26echo ' | ';
27echo link_to('もっと見る'.'('.$topic->countCommunityTopicComments().')', 'communityTopic_show', $topic);
28?></td>
29</tr>
30<?php endforeach; ?>
31</tbody>
32</table>
33
34<div class="pagerRelative"><p class="number"><?php echo pager_navigation($pager, '@communityTopic_list_community?page=%d&id='.$community->getId()) ?></p></div>
35
36</div>
37</div>
Note: See TracBrowser for help on using the repository browser.