{* $Header: /cvsroot/bitweaver/_bit_boards/templates/list_posts.tpl,v 1.21 2010/02/02 22:02:21 spiderr Exp $ *} {strip}
{* not happy with this yet - xing *} {form action="$comments_return_url" class="mb-threading"} {* always go back to page 1 since changing any of these values repaginates and makes the current page number meaningless *}        {/form} {if $gBitSystem->isPackageActive( 'rss' )} {biticon iname="rss-16x16" ipackage=rss iexplain="Get RSS Feed"} {/if} {assign var=flip value=$thread->getFlipFlop()} {foreach from=$flip item=flip_s key=flip_name} {include file="bitpackage:boards/flipswitch.tpl"} {/foreach}

{$thread->getTitle()|escape}

{if $thread->getField('root_content_type_guid') != $smarty.const.BITBOARD_CONTENT_TYPE_GUID} {tr}Comment on{/tr} {$thread->getField('root_title')|default:$thread->getField('root_content_id')|escape} {/if}
{if !$topic_locked && $board->hasPostCommentsPermission()} {/if} {formfeedback hash=$formfeedback} {foreach item=comment from=$comments}
{assign var=thread_mInfo value=$thread->mInfo} {displaycomment comment=$comment template=$comment_template}
{foreachelse}

{tr}No posts found{/tr}

{/foreach} {if $post_comment_preview}

{tr}Preview{/tr}

{assign var=post_is_preview value=1} {displaycomment comment=$postComment template=$comment_template} {assign var=post_is_preview value=0}
{/if} {if !$topic_locked && $board->hasPostCommentsPermission()} {/if} {libertypagination ihash=$commentsPgnHash}
{if $gBitSystem->isFeatureActive('boards_post_anon_moderation') && ($smarty.request.post_comment_request || !empty($smarty.request.post_comment_submit)) && !$gBitUser->isRegistered()} {formfeedback warning="Your post will not be shown immediately it will have to be approved by a moderator"} {/if} {include file="bitpackage:liberty/comments_post_inc.tpl" post_title="Post" hide=1 preview_override=1} {include file="bitpackage:boards/legend_inc.tpl" posticons=1} {/strip}