} ?> <?php include_component('diaryComment', 'list', array('diary' => $diary)); ?> <?php if ($sf_user->getMemberId()) { ?> <hr color="<?php echo $op_color["core_color_11"]; ?> "> <?php echo op_within_page_link(''); $options['title'] = __('Post a diary comment'); $options['url'] = url_for('diary_comment_create', $diary); $options['button'] = __('Save'); $options['isMultipart'] = true; op_include_form('formDiaryComment', $form, $options); ?> <?php if ('example.com' !== sfConfig::get('op_mail_domain')) { ?> [i:106]<?php echo op_mail_to('mail_diary_comment_create', array('id' => $diary->id), __('Post from E-mail')); ?> <br> <?php
<?php use_helper('opCommunityTopic'); $comment->state(Doctrine_RECORD::STATE_CLEAN); echo op_within_page_link(); ?> [<?php printf('%03d', $comment->getNumber()); ?> ]<?php echo op_format_date($comment->getCreatedAt(), 'MM/dd HH:mm'); if ($comment->isDeletable($sf_user->getMemberId())) { ?> [<?php echo link_to(__('Delete'), '@communityTopic_comment_delete_confirm?id=' . $comment->getId()); ?> ] <?php } ?> <br> <?php echo op_community_topic_link_to_member($comment->getMember()); ?> <br> <?php echo op_auto_link_text_for_mobile(nl2br($comment->getBody())); ?> <?php if (count($comment->getImages())) {