[-] MO : fixed bug #PSCFV-3751 - Links Block Formatting //need to re-install the module

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17063 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-08-29 07:29:15 +00:00
parent 96855cd5a2
commit cc4b3125a9
3 changed files with 15 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
/* Block links */
#links_block_left .block_content li {border-bottom:1px dotted #eee}
#links_block_left .block_contentt li.last {border:none;}
#links_block_left .block_content li a {
display:block;
padding:7px 11px 5px 22px;
color:#333;
background:url(img/arrow_right_2.png) no-repeat 10px 10px transparent;
}
+6 -1
View File
@@ -51,7 +51,7 @@ class BlockLink extends Module
public function install()
{
if (!parent::install() ||
!$this->registerHook('leftColumn') ||
!$this->registerHook('leftColumn') || !$this->registerHook('header') ||
!Db::getInstance()->execute('
CREATE TABLE '._DB_PREFIX_.'blocklink (
`id_blocklink` int(2) NOT NULL AUTO_INCREMENT,
@@ -108,6 +108,11 @@ class BlockLink extends Module
{
return $this->hookLeftColumn($params);
}
public function hookHeader($params)
{
$this->context->controller->addCSS($this->_path.'blocklink.css', 'all');
}
public function getLinks()
{
Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B