Mozilla/mozilla/webtools/addons/tpl/ratecomment.tpl
mozilla%colinogilvie.co.uk 3c1970c86a Ability to rate a comment. Currently, this uses GET requests - may be necessary to change it to a POST request to stop abuse of it at a later date
git-svn-id: svn://10.0.0.236/trunk@176875 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-30 19:29:14 +00:00

17 lines
726 B
Smarty
Executable File

{if $error}
<p>Unfortunately, there has been a problem with your submission. Please go back and try again</p>
{else}
<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>
<h3>Comment for {$addon->Name} Rated {if $rate}Sucessfully{else}Unsucessfully{/if}</h3>
{if $rate}
<p>You have successfully rated this comment</p>
{else}
<p>Unfortunately, there was an error rating this comment. If this problem persists, please contact the admins.</p>
{/if}
{/if}
<p><a href="./addon.php?id={$addon->ID}">Return to information about{$addon->Name}</a></p>