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

source: OpenPNE3/plugins/opDiaryPlugin/trunk/apps/mobile_frontend/modules/diary/templates/listFriendSuccess.php @ 10454

Last change on this file since 10454 was 10454, checked in by ogawa, 13 years ago

opDiaryPlugin: replaced op_diary_format_date to op_format_date

File size: 732 bytes
Line 
1<?php op_mobile_page_title(__('Diaries of Friends')) ?>
2<?php use_helper('opDiary'); ?>
3
4<?php if ($pager->getNbResults()): ?>
5
6<center>
7<?php echo pager_total($pager); ?>
8</center>
9<?php
10$list = array();
11foreach ($pager->getResults() as $diary)
12{
13  $list[] = sprintf("%s<br>%s (%s)",
14              op_format_date($diary->getCreatedAt(), 'XDateTime'),
15              link_to($diary->getTitleAndCount(false), 'diary_show', $diary),
16              $diary->getMember()->getName()
17            );
18}
19$options = array(
20  'border' => true,
21);
22op_include_list('diaryList', $list, $options);
23?>
24<?php echo pager_navigation($pager, 'diary/listFriend?page=%d', false) ?>
25
26<?php else: ?>
27
28<?php echo __('There are no diaries') ?>
29
30<?php endif; ?>
Note: See TracBrowser for help on using the repository browser.