diff --git a/modules/blocktopmenu/blocktopmenu.php b/modules/blocktopmenu/blocktopmenu.php
index 74252a3f7..d739df782 100644
--- a/modules/blocktopmenu/blocktopmenu.php
+++ b/modules/blocktopmenu/blocktopmenu.php
@@ -344,21 +344,21 @@ class Blocktopmenu extends Module
$selected = ($this->page_name == 'product' && (Tools::getValue('id_product') == $id)) ? ' class="sfHover"' : '';
$product = new Product((int)$id, true, (int)$id_lang);
if (!is_null($product->id))
- $this->_menu .= '
'.$product->name.''.PHP_EOL;
+ $this->_menu .= ''.$product->name.''.PHP_EOL;
break;
case 'CMS':
$selected = ($this->page_name == 'cms' && (Tools::getValue('id_cms') == $id)) ? ' class="sfHover"' : '';
$cms = CMS::getLinks((int)$id_lang, array($id));
if (count($cms))
- $this->_menu .= ''.$cms[0]['meta_title'].''.PHP_EOL;
+ $this->_menu .= ''.$cms[0]['meta_title'].''.PHP_EOL;
break;
case 'CMS_CAT':
$category = new CMSCategory((int)$id, (int)$id_lang);
if (count($category))
{
- $this->_menu .= ''.$category->name.'';
+ $this->_menu .= ''.$category->name.'';
$this->getCMSMenuItems($category->id);
$this->_menu .= ''.PHP_EOL;
}
@@ -367,10 +367,10 @@ class Blocktopmenu extends Module
// Case to handle the option to show all Manufacturers
case 'ALLMAN':
$link = new Link;
- $this->_menu .= ''.$this->l('All manufacturers').''.PHP_EOL;
+ $this->_menu .= '- '.$this->l('All manufacturers').'';
break;
@@ -384,17 +384,17 @@ class Blocktopmenu extends Module
else
$manufacturer->link_rewrite = 0;
$link = new Link;
- $this->_menu .= '
- '.$manufacturer->name.'
'.PHP_EOL;
+ $this->_menu .= '- '.$manufacturer->name.'
'.PHP_EOL;
}
break;
// Case to handle the option to show all Suppliers
case 'ALLSUP':
$link = new Link;
- $this->_menu .= '- '.$this->l('All suppliers').'
'.PHP_EOL;
+ $this->_menu .= '- '.$this->l('All suppliers').'
'.PHP_EOL;
$suppliers = Supplier::getSuppliers();
foreach ($suppliers as $key => $supplier)
- $this->_menu .= '- '.$supplier['name'].'
'.PHP_EOL;
+ $this->_menu .= '- '.$supplier['name'].'
'.PHP_EOL;
$this->_menu .= '
';
break;
@@ -404,7 +404,7 @@ class Blocktopmenu extends Module
if (!is_null($supplier->id))
{
$link = new Link;
- $this->_menu .= ' - '.$supplier->name.'
'.PHP_EOL;
+ $this->_menu .= '- '.$supplier->name.'
'.PHP_EOL;
}
break;
@@ -414,7 +414,7 @@ class Blocktopmenu extends Module
if (Validate::isLoadedObject($shop))
{
$link = new Link;
- $this->_menu .= '- '.$shop->name.'
'.PHP_EOL;
+ $this->_menu .= '- '.$shop->name.'
'.PHP_EOL;
}
break;
case 'LNK':
@@ -426,7 +426,7 @@ class Blocktopmenu extends Module
$default_language = Configuration::get('PS_LANG_DEFAULT');
$link = MenuTopLinks::get($link[0]['id_linksmenutop'], $default_language, (int)Shop::getContextShopID());
}
- $this->_menu .= '- '.$link[0]['label'].'
'.PHP_EOL;
+ $this->_menu .= '- '.$link[0]['label'].'
'.PHP_EOL;
}
break;
}
@@ -476,7 +476,7 @@ class Blocktopmenu extends Module
if (!empty($is_intersected))
{
$this->_menu .= '- ';
- $this->_menu .= ''.$category->name.'';
+ $this->_menu .= ''.$category->name.'';
if (count($children))
{