{* * 2007-2015 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 newersend_friend_form_content * 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-2015 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *}
{if (!$too_early AND ($is_logged OR $allow_guests))}

{if $comments} {l s='Make a review' mod='productcomments'} {else} {l s='Be the first to write your review' mod='productcomments'} {/if}


{/if} {if $comments} {foreach from=$comments item=comment} {if $comment.content}
{$comment.customer_name|escape:'html':'UTF-8'} {dateFormat date=$comment.date_add|escape:'html':'UTF-8' full=0}

{$comment.title}

{$comment.content|escape:'html':'UTF-8'|nl2br}

    {if $comment.total_advice > 0}
  • {l s='%1$d out of %2$d people found this review useful.' sprintf=[$comment.total_useful,$comment.total_advice] mod='productcomments'}
  • {/if} {if $is_logged} {if !$comment.customer_advice}
  • {l s='Was this comment useful to you?' mod='productcomments'}
  • {/if} {if !$comment.customer_report}
  • {l s='Report abuse' mod='productcomments'}
  • {/if} {/if}

{/if} {/foreach} {else}

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

{/if}
{strip} {addJsDef productcomments_controller_url=$productcomments_controller_url|@addcslashes:'\''} {addJsDef moderation_active=$moderation_active|boolval} {addJsDef productcomments_url_rewrite=$productcomments_url_rewriting_activated|boolval} {addJsDef secure_key=$secure_key} {addJsDefL name=confirm_report_message}{l s='Are you sure that you want to report this review?' mod='productcomments' js=1}{/addJsDefL} {addJsDefL name=productcomment_added}{l s='Your review has been added!' mod='productcomments' js=1}{/addJsDefL} {addJsDefL name=productcomment_added_moderation}{l s='Your review has been added and will be available once approved by a moderator.' mod='productcomments' js=1}{/addJsDefL} {addJsDefL name=productcomment_title}{l s='New Review' mod='productcomments' js=1}{/addJsDefL} {addJsDefL name=productcomment_ok}{l s='OK' mod='productcomments' js=1}{/addJsDefL} {/strip}