{* * 2007-2011 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 7920 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *}
{if $comments} {if $criterions|@count > 0}

{l s='Average grade' mod='productcomments'}

{l s='Average' mod='productcomments'}:
{section loop=6 step=1 start=1 name=average} {/section}
{foreach from=$criterions item=c}
{$c.name|escape:'html':'UTF-8'}
{section loop=6 step=1 start=1 name=average} {/section}
{/foreach}
{/if}
{foreach from=$comments item=comment} {if $comment.content} {/if} {/foreach}
{l s='From' mod='productcomments'} {l s='Title' mod='productcomments'} {l s='Comment' mod='productcomments'}
{dateFormat date=$comment.date_add|escape:'html':'UTF-8' full=0} {$comment.customer_name|escape:'html':'UTF-8'}. {$comment.title} {$comment.content|escape:'html':'UTF-8'|nl2br}
{else}

{l s='No customer comments for the moment.' mod='productcomments'}

{/if} {if $too_early == true}

{l s='You should wait' mod='productcomments'} {$delay} {l s='second(s) before posting a new comment' mod='productcomments'}

{elseif $cookie->isLogged() == true || $allow_guests == true}

{else}

{l s='Only registered users can post a new comment.' mod='productcomments'}

{/if}