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

source: OpenPNE3/plugins/opDiaryPlugin/trunk/apps/mobile_frontend/modules/diary/templates/_memberDiaryList.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: 605 bytes
Line 
1<?php use_helper('opDiary') ?>
2
3<?php if (count($diaryList)): ?>
4<?php
5$list = array();
6foreach ($diaryList as $diary)
7{
8  $list[] = sprintf('[%s] %s',
9              op_format_date($diary->getCreatedAt(), 'XShortDate'),
10              link_to(op_diary_get_title_and_count($diary, false, 28), 'diary_show', $diary)
11            );
12}
13$moreInfo = array();
14$moreInfo[] = link_to(__('More'), 'diary/listMember?id='.$memberId);
15$options = array(
16  'title'  => __('Recently Posted Diaries'),
17  'border' => true,
18  'moreInfo' => $moreInfo,
19);
20op_include_list('memberDiaryList', $list, $options);
21?>
22<?php endif; ?>
Note: See TracBrowser for help on using the repository browser.