[-] MO : fixed bug #PSCFV-3751 - Links Block Formatting //need to re-install the module
This commit is contained in:
Executable
+9
@@ -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;
|
||||||
|
}
|
||||||
@@ -51,7 +51,7 @@ class BlockLink extends Module
|
|||||||
public function install()
|
public function install()
|
||||||
{
|
{
|
||||||
if (!parent::install() ||
|
if (!parent::install() ||
|
||||||
!$this->registerHook('leftColumn') ||
|
!$this->registerHook('leftColumn') || !$this->registerHook('header') ||
|
||||||
!Db::getInstance()->execute('
|
!Db::getInstance()->execute('
|
||||||
CREATE TABLE '._DB_PREFIX_.'blocklink (
|
CREATE TABLE '._DB_PREFIX_.'blocklink (
|
||||||
`id_blocklink` int(2) NOT NULL AUTO_INCREMENT,
|
`id_blocklink` int(2) NOT NULL AUTO_INCREMENT,
|
||||||
@@ -108,6 +108,11 @@ class BlockLink extends Module
|
|||||||
{
|
{
|
||||||
return $this->hookLeftColumn($params);
|
return $this->hookLeftColumn($params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function hookHeader($params)
|
||||||
|
{
|
||||||
|
$this->context->controller->addCSS($this->_path.'blocklink.css', 'all');
|
||||||
|
}
|
||||||
|
|
||||||
public function getLinks()
|
public function getLinks()
|
||||||
{
|
{
|
||||||
|
|||||||
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 155 B |
Reference in New Issue
Block a user