[+] Project : default theme added

This commit is contained in:
mMarinetti
2011-12-02 15:24:40 +00:00
parent a2be24ee90
commit 7320307212
431 changed files with 21629 additions and 1679 deletions
+1 -2
View File
@@ -705,6 +705,7 @@ class ProductComments extends Module
Context::getContext()->smarty->assign(array(
'id_product_comment_form' => (int)Tools::getValue('id_product'),
'product' => new Product(Tools::getValue('id_product'), false, Context::getContext()->language->id),
'secure_key' => $this->secure_key,
'logged' => (int)Context::getContext()->customer->isLogged(true),
'allow_guests' => (int)Configuration::get('PRODUCT_COMMENTS_ALLOW_GUESTS'),
@@ -760,8 +761,6 @@ class ProductComments extends Module
'nbComments' => (int)ProductComment::getCommentNumber((int)Tools::getValue('id_product'))
));
return ($this->display(__FILE__, '/productcomments.tpl'));
}