From b367d172ea75705d2751ceac59d10345bd43ccf8 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Wed, 27 Apr 2022 11:13:22 +0530 Subject: [PATCH] Remove blockpermanentlinks --- config/xml/themes/default.xml | 1 - controllers/admin/AdminThemesController.php | 1 - modules/blockpermanentlinks/CHANGELOG.txt | 4 - .../blockpermanentlinks-footer.tpl | 44 --------- .../blockpermanentlinks-header.tpl | 34 ------- .../blockpermanentlinks.css | 35 ------- .../blockpermanentlinks.php | 93 ------------------ .../blockpermanentlinks.tpl | 42 -------- .../blockpermanentlinks/img/arrow_right_2.png | Bin 90 -> 0 bytes modules/blockpermanentlinks/img/index.php | 35 ------- modules/blockpermanentlinks/index.php | 35 ------- modules/blockpermanentlinks/logo.gif | Bin 938 -> 0 bytes modules/blockpermanentlinks/logo.png | Bin 1232 -> 0 bytes .../translations/index.php | 35 ------- 14 files changed, 359 deletions(-) delete mode 100644 modules/blockpermanentlinks/CHANGELOG.txt delete mode 100644 modules/blockpermanentlinks/blockpermanentlinks-footer.tpl delete mode 100644 modules/blockpermanentlinks/blockpermanentlinks-header.tpl delete mode 100644 modules/blockpermanentlinks/blockpermanentlinks.css delete mode 100644 modules/blockpermanentlinks/blockpermanentlinks.php delete mode 100644 modules/blockpermanentlinks/blockpermanentlinks.tpl delete mode 100644 modules/blockpermanentlinks/img/arrow_right_2.png delete mode 100644 modules/blockpermanentlinks/img/index.php delete mode 100644 modules/blockpermanentlinks/index.php delete mode 100644 modules/blockpermanentlinks/logo.gif delete mode 100644 modules/blockpermanentlinks/logo.png delete mode 100644 modules/blockpermanentlinks/translations/index.php diff --git a/config/xml/themes/default.xml b/config/xml/themes/default.xml index 369505a14..23e86e10b 100644 --- a/config/xml/themes/default.xml +++ b/config/xml/themes/default.xml @@ -69,7 +69,6 @@ - diff --git a/controllers/admin/AdminThemesController.php b/controllers/admin/AdminThemesController.php index fb566e5a8..e23a6a251 100644 --- a/controllers/admin/AdminThemesController.php +++ b/controllers/admin/AdminThemesController.php @@ -2098,7 +2098,6 @@ class AdminThemesControllerCore extends AdminController 'blockmyaccountfooter', 'blocknewsletter', 'blockpaymentlogo', - 'blockpermanentlinks', 'blocksocial', 'blockuserinfo', 'carriercompare', diff --git a/modules/blockpermanentlinks/CHANGELOG.txt b/modules/blockpermanentlinks/CHANGELOG.txt deleted file mode 100644 index 4015d4cee..000000000 --- a/modules/blockpermanentlinks/CHANGELOG.txt +++ /dev/null @@ -1,4 +0,0 @@ -2014-04-22 18:57:34 +0200 // Changelog updated -2014-03-24 11:43:28 +0100 / MO blockpermanentlinks : ps_versions_compliancy modified (1.5.6.1 => 1.6) -2014-03-24 11:03:21 +0100 / MO blockpermanentlinks : ps_versions_compliancy added -2014-03-20 14:23:25 +0100 Initial commit diff --git a/modules/blockpermanentlinks/blockpermanentlinks-footer.tpl b/modules/blockpermanentlinks/blockpermanentlinks-footer.tpl deleted file mode 100644 index fe8f1b0b5..000000000 --- a/modules/blockpermanentlinks/blockpermanentlinks-footer.tpl +++ /dev/null @@ -1,44 +0,0 @@ -{* -* 2007-2016 PrestaShop -* -* NOTICE OF LICENSE -* -* This source file is subject to the Academic Free License (AFL 3.0) -* that is bundled with this package in the file LICENSE.txt. -* It is also available through the world-wide-web at this URL: -* http://opensource.org/licenses/afl-3.0.php -* If you did not receive a copy of the license and are unable to -* obtain it through the world-wide-web, please send an email -* to license@prestashop.com so we can send you a copy immediately. -* -* DISCLAIMER -* -* Do not edit or add to this file if you wish to upgrade PrestaShop to newer -* versions in the future. If you wish to customize PrestaShop for your -* needs please refer to http://www.prestashop.com for more information. -* -* @author PrestaShop SA -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - - - diff --git a/modules/blockpermanentlinks/blockpermanentlinks-header.tpl b/modules/blockpermanentlinks/blockpermanentlinks-header.tpl deleted file mode 100644 index 6f8fc38f0..000000000 --- a/modules/blockpermanentlinks/blockpermanentlinks-header.tpl +++ /dev/null @@ -1,34 +0,0 @@ -{* -* 2007-2016 PrestaShop -* -* NOTICE OF LICENSE -* -* This source file is subject to the Academic Free License (AFL 3.0) -* that is bundled with this package in the file LICENSE.txt. -* It is also available through the world-wide-web at this URL: -* http://opensource.org/licenses/afl-3.0.php -* If you did not receive a copy of the license and are unable to -* obtain it through the world-wide-web, please send an email -* to license@prestashop.com so we can send you a copy immediately. -* -* DISCLAIMER -* -* Do not edit or add to this file if you wish to upgrade PrestaShop to newer -* versions in the future. If you wish to customize PrestaShop for your -* needs please refer to http://www.prestashop.com for more information. -* -* @author PrestaShop SA -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - - - diff --git a/modules/blockpermanentlinks/blockpermanentlinks.css b/modules/blockpermanentlinks/blockpermanentlinks.css deleted file mode 100644 index 7dccbbe6f..000000000 --- a/modules/blockpermanentlinks/blockpermanentlinks.css +++ /dev/null @@ -1,35 +0,0 @@ -/* block top links */ -ul#header_links { - list-style-type: none; - float: right; - margin-top:5px -} -#header_links li { - float: left; - padding: 0 8px; - border-left:1px solid #333; - line-height:11px; -} -#header_links li:first-child {border:none;} -#header_links a {text-decoration: none} -#header_links a:hover {text-decoration:underline} - -/*block permanent links right and left columns*/ -#permanent_links div {border-bottom: 1px dotted #eee} -#permanent_links div a { - display: block; - padding: 7px 11px 5px 22px; - color: #333; - background:url(img/arrow_right_2.png) no-repeat 10px 10px; -} - -/* block footer links */ -ul#footer_links{ - clear:both; - text-align: center; - padding-bottom:6px -} -ul#footer_links li{ - display: inline; - padding:0 10px -} diff --git a/modules/blockpermanentlinks/blockpermanentlinks.php b/modules/blockpermanentlinks/blockpermanentlinks.php deleted file mode 100644 index 90dcb419e..000000000 --- a/modules/blockpermanentlinks/blockpermanentlinks.php +++ /dev/null @@ -1,93 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!defined('_PS_VERSION_')) - exit; - -class BlockPermanentLinks extends Module -{ - public function __construct() - { - $this->name = 'blockpermanentlinks'; - $this->tab = 'front_office_features'; - $this->version = '0.3.1'; - $this->author = 'PrestaShop'; - $this->need_instance = 0; - - parent::__construct(); - - $this->displayName = $this->l('Permanent links block'); - $this->description = $this->l('Adds a block which displays permanent links such as sitemap, contact, etc.'); - $this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.6.99.99'); - } - - public function install() - { - return (parent::install() && $this->registerHook('top') && $this->registerHook('header')); - } - - /** - * Returns module content for header - * - * @param array $params Parameters - * @return string Content - */ - public function hookTop($params) - { - return $this->display(__FILE__, 'blockpermanentlinks-header.tpl', $this->getCacheId('blockpermanentlinks-header')); - } - - public function hookDisplayNav($params) - { - return $this->hookTop($params); - } - - /** - * Returns module content for left column - * - * @param array $params Parameters - * @return string Content - */ - public function hookLeftColumn($params) - { - return $this->display(__FILE__, 'blockpermanentlinks.tpl', $this->getCacheId()); - } - - public function hookRightColumn($params) - { - return $this->hookLeftColumn($params); - } - - public function hookFooter($params) - { - return $this->display(__FILE__, 'blockpermanentlinks-footer.tpl', $this->getCacheId('blockpermanentlinks-footer')); - } - - public function hookHeader($params) - { - $this->context->controller->addCSS(($this->_path).'blockpermanentlinks.css', 'all'); - } -} diff --git a/modules/blockpermanentlinks/blockpermanentlinks.tpl b/modules/blockpermanentlinks/blockpermanentlinks.tpl deleted file mode 100644 index 91bfab245..000000000 --- a/modules/blockpermanentlinks/blockpermanentlinks.tpl +++ /dev/null @@ -1,42 +0,0 @@ -{* -* 2007-2016 PrestaShop -* -* NOTICE OF LICENSE -* -* This source file is subject to the Academic Free License (AFL 3.0) -* that is bundled with this package in the file LICENSE.txt. -* It is also available through the world-wide-web at this URL: -* http://opensource.org/licenses/afl-3.0.php -* If you did not receive a copy of the license and are unable to -* obtain it through the world-wide-web, please send an email -* to license@prestashop.com so we can send you a copy immediately. -* -* DISCLAIMER -* -* Do not edit or add to this file if you wish to upgrade PrestaShop to newer -* versions in the future. If you wish to customize PrestaShop for your -* needs please refer to http://www.prestashop.com for more information. -* -* @author PrestaShop SA -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - - - \ No newline at end of file diff --git a/modules/blockpermanentlinks/img/arrow_right_2.png b/modules/blockpermanentlinks/img/arrow_right_2.png deleted file mode 100644 index 6b076ee2f5e75da5c803df37ffb226b2632f5ecc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 90 zcmeAS@N?(olHy`uVBq!ia0vp^EI`c80U}#-RHA{DqNj^vh(vg@!N33W8CfKI{yWb| nVC&#amH6*2+PJFm1rx)yAM&C;@m?Q*iWxjz{an^LB{Ts5aI6>z diff --git a/modules/blockpermanentlinks/img/index.php b/modules/blockpermanentlinks/img/index.php deleted file mode 100644 index 19a328b3b..000000000 --- a/modules/blockpermanentlinks/img/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); -header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); - -header('Cache-Control: no-store, no-cache, must-revalidate'); -header('Cache-Control: post-check=0, pre-check=0', false); -header('Pragma: no-cache'); - -header('Location: ../../../'); -exit; \ No newline at end of file diff --git a/modules/blockpermanentlinks/index.php b/modules/blockpermanentlinks/index.php deleted file mode 100644 index e5064df41..000000000 --- a/modules/blockpermanentlinks/index.php +++ /dev/null @@ -1,35 +0,0 @@ - -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; \ No newline at end of file diff --git a/modules/blockpermanentlinks/logo.gif b/modules/blockpermanentlinks/logo.gif deleted file mode 100644 index d1e8373fcaa4d97591ebb3c15203b26f813d3cfc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 938 zcmV;b16BM-Nk%w1VGsZi0OwNx000010RaL60s{jB1Ox;H1qB8M1_uWR2nYxX2?+`c z3JVJh3=9kn4Gj(s4i66x5D*X%5fKs+5)%^>6ciK{6%`g178e&67#J8C85tTH8XFrM z92^`S9UUGX9v>ecARr(iAt53nA|oRsBqSsyB_$>%CMPE+C@3f?DJd!{Dl021EG#T7 zEiEoCE-x=HFfcGNF)=bSGBYzXG&D3dH8nOiHa9mnI5;>tIXOByIy*Z%JUl!-Jv}}? zK0iM{KtMo2K|w-7LPJACL_|bIMMXwNMn^|SNJvOYNl8jdN=r*iOiWBoO-)WtPESuy zP*6}&QBhJ-Qd3h?R8&+|RaI72R##V7SXfwDSy@_IT3cINTwGjTU0q&YUSD5dU|?Wj zVPRroVq;@tWMpJzWo2e&W@l$-XlQ6@X=!R|YHMq2Y;0_8ZEbFDZf|dIaBy&OadC2T za&vQYbaZreb#-=jc6WDoczAeud3kzzdV70&e0+R;eSLm@et&;|fPjF3fq{a8f`fyD zgoK2Jg@uNOhKGlTh=_=ZiHVAeii?YjjEszpjg5|uj*pLzkdTm(k&%*;l9Q8@l$4Z} zm6ev3mY0{8n3$NEnVFiJnwy)OoSdAUot>VZo}ZteprD|kp`oIpqNAguq@<*!rKP5( zrl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dkwzs#p zxVX5vxw*Q!y1To(yu7@dCU$jHda z$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~>g((4 z?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF){QUg= z{r&#_{{R2~A^s6Va%Ew3Wn>_CX>@2HM@dak03rDV0SW;B04x9i000mG5C8xOasdAc z97wRB!Gj1BDqJYAkS9I@`FJX1kVzzT-GT+$ldT)ENK6RMsfJ}q8A*A{EWv_m&OjN0 z1pesdOjxTQ0tLw!c;=s!AV#7@F%m?|zn%k|G*ad2QXD*&T&Zf*q@WTqYt{(NN=6C8 MuVBN9{TdJeJJ%z<2LJ#7 diff --git a/modules/blockpermanentlinks/logo.png b/modules/blockpermanentlinks/logo.png deleted file mode 100644 index 553eb21f5c63e341182b334f7a6096a36b09e2da..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1232 zcmV;>1TXuEP)07-P09o7geu1T{pN+ma;?=YsD0$Flufvj1oIsrSXVwUr`tH#y1Md!P4x&b{}X z^PDoa@FT_3>C^iAPTc6}4N%u{KY2TS+cSl)6&+}E z9HqhFFdaN(g9BMfB`+_p@ba~_+%mYOS5#KH&z<{>`T~PwsXYh>)C&^rZ4PHq9P+2Q zJ%YR5Z>cle4>!@+_+@gsJXC3@xy|QQ3*o@hZh!wxL^}d57P+Oi&IIx=FOCyWP2$c_ z-j=OKaWeBB8OU>_T3}#^+8s`6XgtD64ova2)L7&^7Ce0I2{=D*_Po6O)hIF(S0~Bk z_R#PLCuw?mnyRXeIA&`Ma`|+S0V(soe{R|McyC`|hTM0&n=14MdH^}DX3>HK;EON4 zyyl41@~4u#y2eB!BcX7>C6k<$zoS>bC$-#Ek{ivIaGJpo?MWqxo4D zVmIsGH?WL)FO|~hEs4hNIKzf#%wY`}j$J(G+KwU<9dNjFvGdgJ9qhDWSVN!xDAB3! zO38UiLk;Iy*zk-wtN~N(Vu5&0#3a}0_WDubl&OYDN5HLHw|-4QBioMMg>Ko%JF$|Q zF0io4L;j65V1Rw4i4{j*$AeUDQ;pI56Dk~v4Dwu|YB{*`{wt-_bM0x8F0vVuhjI=W zVEHM0p)AL zbE)m}J<@ms7+{41su-#kgqQ?GGZ9x(6{?nlkNGAw#`9P&HLyE1R&M zW#qaVY4V7k2Nv%ruON#PjVfDbG?3`w5>U1DTpg<}>t}S7@2+F=p2&!x}KaigzLk5xmiGTaRu_tzN!k4yuN- znu!lTTf*wK68kDzj4+2aL7o|}6fY4(2##zKr5VDx*;H(?*cFa;12!R~xj;N`5NqkP uiIMVXAEr-SDo9jf18VV{p5R9Q|M4Gjr;YQvN{jLU0000 -* @copyright 2007-2016 PrestaShop SA -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); -header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); - -header("Cache-Control: no-store, no-cache, must-revalidate"); -header("Cache-Control: post-check=0, pre-check=0", false); -header("Pragma: no-cache"); - -header("Location: ../"); -exit; \ No newline at end of file