[+] Project : default theme added

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10862 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-12-02 15:24:40 +00:00
parent 43654ffba1
commit 9cc30dc3fe
431 changed files with 21629 additions and 1679 deletions
+3 -3
View File
@@ -37,7 +37,7 @@ class BlockSpecials extends Module
{
$this->name = 'blockspecials';
$this->tab = 'pricing_promotion';
$this->version = '0.8';
$this->version = 0.8;
$this->author = 'PrestaShop';
$this->need_instance = 0;
@@ -90,8 +90,8 @@ class BlockSpecials extends Module
if (!$special = Product::getRandomSpecial((int)$params['cookie']->id_lang) AND !Configuration::get('PS_BLOCK_SPECIALS_DISPLAY'))
return;
$this->templateAssign(array(
'special' => $special,
$this->context->smarty->assign(array(
'blockspecials_special' => $special,
'priceWithoutReduction_tax_excl' => Tools::ps_round($special['price_without_reduction'], 2),
'mediumSize' => Image::getSize('medium'),
));