Download: All ideas as HTML (ZIP) - All ideas as CSV - Vote log {if intval($smarty.request.phaseId)}for selected phase{/if}
Idea
Options
{foreach from=$posts item=cPost} {assign var='post_id' value=$cPost->data.post_id} {assign var='postCategory_id' value=$cPost->data.post_category} {assign var='postCategory' value=Category::$list.$postCategory_id} {assign var='categoryaccess' value=$postCategory->getAccess($smarty.request.phaseId)}
{if $cPost->data.post_title} {$cPost->data.post_title} {else} no title {/if}
{assign var='voteTotal' value=$cPost->joined.obj_postvotecount->data.postvotecount_votes} {if $categoryaccess->getData('votingScheme') eq 'updown' || !$categoryaccess->getData('votingScheme')} {$voteTotal|intval} {if $voteTotal ne 1 && $voteTotal ne -1}{"votes"|gettext}{else}{"vote"|gettext}{/if} {elseif $categoryaccess->getData('votingScheme') eq 'up'} {$voteTotal|intval} {if $voteTotal ne 1 && $voteTotal ne -1}{"votes"|gettext}{else}{"vote"|gettext}{/if} {elseif $categoryaccess->getData('votingScheme') eq 'stars'} {if $voteTotal eq 0} {"Not enough votes"|gettext} {else} {$voteTotal|round:2} {if $voteTotal ne 1 && $voteTotal ne -1}{"stars"|gettext}{else}{"star"|gettext}{/if} {/if} {elseif $categoryaccess->getData('votingScheme') eq 'pointsAward'} {$voteTotal} {else if $categoryaccess->getData('votingScheme') eq 'scorecard'} {if $category->isPhased()} {assign var=postScore value=Scorecard::getOverAllScore(Scorecard::getForPost($cPost, 'phase', $cPost->endphase))} {else} {assign var=postScore value=Scorecard::getOverAllScore(Scorecard::getForPost($cPost))} {/if} {$postScore} {/if}  
{assign var=replies value=intval($postResponseCounts[$cPost->data.post_id].commentCount)} {$replies}
{$cPost->data.post_created|relative_date}
{foreachelse}

There are no posts in this challenge.

{/foreach}
{include file=Template::get('pages.html') element="statCatPosts_{$category->data.category_id}"}