// Blocklayered: fix SEO problem + Adding nofollow option on the header

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13643 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-02-27 16:37:23 +00:00
parent 9b0b2c4aa3
commit 8681c6cf24
4 changed files with 85 additions and 26 deletions
+8 -6
View File
@@ -455,12 +455,14 @@ function getUrlParams()
function updateProductUrl()
{
// Adding the filters to URL product
$.each($('ul#product_list li.ajax_block_product .product_img_link,'+
'ul#product_list li.ajax_block_product h3 a,'+
'ul#product_list li.ajax_block_product .product_desc a,'+
'ul#product_list li.ajax_block_product .lnk_view'), function() {
$(this).attr('href', $(this).attr('href') + param_product_url);
});
if (typeof(param_product_url) != 'undefined') {
$.each($('ul#product_list li.ajax_block_product .product_img_link,'+
'ul#product_list li.ajax_block_product h3 a,'+
'ul#product_list li.ajax_block_product .product_desc a,'+
'ul#product_list li.ajax_block_product .lnk_view'), function() {
$(this).attr('href', $(this).attr('href') + param_product_url);
});
}
}
/**
* Copy of the php function utf8_decode()