// Fix bug and Smarty 3 standardize
This commit is contained in:
@@ -120,7 +120,7 @@ class SupplierControllerCore extends FrontController
|
|||||||
'pages_nb' => ceil($nbProducts / (int)$this->n),
|
'pages_nb' => ceil($nbProducts / (int)$this->n),
|
||||||
'nbSuppliers' => $nbProducts,
|
'nbSuppliers' => $nbProducts,
|
||||||
'mediumSize' => Image::getSize('medium'),
|
'mediumSize' => Image::getSize('medium'),
|
||||||
'suppliers' => $suppliers,
|
'suppliers_list' => $suppliers,
|
||||||
'add_prod_display' => Configuration::get('PS_ATTRIBUTE_CATEGORY_DISPLAY'),
|
'add_prod_display' => Configuration::get('PS_ATTRIBUTE_CATEGORY_DISPLAY'),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,11 +43,10 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</span>{/strip}
|
</span>{/strip}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{if $nbSuppliers > 0}
|
{if $nbSuppliers > 0}
|
||||||
<ul id="suppliers_list">
|
<ul id="suppliers_list">
|
||||||
{foreach from=$suppliers item=supplier name=suppliers}
|
{foreach $suppliers_list as $supplier}
|
||||||
<li class="clearfix {if $smarty.foreach.suppliers.first}first_item{elseif $smarty.foreach.suppliers.last}last_item{else}item{/if}">
|
<li class="clearfix {if $supplier@first}first_item{elseif $supplier@last}last_item{else}item{/if}">
|
||||||
<div class="left_side">
|
<div class="left_side">
|
||||||
<!-- logo -->
|
<!-- logo -->
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
|
|||||||
Reference in New Issue
Block a user