From a8869aae18c6016b117a49c2f900928eca1d6dc3 Mon Sep 17 00:00:00 2001 From: Emiliano 'AlberT' Gabrielli Date: Wed, 5 Oct 2016 10:17:49 +0200 Subject: [PATCH] Release 1.4.0 - migration to "faktiva" organization maintainance - cleanup PS from "old" module name - fixed source files' header --- .php_cs | 21 +++++++++++ config.xml | 2 +- zzseotk.php => faktiva_seo_tk.php | 63 +++++++++++++++++-------------- index.php | 17 +++++---- tools/debug.php | 13 +++++-- translations/et.php | 44 ++++++++++++++------- translations/it.php | 44 ++++++++++++++------- upgrade/index.php | 17 +++++---- upgrade/install-0.1.1.php | 12 ------ upgrade/install-0.1.php | 10 ----- upgrade/install-1.1.0.php | 10 ----- upgrade/install-1.4.0.php | 37 ++++++++++++++++++ views/index.php | 17 +++++---- views/templates/hook/index.php | 17 +++++---- views/templates/index.php | 17 +++++---- 15 files changed, 209 insertions(+), 132 deletions(-) rename zzseotk.php => faktiva_seo_tk.php (86%) delete mode 100644 upgrade/install-0.1.1.php delete mode 100644 upgrade/install-0.1.php delete mode 100644 upgrade/install-1.1.0.php create mode 100644 upgrade/install-1.4.0.php diff --git a/.php_cs b/.php_cs index 4c26baf..6f59d3e 100644 --- a/.php_cs +++ b/.php_cs @@ -1,9 +1,30 @@ +@license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 +@source https://github.com/faktiva/prestashop-seo-tk +EOF; + +Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header); + return Symfony\CS\Config\Config::create() ->setUsingCache(true) ->level(Symfony\CS\FixerInterface::PSR2_LEVEL) ->fixers(array( + 'header_comment', 'long_array_syntax', 'single_quote', 'pre_increment', diff --git a/config.xml b/config.xml index da86743..1e01cc5 100644 --- a/config.xml +++ b/config.xml @@ -2,7 +2,7 @@ faktiva-seo-tk - + diff --git a/zzseotk.php b/faktiva_seo_tk.php similarity index 86% rename from zzseotk.php rename to faktiva_seo_tk.php index 9a03d04..adbee42 100644 --- a/zzseotk.php +++ b/faktiva_seo_tk.php @@ -1,16 +1,21 @@ - * @link source available at https://github.com/ZiZuu-store/ + * @author AlberT + * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @source https://github.com/faktiva/prestashop-seo-tk */ if (!defined('_PS_VERSION_')) { @@ -21,7 +26,7 @@ include_once __DIR__.'/tools/debug.php'; } -class zzseotk extends Module +class faktiva_seo_tk extends Module { private $_controller; @@ -73,20 +78,20 @@ class zzseotk extends Module public function __construct() { - $this->name = 'zzseotk'; - $this->author = 'ZiZuu Store'; + $this->name = 'faktiva_seo_tk'; + $this->author = 'Faktiva'; $this->tab = 'seo'; - $this->version = '1.3.0'; + $this->version = '1.4.0'; $this->need_instance = 0; $this->bootstrap = true; $this->ps_versions_compliancy = array('min' => '1.5.0.1', 'max' => _PS_VERSION_); parent::__construct(); - $this->displayName = $this->l('ZiZuu SEO ToolKit'); + $this->displayName = $this->l('Faktiva SEO ToolKit'); $this->description = $this->l('Handles a few SEO related improvements, such as \'hreflang\', \'canonical\' and \'noindex\'.'); - $this->confirmUninstall = $this->l('Are you sure you want to uninstall "ZiZuu SEO ToolKit"?'); + $this->confirmUninstall = $this->l('Are you sure you want to uninstall "Faktiva SEO ToolKit"?'); } public function install() @@ -97,18 +102,18 @@ public function install() return parent::install() && $this->registerHook('header') - && Configuration::updateValue('ZZSEOTK_HREFLANG_ENABLED', false) - && Configuration::updateValue('ZZSEOTK_CANONICAL_ENABLED', false) - && Configuration::updateValue('ZZSEOTK_NOBOTS_ENABLED', false) + && Configuration::updateValue('FKVSEOTK_HREFLANG_ENABLED', false) + && Configuration::updateValue('FKVSEOTK_CANONICAL_ENABLED', false) + && Configuration::updateValue('FKVSEOTK_NOBOTS_ENABLED', false) ; } public function uninstall() { return parent::uninstall() - && Configuration::deleteByName('ZZSEOTK_HREFLANG_ENABLED') - && Configuration::deleteByName('ZZSEOTK_CANONICAL_ENABLED') - && Configuration::deleteByName('ZZSEOTK_NOBOTS_ENABLED') + && Configuration::deleteByName('FKVSEOTK_HREFLANG_ENABLED') + && Configuration::deleteByName('FKVSEOTK_CANONICAL_ENABLED') + && Configuration::deleteByName('FKVSEOTK_NOBOTS_ENABLED') ; } @@ -127,16 +132,16 @@ public function getContent() ''; if (Tools::isSubmit('submitOptionsconfiguration')) { - if (null!==Tools::getValue('ZZSEOTK_HREFLANG_ENABLED')) { - Configuration::updateValue('ZZSEOTK_HREFLANG_ENABLED', (bool)Tools::getValue('ZZSEOTK_HREFLANG_ENABLED')); + if (null!==Tools::getValue('FKVSEOTK_HREFLANG_ENABLED')) { + Configuration::updateValue('FKVSEOTK_HREFLANG_ENABLED', (bool)Tools::getValue('FKVSEOTK_HREFLANG_ENABLED')); } - if (null!==Tools::getValue('ZZSEOTK_CANONICAL_ENABLED')) { - Configuration::updateValue('ZZSEOTK_CANONICAL_ENABLED', (bool)Tools::getValue('ZZSEOTK_CANONICAL_ENABLED')); + if (null!==Tools::getValue('FKVSEOTK_CANONICAL_ENABLED')) { + Configuration::updateValue('FKVSEOTK_CANONICAL_ENABLED', (bool)Tools::getValue('FKVSEOTK_CANONICAL_ENABLED')); } - if (null!==Tools::getValue('ZZSEOTK_NOBOTS_ENABLED')) { - Configuration::updateValue('ZZSEOTK_NOBOTS_ENABLED', (bool)Tools::getValue('ZZSEOTK_NOBOTS_ENABLED')); + if (null!==Tools::getValue('FKVSEOTK_NOBOTS_ENABLED')) { + Configuration::updateValue('FKVSEOTK_NOBOTS_ENABLED', (bool)Tools::getValue('FKVSEOTK_NOBOTS_ENABLED')); } } @@ -152,7 +157,7 @@ public function renderForm() 'title' => $this->l('Internationalization'), 'icon' => 'icon-flag', 'fields' => array( - 'ZZSEOTK_HREFLANG_ENABLED' => array( + 'FKVSEOTK_HREFLANG_ENABLED' => array( 'title' => $this->l('Enable "hreflang" meta tag'), 'hint' => $this->l('Set "hreflang" meta tag into the html head to handle the same content in different languages.'), 'validation' => 'isBool', @@ -168,7 +173,7 @@ public function renderForm() 'title' => $this->l('Canonical URL'), 'icon' => 'icon-link', 'fields' => array( - 'ZZSEOTK_CANONICAL_ENABLED' => array( + 'FKVSEOTK_CANONICAL_ENABLED' => array( 'title' => $this->l('Enable "canonical" meta tag'), 'hint' => $this->l('Set "canonical"meta tag into the html head to avoid content duplication issues in SEO.'), 'validation' => 'isBool', @@ -184,7 +189,7 @@ public function renderForm() 'title' => $this->l('"nobots"'), 'icon' => 'icon-sitemap', 'fields' => array( - 'ZZSEOTK_NOBOTS_ENABLED' => array( + 'FKVSEOTK_NOBOTS_ENABLED' => array( 'title' => $this->l('Enable "noindex" meta tag'), 'hint' => $this->l('Set "noindex" meta tag into the html head to avoid search engine indicization of "private" pages. Public pages are not affected of course.'), 'validation' => 'isBool', @@ -230,7 +235,7 @@ public function hookHeader() private function _handleNobots() { - if (Configuration::get('ZZSEOTK_NOBOTS_ENABLED')) { + if (Configuration::get('FKVSEOTK_NOBOTS_ENABLED')) { if (in_array($this->_controller, $this->_nobots_controllers) || Tools::getValue('selected_filters') ) { @@ -245,7 +250,7 @@ private function _handleNobots() private function _displayHreflang() { - if (!Configuration::get('ZZSEOTK_HREFLANG_ENABLED')) { + if (!Configuration::get('FKVSEOTK_HREFLANG_ENABLED')) { return; } @@ -258,7 +263,7 @@ private function _displayHreflang() $requested_URL = $proto . $domain . $_SERVER['REQUEST_URI']; } - if (Configuration::get('ZZSEOTK_CANONICAL_ENABLED') && !$this->_isCanonicalRequest($requested_URL)) { + if (Configuration::get('FKVSEOTK_CANONICAL_ENABLED') && !$this->_isCanonicalRequest($requested_URL)) { return; // skip if actual page is not the canonical page } @@ -286,7 +291,7 @@ private function _displayHreflang() private function _displayCanonical() { - if (!Configuration::get('ZZSEOTK_CANONICAL_ENABLED')) { + if (!Configuration::get('FKVSEOTK_CANONICAL_ENABLED')) { return; } diff --git a/index.php b/index.php index 4823d23..8d7a1cc 100644 --- a/index.php +++ b/index.php @@ -1,20 +1,21 @@ - * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) - * @source https://github.com/ZiZuu-store/PrestaShop_module-zzSEOtk + * @author AlberT + * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @source https://github.com/faktiva/prestashop-seo-tk */ header('Expires: Fri, 31 Dec 1999 23:59:59 GMT'); diff --git a/tools/debug.php b/tools/debug.php index 90d21e9..2fdfb63 100644 --- a/tools/debug.php +++ b/tools/debug.php @@ -1,16 +1,21 @@ - * @link source available at https://github.com/ZiZuu-store/ + * @author AlberT + * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @source https://github.com/faktiva/prestashop-seo-tk */ // Set true to enable debugging diff --git a/translations/et.php b/translations/et.php index 87cb18c..ca9c32d 100755 --- a/translations/et.php +++ b/translations/et.php @@ -1,17 +1,35 @@ + * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @source https://github.com/faktiva/prestashop-seo-tk + */ + global $_MODULE; $_MODULE = array(); -$_MODULE['<{zzseotk}prs060144>zzseotk_d1b5d1ea0dbe349716008f89d715ff5f'] = 'ZiZuu SEO ToolKit'; -$_MODULE['<{zzseotk}prs060144>zzseotk_315d8274c8fb8f894beb852533177009'] = 'Võimaldab mõningaid SEO täiendusi, nagu \'hreflang\', \'kanooniline\' ja \'noindex\'.'; -$_MODULE['<{zzseotk}prs060144>zzseotk_2721730cf9ab3db75b92b8d0556750a5'] = 'Oled kindel, et soovid eemaldada \"ZiZuu SEO ToolKit\'i\"?'; -$_MODULE['<{zzseotk}prs060144>zzseotk_70b4903abcb62ace84264ad0443ae759'] = 'Rahvusvaheliseks muutmine'; -$_MODULE['<{zzseotk}prs060144>zzseotk_17492e133c9b260db5fc9b3bf2d5869c'] = 'Lülita sisse \"hreflang\" meta märgistus'; -$_MODULE['<{zzseotk}prs060144>zzseotk_0dc76fc867387bdc9b8f5bbfbb35b60f'] = 'Lülita \"hreflang\" meta märgistus HTML päisesse, et eraldada sama sisu erinevates keeltes'; -$_MODULE['<{zzseotk}prs060144>zzseotk_c9cc8cce247e49bae79f15173ce97354'] = 'Salvesta'; -$_MODULE['<{zzseotk}prs060144>zzseotk_ee096b45f2e0dcd83771ea27b049c76a'] = 'Kanooniline URL'; -$_MODULE['<{zzseotk}prs060144>zzseotk_2639c7053e5ce27740118bc8172d584c'] = 'Lülita sisse \"kanooniline\" meta märgistus'; -$_MODULE['<{zzseotk}prs060144>zzseotk_df8ee74025f9cb35538aeb6ea2b524de'] = 'Lülita \"kanooniline\" meta märgistus HTML päisesse, et vältida SEO duplikaadi probleeme'; -$_MODULE['<{zzseotk}prs060144>zzseotk_a8066a7d2d58ab65978cf66c9e852d92'] = '\"nobots\"'; -$_MODULE['<{zzseotk}prs060144>zzseotk_2c0c9d8693247eddceb40c9e78b7666d'] = 'Lülita sisse \"noindex\" meta märgistus'; -$_MODULE['<{zzseotk}prs060144>zzseotk_93ea8146f3aaf364151f5b92f694c517'] = 'Lülita \"noindex\" meta märgistus HTML päisesse, et vältida \"privaatsete\" lehekülgede indekseerimist. Avalikke lehekülgi see loomulikult ei mõjuta.'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_d1b5d1ea0dbe349716008f89d715ff5f'] = 'ZiZuu SEO ToolKit'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_315d8274c8fb8f894beb852533177009'] = 'Võimaldab mõningaid SEO täiendusi, nagu \'hreflang\', \'kanooniline\' ja \'noindex\'.'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_2721730cf9ab3db75b92b8d0556750a5'] = 'Oled kindel, et soovid eemaldada \"ZiZuu SEO ToolKit\'i\"?'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_70b4903abcb62ace84264ad0443ae759'] = 'Rahvusvaheliseks muutmine'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_17492e133c9b260db5fc9b3bf2d5869c'] = 'Lülita sisse \"hreflang\" meta märgistus'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_0dc76fc867387bdc9b8f5bbfbb35b60f'] = 'Lülita \"hreflang\" meta märgistus HTML päisesse, et eraldada sama sisu erinevates keeltes'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_c9cc8cce247e49bae79f15173ce97354'] = 'Salvesta'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_ee096b45f2e0dcd83771ea27b049c76a'] = 'Kanooniline URL'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_2639c7053e5ce27740118bc8172d584c'] = 'Lülita sisse \"kanooniline\" meta märgistus'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_df8ee74025f9cb35538aeb6ea2b524de'] = 'Lülita \"kanooniline\" meta märgistus HTML päisesse, et vältida SEO duplikaadi probleeme'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_a8066a7d2d58ab65978cf66c9e852d92'] = '\"nobots\"'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_2c0c9d8693247eddceb40c9e78b7666d'] = 'Lülita sisse \"noindex\" meta märgistus'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_93ea8146f3aaf364151f5b92f694c517'] = 'Lülita \"noindex\" meta märgistus HTML päisesse, et vältida \"privaatsete\" lehekülgede indekseerimist. Avalikke lehekülgi see loomulikult ei mõjuta.'; diff --git a/translations/it.php b/translations/it.php index f446150..359ed04 100644 --- a/translations/it.php +++ b/translations/it.php @@ -1,17 +1,35 @@ + * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @source https://github.com/faktiva/prestashop-seo-tk + */ + global $_MODULE; $_MODULE = array(); -$_MODULE['<{zzseotk}prestashop>zzseotk_d1b5d1ea0dbe349716008f89d715ff5f'] = 'ZiZuu SEO ToolKit'; -$_MODULE['<{zzseotk}prestashop>zzseotk_315d8274c8fb8f894beb852533177009'] = 'Gestisce alcune migliorie per il SEO, come i meta tag \"canonical\", \"hreflang\" e \"noindex\"'; -$_MODULE['<{zzseotk}prestashop>zzseotk_2721730cf9ab3db75b92b8d0556750a5'] = 'Sicuro di voler rimuovere il modulo \"ZiZuu SEO ToolKit\" ? '; -$_MODULE['<{zzseotk}prestashop>zzseotk_70b4903abcb62ace84264ad0443ae759'] = 'Internazionalizzazione'; -$_MODULE['<{zzseotk}prestashop>zzseotk_17492e133c9b260db5fc9b3bf2d5869c'] = 'Abilita il meta tag \"hreflang\"'; -$_MODULE['<{zzseotk}prestashop>zzseotk_0dc76fc867387bdc9b8f5bbfbb35b60f'] = 'Inserisce il meta tag \"hreflang\" nell\'head HTML per gestire l\'indicizzazione di contenuti nelle diverse lingue'; -$_MODULE['<{zzseotk}prestashop>zzseotk_c9cc8cce247e49bae79f15173ce97354'] = 'Salva'; -$_MODULE['<{zzseotk}prestashop>zzseotk_ee096b45f2e0dcd83771ea27b049c76a'] = 'URL canonica'; -$_MODULE['<{zzseotk}prestashop>zzseotk_2639c7053e5ce27740118bc8172d584c'] = 'Abilita il meta tag \"canonical\"'; -$_MODULE['<{zzseotk}prestashop>zzseotk_df8ee74025f9cb35538aeb6ea2b524de'] = 'Inserisce il meta tag \"canonical\" nell\'head HTML per evitare problemi di contenuti duplicati nel SEO.'; -$_MODULE['<{zzseotk}prestashop>zzseotk_a8066a7d2d58ab65978cf66c9e852d92'] = 'indicizzazione'; -$_MODULE['<{zzseotk}prestashop>zzseotk_2c0c9d8693247eddceb40c9e78b7666d'] = 'Abilita il meta tag \"noindex\"'; -$_MODULE['<{zzseotk}prestashop>zzseotk_93ea8146f3aaf364151f5b92f694c517'] = 'Inserisce il meta tag \"noindex\" nell\'head HTML impedendo l\'indicizzazione delle pagine \"private\" da parte dei motori di ricerca.'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_d1b5d1ea0dbe349716008f89d715ff5f'] = 'ZiZuu SEO ToolKit'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_315d8274c8fb8f894beb852533177009'] = 'Gestisce alcune migliorie per il SEO, come i meta tag \"canonical\", \"hreflang\" e \"noindex\"'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_2721730cf9ab3db75b92b8d0556750a5'] = 'Sicuro di voler rimuovere il modulo \"ZiZuu SEO ToolKit\" ? '; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_70b4903abcb62ace84264ad0443ae759'] = 'Internazionalizzazione'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_17492e133c9b260db5fc9b3bf2d5869c'] = 'Abilita il meta tag \"hreflang\"'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_0dc76fc867387bdc9b8f5bbfbb35b60f'] = 'Inserisce il meta tag \"hreflang\" nell\'head HTML per gestire l\'indicizzazione di contenuti nelle diverse lingue'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_c9cc8cce247e49bae79f15173ce97354'] = 'Salva'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_ee096b45f2e0dcd83771ea27b049c76a'] = 'URL canonica'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_2639c7053e5ce27740118bc8172d584c'] = 'Abilita il meta tag \"canonical\"'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_df8ee74025f9cb35538aeb6ea2b524de'] = 'Inserisce il meta tag \"canonical\" nell\'head HTML per evitare problemi di contenuti duplicati nel SEO.'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_a8066a7d2d58ab65978cf66c9e852d92'] = 'indicizzazione'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_2c0c9d8693247eddceb40c9e78b7666d'] = 'Abilita il meta tag \"noindex\"'; +$_MODULE['<{faktiva_seo_tk}prestashop>faktiva_seo_tk_93ea8146f3aaf364151f5b92f694c517'] = 'Inserisce il meta tag \"noindex\" nell\'head HTML impedendo l\'indicizzazione delle pagine \"private\" da parte dei motori di ricerca.'; diff --git a/upgrade/index.php b/upgrade/index.php index 4823d23..8d7a1cc 100644 --- a/upgrade/index.php +++ b/upgrade/index.php @@ -1,20 +1,21 @@ - * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) - * @source https://github.com/ZiZuu-store/PrestaShop_module-zzSEOtk + * @author AlberT + * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @source https://github.com/faktiva/prestashop-seo-tk */ header('Expires: Fri, 31 Dec 1999 23:59:59 GMT'); diff --git a/upgrade/install-0.1.1.php b/upgrade/install-0.1.1.php deleted file mode 100644 index 72a91e2..0000000 --- a/upgrade/install-0.1.1.php +++ /dev/null @@ -1,12 +0,0 @@ - + * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @source https://github.com/faktiva/prestashop-seo-tk + */ + +if (!defined('_PS_VERSION_')) { + exit; +} + +function upgrade_module_1_4_0($module) +{ + Configuration::deleteByName('ZZSEOTK_HREFLANG_ENABLED'); + Configuration::deleteByName('ZZSEOTK_CANONICAL_ENABLED'); + Configuration::deleteByName('ZZSEOTK_NOBOTS_ENABLED'); + + Db::getInstance()->delete('module', "`name` = 'zzseotk'", 1); + Db::getInstance()->delete('module_preference', "`module` = 'zzseotk'"); + Db::getInstance()->delete('configuration', "`name` LIKE 'zzseotk%'"); + Db::getInstance()->delete('quick_access', "`link` LIKE '%module_name=zzseotk%'"); + + return true; +} diff --git a/views/index.php b/views/index.php index 4823d23..8d7a1cc 100644 --- a/views/index.php +++ b/views/index.php @@ -1,20 +1,21 @@ - * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) - * @source https://github.com/ZiZuu-store/PrestaShop_module-zzSEOtk + * @author AlberT + * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @source https://github.com/faktiva/prestashop-seo-tk */ header('Expires: Fri, 31 Dec 1999 23:59:59 GMT'); diff --git a/views/templates/hook/index.php b/views/templates/hook/index.php index 4823d23..8d7a1cc 100644 --- a/views/templates/hook/index.php +++ b/views/templates/hook/index.php @@ -1,20 +1,21 @@ - * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) - * @source https://github.com/ZiZuu-store/PrestaShop_module-zzSEOtk + * @author AlberT + * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @source https://github.com/faktiva/prestashop-seo-tk */ header('Expires: Fri, 31 Dec 1999 23:59:59 GMT'); diff --git a/views/templates/index.php b/views/templates/index.php index 4823d23..8d7a1cc 100644 --- a/views/templates/index.php +++ b/views/templates/index.php @@ -1,20 +1,21 @@ - * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) - * @source https://github.com/ZiZuu-store/PrestaShop_module-zzSEOtk + * @author AlberT + * @license https://creativecommons.org/licenses/by/4.0/ CC-BY-4.0 + * @source https://github.com/faktiva/prestashop-seo-tk */ header('Expires: Fri, 31 Dec 1999 23:59:59 GMT');