{* $Id$ *}
{if $thread_style != 'commentStyle_headers'} {if $forum_info.ui_avatar eq 'y' and isset($comment.userName) and $comment.userName|avatarize} {$comment.userName|avatarize} {/if} {/if} {if $thread_style != 'commentStyle_headers'} {if $forum_info.ui_posts eq 'y' and $comment.user_posts} {tr}posts:{/tr} {$comment.user_posts} {/if} {if $forum_info.ui_level eq 'y' and $comment.user_level} {for $levelstars=1 to $comment.user_level} {/for} {/if} {if isset($comment.userName) and not empty($comment.user_exists)} {if $prefs.feature_messages eq 'y' and $tiki_p_messages eq 'y'} {icon name='user' alt="{tr}private message{/tr}"} {/if} {if $forum_info.ui_email eq 'y' and strlen($comment.user_email) > 0 and $display eq ''} {icon name='envelope'} {/if} {if $forum_info.ui_online eq 'y'} {if $comment.user_online eq 'y'} {icon name='ok' class="tips" title=":{tr}User online{/tr}"} {elseif $comment.user_online eq 'n'} {icon name='ban' class="tips" title=":{tr}User offline{/tr}"} {/if} {/if} {if $forum_info.ui_flag eq 'y' and $comment.userName|countryflag} {$comment.userName|countryflag} {/if} {/if} {/if}
{if $thread_style != 'commentStyle_headers'} {$comment.parsed} {* *} {/if}
{if $thread_style != 'commentStyle_headers' and isset($comment.attachments) and count($comment.attachments) > 0}
{section name=ix loop=$comment.attachments} {icon name='attach' alt="{tr}Attachment{/tr}"} {$comment.attachments[ix].filename} ({$comment.attachments[ix].filesize|kbsize}) {if $tiki_p_admin_forum eq 'y'} {icon name='remove' alt="{tr}Remove attachment{/tr}"} {/if}
{/section}
{/if} {if !empty($comment.deliberations) and $tiki_p_forum_vote eq 'y' and $comment.type eq 'd'}
{tr}Deliberation Items{/tr}
{foreach from=$comment.deliberations item=deliberation}
{$deliberation.data}
{rating type="comment" id=$deliberation.threadId}
{if $tiki_p_ratings_view_results eq 'y' or $tiki_p_admin eq 'y'} {rating_result type="comment" id=$deliberation.threadId} {/if}
{/foreach} {jq} var crf = $('form.forumDeliberationRatingForm').submit(function() { var vals = $(this).serialize(); $.tikiModal(tr('Loading...')); $.get('tiki-ajax_services.php?controller=rating&action=vote&' + vals, function() { $.tikiModal(); $.notify(tr('Thanks for deliberating!')); if ($('div.ratingDeliberationResultTable').length) document.location = document.location + ''; }); return false; }); {/jq}
{/if}