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

Changeset 10217


Ignore:
Timestamp:
Jan 18, 2009, 11:19:26 PM (11 years ago)
Author:
maki
Message:

#3406 message_body add auto_link_text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/plugins/opMessagePlugin/trunk/apps/pc_frontend/modules/message/templates/showSuccess.php

    r10060 r10217  
    1 <?php use_helper('Date'); ?>
     1<?php use_helper('Date', 'Text'); ?>
    22<?php include_partial('message/sidemenu', array('list_type' => $sf_request->getParameter('type'))) ?>
    33<div class="dparts messageDetailBox">
     
    5252<?php endforeach; ?>
    5353<?php endif; ?>
    54 <p class="text"><?php echo nl2br($message->getBody()) ?></p>
     54<p class="text">
     55<?php echo auto_link_text(nl2br($message->getBody()), 'urls', array('target' => '_blank'), true, 57) ?>
     56</p>
    5557</div>
    5658
Note: See TracChangeset for help on using the changeset viewer.