From d1e09d2a6fdd1cd4fa8697c618877b50293663a8 Mon Sep 17 00:00:00 2001
From: sThiebaut
Date: Mon, 5 Dec 2011 17:22:04 +0000
Subject: [PATCH] // maj
---
modules/blockcart/img/icon/delete.gif | Bin 103 -> 213 bytes
modules/blockcontact/blockcontact.css | 2 +-
.../blockcontactinfos/blockcontactinfos.css | 2 +-
modules/blocknewsletter/blocknewsletter.css | 6 +-
modules/blocknewsletter/blocknewsletter.tpl | 4 +-
modules/blockwishlist/blockwishlist-ajax.tpl | 2 +-
.../productcomments/productcomments-extra.tpl | 78 +++++++++---------
modules/productcomments/productcomments.css | 4 +-
modules/productcomments/productcomments.php | 1 +
modules/sendtoafriend/sendtoafriend.php | 1 +
10 files changed, 52 insertions(+), 48 deletions(-)
diff --git a/modules/blockcart/img/icon/delete.gif b/modules/blockcart/img/icon/delete.gif
index 348537e130264de1f39a9163b46e829a564b4499..6d186d193983f580cabf7efec6597a6905675718 100644
GIT binary patch
literal 213
zcmZ?wbhEHbx+N^}A1V=PjHy
zXP&C6s;8%yo4fmu-~TUNxnX2vq@bYi|NnmmB7ovg7DfgJVFn$LT9BO#tU(V{wAc&`~py_FKMaZ;bWTl*9tXdrFE7)&RJ*L#hA(
literal 103
zcmZ?wbhEHbWeG&|oaAH<-KIHDfQQMjPHk1yo0;pD{+Z-peR!*PvpCP%$DRxf)&S}mA1eR=
diff --git a/modules/blockcontact/blockcontact.css b/modules/blockcontact/blockcontact.css
index f9d7aaaef..978615d8a 100644
--- a/modules/blockcontact/blockcontact.css
+++ b/modules/blockcontact/blockcontact.css
@@ -1,7 +1,7 @@
/* block CONTACT ******************************************************************************* */
#contact_block .block_content {
padding:10px 0 15px 0;
- background: url(images/block_contact_bg.jpg) no-repeat left 50px transparent
+ background: url(images/block_contact_bg.jpg) no-repeat left bottom transparent
}
#contact_block p {
diff --git a/modules/blockcontactinfos/blockcontactinfos.css b/modules/blockcontactinfos/blockcontactinfos.css
index 989c0f8bd..7c552e889 100644
--- a/modules/blockcontactinfos/blockcontactinfos.css
+++ b/modules/blockcontactinfos/blockcontactinfos.css
@@ -1,6 +1,6 @@
#block_contact_infos {padding:15px 10px;}
#block_contact_infos li {
- padding:0;
+ padding:0 !important;
line-height: 20px;
}
#block_contact_infos li strong {
diff --git a/modules/blocknewsletter/blocknewsletter.css b/modules/blocknewsletter/blocknewsletter.css
index 04bed840f..7af9156b4 100644
--- a/modules/blocknewsletter/blocknewsletter.css
+++ b/modules/blocknewsletter/blocknewsletter.css
@@ -16,8 +16,8 @@
position: relative;
top: -1px;
padding:0 5px;
- height:21px;
- width:150px;
+ height:20px;
+ width:148px;
border:1px solid #ccc;
border-right:none;
-moz-border-radius-topleft: 3px;
@@ -32,6 +32,8 @@
*:first-child+html #newsletter_block_left input.inputNew {position:static;}/* hack ie 7 */
#newsletter_block_left input.button_mini {
+ postion:relative;
+ left:-2px;
height:23px;
width:24px;
border:0;
diff --git a/modules/blocknewsletter/blocknewsletter.tpl b/modules/blocknewsletter/blocknewsletter.tpl
index 259f6e56a..96e9c6b97 100644
--- a/modules/blocknewsletter/blocknewsletter.tpl
+++ b/modules/blocknewsletter/blocknewsletter.tpl
@@ -40,10 +40,10 @@
onfocus="javascript:if(this.value=='{l s='your e-mail' mod='blocknewsletter'}')this.value='';"
onblur="javascript:if(this.value=='')this.value='{l s='your e-mail' mod='blocknewsletter'}';"
class="inputNew" />
-
diff --git a/modules/blockwishlist/blockwishlist-ajax.tpl b/modules/blockwishlist/blockwishlist-ajax.tpl
index e372f5a71..37cdb3014 100644
--- a/modules/blockwishlist/blockwishlist-ajax.tpl
+++ b/modules/blockwishlist/blockwishlist-ajax.tpl
@@ -30,7 +30,7 @@
{$product.quantity|intval}x
{$product.name|truncate:13:'...'|escape:'htmlall':'UTF-8'}
-
+
{if isset($product.attributes_small)}
diff --git a/modules/productcomments/productcomments-extra.tpl b/modules/productcomments/productcomments-extra.tpl
index aa42b7e0e..d1e0d57d1 100644
--- a/modules/productcomments/productcomments-extra.tpl
+++ b/modules/productcomments/productcomments-extra.tpl
@@ -131,20 +131,21 @@
diff --git a/modules/productcomments/productcomments.css b/modules/productcomments/productcomments.css
index 3b25e4e8f..799745a8f 100644
--- a/modules/productcomments/productcomments.css
+++ b/modules/productcomments/productcomments.css
@@ -1,8 +1,6 @@
#product_comments_block_extra {
- padding:10px 0;
- padding:10px 0;
+ padding:10px 0 0 0;
border-top:1px solid #ccc;
- border-bottom:1px solid #ccc;
font-weight: bold;
font-size:12px;
line-height:18px
diff --git a/modules/productcomments/productcomments.php b/modules/productcomments/productcomments.php
index 26d2842bd..182f24b43 100644
--- a/modules/productcomments/productcomments.php
+++ b/modules/productcomments/productcomments.php
@@ -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((int)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'),
diff --git a/modules/sendtoafriend/sendtoafriend.php b/modules/sendtoafriend/sendtoafriend.php
index 2900c8c23..deba72fce 100644
--- a/modules/sendtoafriend/sendtoafriend.php
+++ b/modules/sendtoafriend/sendtoafriend.php
@@ -72,6 +72,7 @@ class sendToAFriend extends Module
Context::getContext()->smarty->assign(array(
'stf_id_product' => (int)Tools::getValue('id_product'),
+ 'stf_product' => new Product((int)Tools::getValue('id_product'), false, $this->context->language->id),
'stf_product_link' => $productLink,
'stf_product_cover' => (int)Tools::getValue('id_product').'-'.(int)$image['id_image'],
'stf_secure_key' => $this->secure_key,
{l s='Write your review' mod='productcomments'}
- {if $criterions|@count > 0} -{l s='Write your review' mod='productcomments'}
+ {if $criterions|@count > 0} ++ {section loop=$criterions name=i start=0 step=1} +-
{$criterions[i].name|escape:'html':'UTF-8'}:
@@ -156,32 +157,33 @@