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

Changeset 9935


Ignore:
Timestamp:
Jan 6, 2009, 12:16:03 AM (11 years ago)
Author:
ogawa
Message:

#3209:removed unused comment from a template

File:
1 edited

Legend:

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

    r9934 r9935  
    1515(<?php echo $diary->getPublicFlagLabel() ?>)<br>
    1616
    17 <?php /*
    18 <?php if ($pager->getNbResults()): ?>
    19 <hr>
    20 <center>
    21 <?php echo __('Comments') ?><br>
    22 <?php echo pager_total($pager); ?><br>
    23 </center>
    24 
    25 <?php $comments = $pager->getResults(); ?>
    26 <?php foreach ($comments as $comment): ?>
    27 <hr>
    28 ▼[<?php printf('%03d', $comment->getNumber()) ?>]<?php echo op_diary_format_date($comment->getCreatedAt(), 'XDateTime') ?>
    29 <?php if ($diary->getMemberId() === $sf_user->getMemberId() || $comment->getMemberId() === $sf_user->getMemberId()): ?>
    30 [<?php echo link_to(__('Delete'), 'diary_comment_delete_confirm', $comment) ?>]
    31 <?php endif; ?><br>
    32 <?php echo link_to($comment->getMember()->getName(), 'member/show?id='.$comment->getMemberId()) ?><br>
    33 <?php echo nl2br($comment->getBody()) ?><br>
    34 <?php foreach ($comment->getDiaryCommentImages() as $image): ?>
    35 <?php echo link_to(__('View Image'), sf_image_path($image->getFile(), array('size' => '240x320', 'f' => 'jpg'))) ?><br>
    36 <?php endforeach; ?>
    37 <?php endforeach; ?>
    38 
    39 <?php echo pager_navigation($pager, '@diary_show?page=%d&id='.$diary->getId(), false) ?>
    40 <?php endif; ?>
    41 */ ?>
    42 
    4317<?php include_component('diaryComment', 'list', array('diary' => $diary)) ?>
    4418
Note: See TracChangeset for help on using the changeset viewer.