updated the NOTICE OF LICENSE for files added and uodated the name for the redirect.js

This commit is contained in:
vishalsingh.qlo325
2024-07-22 19:41:14 +05:30
parent 48b4263b6a
commit a93ee2a4e4
4 changed files with 33 additions and 24 deletions

View File

@@ -1,3 +1,22 @@
/**
* Copyright since 2010 Webkul.
*
* NOTICE OF LICENSE
*
* All right is reserved,
* Please go through LICENSE.txt file inside our module
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please refer to CustomizationPolicy.txt file inside our module for more information.
*
* @author Webkul IN
* @copyright since 2010 Webkul IN
* @license LICENSE.txt
*/
$(document).on('click', '#blocknewsletter .newsletter-btn', function (e) {
e.preventDefault();

View File

@@ -1,32 +1,23 @@
<?php
/*
* 2007-2015 PrestaShop
/**
* Copyright since 2010 Webkul.
*
* 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.
* All right is reserved,
* Please go through this link for complete license : https://store.webkul.com/license.html
*
* 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.
* Do not edit or add to this file if you wish to upgrade this module to newer
* versions in the future. If you wish to customize this module for your
* needs please refer to https://store.webkul.com/customisation-guidelines/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2015 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
* @author Webkul IN <support@webkul.com>
* @copyright since 2010 Webkul IN
* @license https://store.webkul.com/license.html
*/
/**
* @since 1.5.0
*/
class BlocknewsletterUnsubscribeModuleFrontController extends ModuleFrontController
{
/**
@@ -57,8 +48,7 @@ class BlocknewsletterUnsubscribeModuleFrontController extends ModuleFrontControl
{
parent::setMedia();
$this->addJS($this->module->getPathUri().'views/js/front/homepage_redirect.js');
$this->addJS($this->module->getPathUri().'views/js/front/redirect.js');
Media::addJsDef(array(
'homepage_url' => $this->context->link->getPageLink('index'),
));

View File

@@ -58,7 +58,7 @@ class BlocknewsletterVerificationModuleFrontController extends ModuleFrontContro
parent::setMedia();
$this->addCSS($this->module->getPathUri().'views/css/front/verification.css');
$this->addJS($this->module->getPathUri().'views/js/front/homepage_redirect.js');
$this->addJS($this->module->getPathUri().'views/js/front/redirect.js');
Media::addJsDef(array(
'homepage_url' => $this->context->link->getPageLink('index'),

View File

@@ -1,5 +1,5 @@
/**
* 2010-2024 Webkul.
* Copyright since 2010 Webkul.
*
* NOTICE OF LICENSE
*
@@ -13,7 +13,7 @@
* needs please refer to CustomizationPolicy.txt file inside our module for more information.
*
* @author Webkul IN
* @copyright 2010-2024 Webkul IN
* @copyright since 2010 Webkul IN
* @license LICENSE.txt
*/