?> <?php Comment::avatar_post_reg($comment->user->avatar_post); ?> <div class="comment-avatar-container"> <?php echo avatar($comment->user, $comment->id); ?> </div> <?php } ?> </div> <div class="content"> <div class="body"> <?php echo format_inlines(format_text($comment->body, array('mode' => 'comment')), $comment->id); ?> <?php //echo $body ?> </div> <?php if (2 === 3) { //if not translated_from_languages.empty? then ?> <div class="body untranslated-body" style="display: none;"> <?php //echo comment.get_formatted_body ?> </div> <?php
echo h($post->title); ?> </h6> <?php } else { ?> <h6 class="response-title"><?php echo h($post->title); ?> </h6> <?php } ?> <div class="body"> <?php echo format_inlines(format_text($post->body), $post->id); ?> </div> <?php if (empty($preview)) { ?> <div class="post-footer" style="clear: left;"> <ul class="flat-list pipe-list"> <?php if (User::$current->has_permission($post, 'creator_id')) { ?> <li> <?php echo link_to("Edit", array("#edit", 'id' => $post->id)); ?> </li> <li> <a href="/forum/destroy/<?php