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

source: OpenPNE3/plugins/opDiaryPlugin/trunk/apps/pc_frontend/modules/diary/templates/listFriendSuccess.php @ 10513

Last change on this file since 10513 was 10513, checked in by ebihara, 13 years ago

added support for truncate titles of the opDiaryPlugin

File size: 1012 bytes
Line 
1<?php use_helper('opDiary'); ?>
2
3<?php $title = __('Diaries of Friends') ?>
4<?php if ($pager->getNbResults()): ?>
5<div class="dparts recentList"><div class="parts">
6<div class="partsHeading"><h3><?php echo $title ?></h3></div>
7<div class="pagerRelative"><p class="number"><?php echo pager_navigation($pager, 'diary/list?page=%d'); ?></p></div>
8<?php foreach ($pager->getResults() as $diary): ?>
9<dl>
10<dt><?php echo op_format_date($diary->getCreatedAt(), 'XDateTimeJa') ?></dt>
11<dd><?php echo link_to(op_diary_get_title_and_count($diary), 'diary_show', $diary) ?> (<?php echo $diary->getMember()->getName() ?>)<?php if ($diary->hasImages()) : ?> <?php echo image_tag('icon_camera.gif', array('alt' => 'photo')) ?><?php endif; ?></dd>
12</dl>
13<?php endforeach; ?>
14<div class="pagerRelative"><p class="number"><?php echo pager_navigation($pager, 'diary/list?page=%d'); ?></p></div>
15</div></div>
16<?php else: ?>
17<?php op_include_box('diaryList', __('There are no diaries'), array('title' => $title)) ?>
18<?php endif; ?>
Note: See TracBrowser for help on using the repository browser.