// Normalization

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9321 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2011-10-13 15:27:41 +00:00
parent 7d7d3bfdd4
commit da6641ca10
2 changed files with 11 additions and 11 deletions
+10 -10
View File
@@ -80,14 +80,14 @@ class AdminSuppliers extends AdminTab
echo '
<h3><a href="index.php?tab=AdminCatalog&id_product='.$product->id.'&addproduct&token='.Tools::getAdminToken('AdminCatalog'.(int)(Tab::getIdFromClassName('AdminCatalog')).(int)$this->context->employee->id).'" target="_blank">'.$product->name.'</a></h3>
<table border="0" cellpadding="0" cellspacing="0" class="table" style="width: 600px;">
<tr>
<th>'.$this->l('Attribute name').'</th>
<th width="80">'.$this->l('Reference').'</th>
<th width="80">'.$this->l('EAN13').'</th>
<th width="80">'.$this->l('UPC').'</th>
'.(Configuration::get('PS_STOCK_MANAGEMENT') ? '<th class="right" width="40">'.$this->l('Quantity').'</th>' : '').'
</tr>';
/* Build attributes combinaisons */
<tr>
<th>'.$this->l('Attribute name').'</th>
<th width="80">'.$this->l('Reference').'</th>
<th width="80">'.$this->l('EAN13').'</th>
<th width="80">'.$this->l('UPC').'</th>
'.(Configuration::get('PS_STOCK_MANAGEMENT') ? '<th class="right" width="40">'.$this->l('Quantity').'</th>' : '').'
</tr>';
/* Build attributes combinaisons */
$combinaisons = $product->getAttributeCombinaisons($this->context->language->id);
foreach ($combinaisons AS $k => $combinaison)
{
@@ -150,7 +150,7 @@ class AdminSuppliers extends AdminTab
</div>
<label>'.$this->l('Logo:').' </label>
<div class="margin-form">';
echo $this->displayImage($supplier->id, _PS_SUPP_IMG_DIR_.$supplier->id.'.jpg', 350, NULL, NULL, true);
echo $this->displayImage($supplier->id, _PS_SUPP_IMG_DIR_.$supplier->id.'.jpg', 350, NULL, NULL, true);
echo ' <br /><input type="file" name="logo" />
<p>'.$this->l('Upload supplier logo from your computer').'</p>
</div>
@@ -199,7 +199,7 @@ class AdminSuppliers extends AdminTab
$this->displayAssoShop('group_shop');
echo '</div>';
}
echo '
echo '
<div class="margin-form">
<input type="submit" value="'.$this->l(' Save ').'" name="submitAdd'.$this->table.'" class="button" />
</div>