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

Changeset 10101


Ignore:
Timestamp:
Jan 11, 2009, 10:00:20 PM (11 years ago)
Author:
ogawa
Message:

#3422:fixed diary list of all to show member names

Location:
OpenPNE3/plugins/opDiaryPlugin/trunk/apps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/plugins/opDiaryPlugin/trunk/apps/mobile_frontend/modules/diary/templates/_diaryList.php

    r10073 r10101  
    66foreach ($diaryList as $diary)
    77{
    8   $list[] = sprintf('[%s] %s',
     8  $list[] = sprintf("[%s] %s<br>%s",
    99              op_diary_format_date($diary->getCreatedAt(), 'XShortDate'),
     10              $diary->getMember()->getName(),
    1011              link_to($diary->getTitleAndCount(false), 'diary_show', $diary)
    1112            );
  • OpenPNE3/plugins/opDiaryPlugin/trunk/apps/pc_frontend/modules/diary/templates/_diaryList.php

    r10100 r10101  
    77<ul>
    88<?php foreach ($diaryList as $diary): ?>
    9 <li><?php echo op_diary_format_date($diary->getCreatedAt(), 'XShortDateJa') ?> <?php echo link_to($diary->getTitleAndCount(), 'diary_show', $diary) ?><?php if ($diary->hasDiaryImages()) : ?> <?php echo image_tag('icon_camera.gif', array('alt' => 'photo')) ?><?php endif; ?></li>
     9<li><?php echo op_diary_format_date($diary->getCreatedAt(), 'XShortDateJa') ?> <?php echo link_to($diary->getTitleAndCount(), 'diary_show', $diary) ?> (<?php echo $diary->getMember()->getName() ?>)<?php if ($diary->hasDiaryImages()) : ?> <?php echo image_tag('icon_camera.gif', array('alt' => 'photo')) ?><?php endif; ?></li>
    1010<?php endforeach; ?>
    1111</ul>
Note: See TracChangeset for help on using the changeset viewer.