/** * This file is part of the OpenPNE package. * (c) OpenPNE Project (http://www.openpne.jp/) * * For the full copyright and license information, please view the LICENSE * file and the NOTICE file that were distributed with this source code. */ function op_bbs_link_to_show($bbs, $withName = true, $withIcon = true) { $html = ''; $html .= link_to(op_bbs_get_title_and_count($bbs), op_bbs_url_for_show($bbs)); if ($withName) { $html .= ' (' . $bbs->getMember()->getName() . ')'; } if ($withIcon) { $html .= op_bbs_image_icon($bbs); } return $html; }
</a></td> --> <th><?php echo __('%Nickname%'); ?> </th><td><?php echo $bbs->Member->name; ?> </td> </tr><tr> <th><?php echo __('Title'); ?> </th><td><?php echo op_bbs_get_title_and_count($bbs); echo op_bbs_image_icon($bbs); ?> </td> </tr><tr> <th><?php echo __('Body'); ?> </th><td><?php echo op_truncate(op_decoration($bbs->body, true), 36, '', 3); ?> </td> </tr><tr class="operation"> <th><?php echo __('Updated at'); ?> </th><td><span class="text"><?php