// 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:
@@ -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>
|
||||
|
||||
+1
-1
@@ -507,7 +507,7 @@ class ToolsCore
|
||||
{
|
||||
if (!$html)
|
||||
$string = strip_tags($string);
|
||||
return @Tools::htmlentitiesUTF8($string, ENT_QUOTES);;
|
||||
return @Tools::htmlentitiesUTF8($string, ENT_QUOTES);
|
||||
}
|
||||
|
||||
public static function htmlentitiesUTF8($string, $type = ENT_QUOTES)
|
||||
|
||||
Reference in New Issue
Block a user