20 lines
1.1 KiB
Smarty
20 lines
1.1 KiB
Smarty
<h2><strong>{$addon->Name}</strong> » Comments</h2>
|
|
<p class="first">
|
|
<strong><a href="./addon.php?id={$addon->ID}">{$addon->Name} {$addon->Version}</a></strong>,
|
|
by <a href="./author.php?id={$addon->UserID}">{$addon->UserName}</a>,
|
|
released on {$addon->VersionDateAdded|date_format}
|
|
</p>
|
|
|
|
<ul id="opinions">
|
|
{section name=comments loop=$addon->Comments max=10}
|
|
<li>
|
|
<h4>{$addon->Comments[comments].CommentTitle} ({$addon->Comments[comments].CommentVote} rating)</h4>
|
|
<p class="opinions-info">by {$addon->Comments[comments].CommentName}, {$addon->Comments[comments].CommentDate|date_format}<br>
|
|
{$addon->Comments[comments].helpful_yes} out of {$addon->Comments[comments].helpful_total} viewers found this comment helpful</p>
|
|
<p class="opinions-text">{$addon->Comments[comments].CommentNote}</p>
|
|
<p class="opinions-rating">Was this comment helpful? <a href="./ratecomment.php?aid={$addon->ID}&cid={$addon->Comments[comments].CommentID}&r=yes">Yes</a> | <a href="./ratecomment.php?aid={$addon->ID}&cid={$addon->Comments[comments].CommentID}&r=no">No</a></p>
|
|
</li>
|
|
{/section}
|
|
</ul>
|
|
|