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

This commit is contained in:
vAugagneur
2012-08-29 07:29:15 +00:00
parent 73eaa1ea84
commit e9ccf04dac
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