Version Notes
Fixed core issue: warning on system config save for dynamic fields (eg. disable modules output).
Download this release
Release Info
Developer | WebFlakeStudio |
Extension | Wfs_DisableEmails |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.2.0
- app/code/community/Wfs/DisableEmails/Block/Adminhtml/System/Config/Form/Fieldset/DisableEmails.php +6 -6
- app/code/community/Wfs/DisableEmails/Helper/Data.php +6 -6
- app/code/community/Wfs/DisableEmails/Model/Adminhtml/Config/Data.php +68 -6
- app/code/community/Wfs/DisableEmails/Model/Email/Template.php +6 -6
- app/code/community/Wfs/DisableEmails/Model/Email/Template/Mailer.php +6 -6
- app/code/community/Wfs/DisableEmails/WFS-LICENSE-COMMUNITY.txt +59 -75
- app/code/community/Wfs/DisableEmails/etc/config.xml +7 -7
- app/code/community/Wfs/DisableEmails/etc/system.xml +6 -6
- app/etc/modules/Wfs_DisableEmails.xml +6 -6
- package.xml +5 -5
app/code/community/Wfs/DisableEmails/Block/Adminhtml/System/Config/Form/Fieldset/DisableEmails.php
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://
|
11 |
*
|
12 |
*
|
13 |
* MAGENTO EDITION USAGE NOTICE
|
14 |
*
|
15 |
* This package designed for Magento COMMUNITY edition
|
16 |
-
*
|
17 |
* on any other Magento edition except Magento COMMUNITY edition.
|
18 |
-
*
|
19 |
* incorrect edition usage.
|
20 |
*
|
21 |
* DISCLAIMER
|
@@ -25,8 +25,8 @@
|
|
25 |
*
|
26 |
* @category Wfs
|
27 |
* @package Wfs_DisableEmails
|
28 |
-
* @copyright Copyright (c) 2012
|
29 |
-
* @license http://
|
30 |
*/
|
31 |
class Wfs_DisableEmails_Block_Adminhtml_System_Config_Form_Fieldset_DisableEmails
|
32 |
extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
|
1 |
<?php
|
2 |
/**
|
3 |
+
* MageryThemes
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://magery-themes.com/MAGERY-LICENSE.txt
|
11 |
*
|
12 |
*
|
13 |
* MAGENTO EDITION USAGE NOTICE
|
14 |
*
|
15 |
* This package designed for Magento COMMUNITY edition
|
16 |
+
* MageryThemes does not guarantee correct work of this extension
|
17 |
* on any other Magento edition except Magento COMMUNITY edition.
|
18 |
+
* MageryThemes does not provide extension support in case of
|
19 |
* incorrect edition usage.
|
20 |
*
|
21 |
* DISCLAIMER
|
25 |
*
|
26 |
* @category Wfs
|
27 |
* @package Wfs_DisableEmails
|
28 |
+
* @copyright Copyright (c) 2012 MageryThemes (http://magery-themes.com)
|
29 |
+
* @license http://magery-themes.com/MAGERY-LICENSE.txt
|
30 |
*/
|
31 |
class Wfs_DisableEmails_Block_Adminhtml_System_Config_Form_Fieldset_DisableEmails
|
32 |
extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
|
app/code/community/Wfs/DisableEmails/Helper/Data.php
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://
|
11 |
*
|
12 |
*
|
13 |
* MAGENTO EDITION USAGE NOTICE
|
14 |
*
|
15 |
* This package designed for Magento COMMUNITY edition
|
16 |
-
*
|
17 |
* on any other Magento edition except Magento COMMUNITY edition.
|
18 |
-
*
|
19 |
* incorrect edition usage.
|
20 |
*
|
21 |
* DISCLAIMER
|
@@ -25,8 +25,8 @@
|
|
25 |
*
|
26 |
* @category Wfs
|
27 |
* @package Wfs_DisableEmails
|
28 |
-
* @copyright Copyright (c) 2012
|
29 |
-
* @license http://
|
30 |
*/
|
31 |
class Wfs_DisableEmails_Helper_Data extends Mage_Core_Helper_Abstract
|
32 |
{
|
1 |
<?php
|
2 |
/**
|
3 |
+
* MageryThemes
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://magery-themes.com/MAGERY-LICENSE.txt
|
11 |
*
|
12 |
*
|
13 |
* MAGENTO EDITION USAGE NOTICE
|
14 |
*
|
15 |
* This package designed for Magento COMMUNITY edition
|
16 |
+
* MageryThemes does not guarantee correct work of this extension
|
17 |
* on any other Magento edition except Magento COMMUNITY edition.
|
18 |
+
* MageryThemes does not provide extension support in case of
|
19 |
* incorrect edition usage.
|
20 |
*
|
21 |
* DISCLAIMER
|
25 |
*
|
26 |
* @category Wfs
|
27 |
* @package Wfs_DisableEmails
|
28 |
+
* @copyright Copyright (c) 2012 MageryThemes (http://magery-themes.com)
|
29 |
+
* @license http://magery-themes.com/MAGERY-LICENSE.txt
|
30 |
*/
|
31 |
class Wfs_DisableEmails_Helper_Data extends Mage_Core_Helper_Abstract
|
32 |
{
|
app/code/community/Wfs/DisableEmails/Model/Adminhtml/Config/Data.php
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://
|
11 |
*
|
12 |
*
|
13 |
* MAGENTO EDITION USAGE NOTICE
|
14 |
*
|
15 |
* This package designed for Magento COMMUNITY edition
|
16 |
-
*
|
17 |
* on any other Magento edition except Magento COMMUNITY edition.
|
18 |
-
*
|
19 |
* incorrect edition usage.
|
20 |
*
|
21 |
* DISCLAIMER
|
@@ -25,8 +25,8 @@
|
|
25 |
*
|
26 |
* @category Wfs
|
27 |
* @package Wfs_DisableEmails
|
28 |
-
* @copyright Copyright (c) 2013
|
29 |
-
* @license http://
|
30 |
*/
|
31 |
class Wfs_DisableEmails_Model_Adminhtml_Config_Data extends Mage_Adminhtml_Model_Config_Data
|
32 |
{
|
@@ -38,6 +38,8 @@ class Wfs_DisableEmails_Model_Adminhtml_Config_Data extends Mage_Adminhtml_Model
|
|
38 |
*/
|
39 |
public function save()
|
40 |
{
|
|
|
|
|
41 |
$this->_validate();
|
42 |
$this->_getScope();
|
43 |
|
@@ -183,6 +185,50 @@ class Wfs_DisableEmails_Model_Adminhtml_Config_Data extends Mage_Adminhtml_Model
|
|
183 |
$dataObject->unsConfigId();
|
184 |
$saveTransaction->addObject($dataObject);
|
185 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
}
|
187 |
}
|
188 |
|
@@ -191,4 +237,20 @@ class Wfs_DisableEmails_Model_Adminhtml_Config_Data extends Mage_Adminhtml_Model
|
|
191 |
|
192 |
return $this;
|
193 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* MageryThemes
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://magery-themes.com/MAGERY-LICENSE.txt
|
11 |
*
|
12 |
*
|
13 |
* MAGENTO EDITION USAGE NOTICE
|
14 |
*
|
15 |
* This package designed for Magento COMMUNITY edition
|
16 |
+
* MageryThemes does not guarantee correct work of this extension
|
17 |
* on any other Magento edition except Magento COMMUNITY edition.
|
18 |
+
* MageryThemes does not provide extension support in case of
|
19 |
* incorrect edition usage.
|
20 |
*
|
21 |
* DISCLAIMER
|
25 |
*
|
26 |
* @category Wfs
|
27 |
* @package Wfs_DisableEmails
|
28 |
+
* @copyright Copyright (c) 2013 MageryThemes (http://magery-themes.com)
|
29 |
+
* @license http://magery-themes.com/MAGERY-LICENSE.txt
|
30 |
*/
|
31 |
class Wfs_DisableEmails_Model_Adminhtml_Config_Data extends Mage_Adminhtml_Model_Config_Data
|
32 |
{
|
38 |
*/
|
39 |
public function save()
|
40 |
{
|
41 |
+
$emailTemplateSettings = array();
|
42 |
+
|
43 |
$this->_validate();
|
44 |
$this->_getScope();
|
45 |
|
185 |
$dataObject->unsConfigId();
|
186 |
$saveTransaction->addObject($dataObject);
|
187 |
}
|
188 |
+
|
189 |
+
if ($this->hasEmailTemplateSetting($dataObject)) {
|
190 |
+
$emailTemplateSettings []= $dataObject;
|
191 |
+
}
|
192 |
+
}
|
193 |
+
}
|
194 |
+
|
195 |
+
foreach ($emailTemplateSettings as $emailTemplateConfig) {
|
196 |
+
if (strpos($emailTemplateConfig->getPath(), 'wfs') === false) {
|
197 |
+
// Not WFS setting, lookup WFS config
|
198 |
+
$wfsPath = Wfs_DisableEmails_Model_Email_Template::XML_PATH_PREFIX
|
199 |
+
. str_replace('/', '_', $emailTemplateConfig->getPath());
|
200 |
+
$wfsValue = Mage::getStoreConfig($wfsPath);
|
201 |
+
$clonedConfig = clone $emailTemplateConfig;
|
202 |
+
$clonedConfig->unsConfigId();
|
203 |
+
$clonedConfig->setValue($wfsValue);
|
204 |
+
$clonedConfig->setPath(
|
205 |
+
Wfs_DisableEmails_Model_Email_Template::XML_PATH_PREFIX . $emailTemplateConfig->getValue()
|
206 |
+
);
|
207 |
+
|
208 |
+
$saveTransaction->addObject($clonedConfig);
|
209 |
+
} else {
|
210 |
+
// Saving of WFS config
|
211 |
+
$searchPath = str_replace(
|
212 |
+
Wfs_DisableEmails_Model_Email_Template::XML_PATH_PREFIX, '', $emailTemplateConfig->getPath()
|
213 |
+
);
|
214 |
+
/** @var Mage_Core_Model_Resource_Config_Data_Collection $collection */
|
215 |
+
$collection = Mage::getResourceModel('core/config_data_collection');
|
216 |
+
$collection->addFieldToFilter('scope', $emailTemplateConfig->getScope());
|
217 |
+
$collection->addFieldToFilter('scope_id', $emailTemplateConfig->getScopeId());
|
218 |
+
$collection->getSelect()
|
219 |
+
->where("REPLACE(path, '/', '_') = ?", $searchPath)
|
220 |
+
->limit(1);
|
221 |
+
|
222 |
+
$coreConfigRow = $collection->getFirstItem();
|
223 |
+
if ($coreConfigRow->getId() && $coreConfigRow->getValue()) {
|
224 |
+
$templateId = $coreConfigRow->getValue();
|
225 |
+
$clonedConfig = clone $emailTemplateConfig;
|
226 |
+
$clonedConfig->unsConfigId();
|
227 |
+
$clonedConfig->setPath(
|
228 |
+
Wfs_DisableEmails_Model_Email_Template::XML_PATH_PREFIX . $templateId
|
229 |
+
);
|
230 |
+
$saveTransaction->addObject($clonedConfig);
|
231 |
+
}
|
232 |
}
|
233 |
}
|
234 |
|
237 |
|
238 |
return $this;
|
239 |
}
|
240 |
+
|
241 |
+
/**
|
242 |
+
* @param Mage_Core_Model_Config_Data $dataObject
|
243 |
+
*
|
244 |
+
* @return bool
|
245 |
+
*/
|
246 |
+
public function hasEmailTemplateSetting($dataObject)
|
247 |
+
{
|
248 |
+
$emailSettings = array('checkout_payment_failed_template', 'moneybookers_activateemail');
|
249 |
+
$hasEmailPrefix = (
|
250 |
+
strpos(str_replace('/', '_', $dataObject->getPath()), '_email') !== false
|
251 |
+
|| in_array($dataObject->getPath(), $emailSettings)
|
252 |
+
);
|
253 |
+
|
254 |
+
return $hasEmailPrefix && is_numeric($dataObject->getValue());
|
255 |
+
}
|
256 |
}
|
app/code/community/Wfs/DisableEmails/Model/Email/Template.php
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://
|
11 |
*
|
12 |
*
|
13 |
* MAGENTO EDITION USAGE NOTICE
|
14 |
*
|
15 |
* This package designed for Magento COMMUNITY edition
|
16 |
-
*
|
17 |
* on any other Magento edition except Magento COMMUNITY edition.
|
18 |
-
*
|
19 |
* incorrect edition usage.
|
20 |
*
|
21 |
* DISCLAIMER
|
@@ -25,8 +25,8 @@
|
|
25 |
*
|
26 |
* @category Wfs
|
27 |
* @package Wfs_DisableEmails
|
28 |
-
* @copyright Copyright (c) 2012
|
29 |
-
* @license http://
|
30 |
*/
|
31 |
class Wfs_DisableEmails_Model_Email_Template extends Mage_Core_Model_Email_Template
|
32 |
{
|
1 |
<?php
|
2 |
/**
|
3 |
+
* MageryThemes
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://magery-themes.com/MAGERY-LICENSE.txt
|
11 |
*
|
12 |
*
|
13 |
* MAGENTO EDITION USAGE NOTICE
|
14 |
*
|
15 |
* This package designed for Magento COMMUNITY edition
|
16 |
+
* MageryThemes does not guarantee correct work of this extension
|
17 |
* on any other Magento edition except Magento COMMUNITY edition.
|
18 |
+
* MageryThemes does not provide extension support in case of
|
19 |
* incorrect edition usage.
|
20 |
*
|
21 |
* DISCLAIMER
|
25 |
*
|
26 |
* @category Wfs
|
27 |
* @package Wfs_DisableEmails
|
28 |
+
* @copyright Copyright (c) 2012 MageryThemes (http://magery-themes.com)
|
29 |
+
* @license http://magery-themes.com/MAGERY-LICENSE.txt
|
30 |
*/
|
31 |
class Wfs_DisableEmails_Model_Email_Template extends Mage_Core_Model_Email_Template
|
32 |
{
|
app/code/community/Wfs/DisableEmails/Model/Email/Template/Mailer.php
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://
|
11 |
*
|
12 |
*
|
13 |
* MAGENTO EDITION USAGE NOTICE
|
14 |
*
|
15 |
* This package designed for Magento COMMUNITY edition
|
16 |
-
*
|
17 |
* on any other Magento edition except Magento COMMUNITY edition.
|
18 |
-
*
|
19 |
* incorrect edition usage.
|
20 |
*
|
21 |
* DISCLAIMER
|
@@ -25,8 +25,8 @@
|
|
25 |
*
|
26 |
* @category Wfs
|
27 |
* @package Wfs_DisableEmails
|
28 |
-
* @copyright Copyright (c) 2012
|
29 |
-
* @license http://
|
30 |
*/
|
31 |
class Wfs_DisableEmails_Model_Email_Template_Mailer extends Mage_Core_Model_Email_Template_Mailer
|
32 |
{
|
1 |
<?php
|
2 |
/**
|
3 |
+
* MageryThemes
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
* This source file is subject to the EULA
|
8 |
* that is bundled with this package in the file LICENSE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://magery-themes.com/MAGERY-LICENSE.txt
|
11 |
*
|
12 |
*
|
13 |
* MAGENTO EDITION USAGE NOTICE
|
14 |
*
|
15 |
* This package designed for Magento COMMUNITY edition
|
16 |
+
* MageryThemes does not guarantee correct work of this extension
|
17 |
* on any other Magento edition except Magento COMMUNITY edition.
|
18 |
+
* MageryThemes does not provide extension support in case of
|
19 |
* incorrect edition usage.
|
20 |
*
|
21 |
* DISCLAIMER
|
25 |
*
|
26 |
* @category Wfs
|
27 |
* @package Wfs_DisableEmails
|
28 |
+
* @copyright Copyright (c) 2012 MageryThemes (http://magery-themes.com)
|
29 |
+
* @license http://magery-themes.com/MAGERY-LICENSE.txt
|
30 |
*/
|
31 |
class Wfs_DisableEmails_Model_Email_Template_Mailer extends Mage_Core_Model_Email_Template_Mailer
|
32 |
{
|
app/code/community/Wfs/DisableEmails/WFS-LICENSE-COMMUNITY.txt
CHANGED
@@ -1,75 +1,59 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
THIS LICENSE AGREEMENT (HEREINAFTER AGREEMENT) IS AN AGREEMENT
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
the
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
discretion, you are not abiding by the terms of the Agreement, including,
|
61 |
-
but not limited to, obscuring or removing any link or copyright notice as
|
62 |
-
specified in this agreement. You may terminate it at any time by destroying
|
63 |
-
all copies of the Software. Termination of this Agreement does not bind us
|
64 |
-
to return you the amount spent for purchase of the Software.
|
65 |
-
|
66 |
-
14. If you continue to use the Software after WebflakeStudio gives you notice
|
67 |
-
of termination of your license, you hereby agree to accept an injunction to
|
68 |
-
enjoin you from its further use and to pay all costs (including but not
|
69 |
-
limited to reasonable attorney fees) to enforce our revocation of your
|
70 |
-
license and any damages suffered by us because of your misuse of
|
71 |
-
the Software.
|
72 |
-
|
73 |
-
15. This software designed for Magento COMMUNITY edition. WebflakeStudio does not
|
74 |
-
guarantee correct work of this extension on any other Magento edition except
|
75 |
-
Magento COMMUNITY edition.
|
1 |
+
Magery Themes End-User License Agreement
|
2 |
+
magery-themes.com
|
3 |
+
|
4 |
+
THIS END USER LICENSE AGREEMENT (HEREINAFTER EULA, LICENSE, AGREEMENT OR LICENSE AGREEMENT) IS AN AGREEMENT
|
5 |
+
BETWEEN YOU (CUSTOMER) AND MAGERY THEMES (HEREINAFTER MAGERY THEMES/WE/US/OUR). THE AGREEMENT APPLIES TO ALL
|
6 |
+
PRODUCTS/SOFTWARE/SERVICES YOU OBTAIN FROM US.
|
7 |
+
|
8 |
+
1. By using the Software you acknowledge that you have read this Agreement,
|
9 |
+
and that you agree to the content of the Agreement and its terms, and agree
|
10 |
+
to use the Software in compliance with this Agreement.
|
11 |
+
|
12 |
+
2. The Agreement comes into legal force at the moment when you order our
|
13 |
+
Software from our site or receive it through email or on data medium at the
|
14 |
+
our discretion.
|
15 |
+
|
16 |
+
3. We are the copyright holder of the Software. The Software or a portion of it
|
17 |
+
is a copyrightable matter and is liable to protection by the law. Any
|
18 |
+
activity that infringes terms of this Agreement violates copyright law and
|
19 |
+
will be prosecuted according to the current law. We reserve the right to
|
20 |
+
revoke the license of any user who is holding an invalid license.
|
21 |
+
|
22 |
+
4. According to this license, you can use only one copy of the Software on
|
23 |
+
one Magento installation. A separate License should be purchased for each
|
24 |
+
new Software installation. Any distribution of the Software is prohibited (selling, sub-licensing, lending etc).
|
25 |
+
|
26 |
+
5. We will not be responsible for any damages (including any loss of
|
27 |
+
profits/saving or incidental or consequential) caused to you, your
|
28 |
+
information and your business arising out of the use or inability to use
|
29 |
+
this Software.
|
30 |
+
|
31 |
+
6. We are not liable for prosecution arising from use of the Software against
|
32 |
+
law or for any illegal use.
|
33 |
+
|
34 |
+
7. If you fail to use the Software in accordance with the terms and conditions
|
35 |
+
of this License Agreement, it constitutes a breach of the agreement, and
|
36 |
+
your license to use the program is revoked.
|
37 |
+
|
38 |
+
|
39 |
+
8. License agreement remains effective until terminated. We retain the right to
|
40 |
+
terminate your license to use the Software at any time, if in its sole
|
41 |
+
discretion, you are not abiding by the terms of the Agreement, including,
|
42 |
+
but not limited to, obscuring or removing any link or copyright notice as
|
43 |
+
specified in this agreement. You may terminate it at any time by destroying
|
44 |
+
all copies of the Software. Termination of this Agreement does not bind us
|
45 |
+
to return you the amount spent for purchase of the Software.
|
46 |
+
|
47 |
+
9. If you continue to use the Software after Magery Themes gives you notice
|
48 |
+
of termination of your license, you hereby agree to accept an injunction to
|
49 |
+
enjoin you from its further use and to pay all costs (including but not
|
50 |
+
limited to reasonable attorney fees) to enforce our revocation of your
|
51 |
+
license and any damages suffered by us because of your misuse of
|
52 |
+
the Software.
|
53 |
+
|
54 |
+
10. This software is designed to work with a specific Magento edition and
|
55 |
+
its use on an edition other than specified is prohibited. Magery Themes does not
|
56 |
+
provide extension support in case of incorrect edition use.
|
57 |
+
|
58 |
+
|
59 |
+
11. This license agreement can be changed by us at any time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Wfs/DisableEmails/etc/config.xml
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
4 |
-
*
|
5 |
*
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
* This source file is subject to the EULA
|
9 |
* that is bundled with this package in the file LICENSE.txt.
|
10 |
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://
|
12 |
*
|
13 |
*
|
14 |
* MAGENTO EDITION USAGE NOTICE
|
15 |
*
|
16 |
* This package designed for Magento COMMUNITY edition
|
17 |
-
*
|
18 |
* on any other Magento edition except Magento COMMUNITY edition.
|
19 |
-
*
|
20 |
* incorrect edition usage.
|
21 |
*
|
22 |
* DISCLAIMER
|
@@ -26,14 +26,14 @@
|
|
26 |
*
|
27 |
* @category Wfs
|
28 |
* @package Wfs_DisableEmails
|
29 |
-
* @copyright Copyright (c) 2013
|
30 |
-
* @license http://
|
31 |
*/
|
32 |
-->
|
33 |
<config>
|
34 |
<modules>
|
35 |
<Wfs_DisableEmails>
|
36 |
-
<version>1.0
|
37 |
</Wfs_DisableEmails>
|
38 |
</modules>
|
39 |
<global>
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
4 |
+
* MageryThemes
|
5 |
*
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
* This source file is subject to the EULA
|
9 |
* that is bundled with this package in the file LICENSE.txt.
|
10 |
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://magery-themes.com/MAGERY-LICENSE.txt
|
12 |
*
|
13 |
*
|
14 |
* MAGENTO EDITION USAGE NOTICE
|
15 |
*
|
16 |
* This package designed for Magento COMMUNITY edition
|
17 |
+
* MageryThemes does not guarantee correct work of this extension
|
18 |
* on any other Magento edition except Magento COMMUNITY edition.
|
19 |
+
* MageryThemes does not provide extension support in case of
|
20 |
* incorrect edition usage.
|
21 |
*
|
22 |
* DISCLAIMER
|
26 |
*
|
27 |
* @category Wfs
|
28 |
* @package Wfs_DisableEmails
|
29 |
+
* @copyright Copyright (c) 2013 MageryThemes (http://webflakestudio.com)
|
30 |
+
* @license http://magery-themes.com/MAGERY-LICENSE.txt
|
31 |
*/
|
32 |
-->
|
33 |
<config>
|
34 |
<modules>
|
35 |
<Wfs_DisableEmails>
|
36 |
+
<version>1.2.0</version>
|
37 |
</Wfs_DisableEmails>
|
38 |
</modules>
|
39 |
<global>
|
app/code/community/Wfs/DisableEmails/etc/system.xml
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
4 |
-
*
|
5 |
*
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
* This source file is subject to the EULA
|
9 |
* that is bundled with this package in the file LICENSE.txt.
|
10 |
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://
|
12 |
*
|
13 |
*
|
14 |
* MAGENTO EDITION USAGE NOTICE
|
15 |
*
|
16 |
* This package designed for Magento COMMUNITY edition
|
17 |
-
*
|
18 |
* on any other Magento edition except Magento COMMUNITY edition.
|
19 |
-
*
|
20 |
* incorrect edition usage.
|
21 |
*
|
22 |
* DISCLAIMER
|
@@ -26,8 +26,8 @@
|
|
26 |
*
|
27 |
* @category Wfs
|
28 |
* @package Wfs_DisableEmails
|
29 |
-
* @copyright Copyright (c) 2012
|
30 |
-
* @license http://
|
31 |
*/
|
32 |
-->
|
33 |
<config>
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
4 |
+
* MageryThemes
|
5 |
*
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
* This source file is subject to the EULA
|
9 |
* that is bundled with this package in the file LICENSE.txt.
|
10 |
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://magery-themes.com/MAGERY-LICENSE.txt
|
12 |
*
|
13 |
*
|
14 |
* MAGENTO EDITION USAGE NOTICE
|
15 |
*
|
16 |
* This package designed for Magento COMMUNITY edition
|
17 |
+
* MageryThemes does not guarantee correct work of this extension
|
18 |
* on any other Magento edition except Magento COMMUNITY edition.
|
19 |
+
* MageryThemes does not provide extension support in case of
|
20 |
* incorrect edition usage.
|
21 |
*
|
22 |
* DISCLAIMER
|
26 |
*
|
27 |
* @category Wfs
|
28 |
* @package Wfs_DisableEmails
|
29 |
+
* @copyright Copyright (c) 2012 MageryThemes (http://webflakestudio.com)
|
30 |
+
* @license http://magery-themes.com/MAGERY-LICENSE.txt
|
31 |
*/
|
32 |
-->
|
33 |
<config>
|
app/etc/modules/Wfs_DisableEmails.xml
CHANGED
@@ -1,22 +1,22 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
4 |
-
*
|
5 |
*
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
* This source file is subject to the EULA
|
9 |
* that is bundled with this package in the file LICENSE.txt.
|
10 |
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://
|
12 |
*
|
13 |
*
|
14 |
* MAGENTO EDITION USAGE NOTICE
|
15 |
*
|
16 |
* This package designed for Magento COMMUNITY edition
|
17 |
-
*
|
18 |
* on any other Magento edition except Magento COMMUNITY edition.
|
19 |
-
*
|
20 |
* incorrect edition usage.
|
21 |
*
|
22 |
* DISCLAIMER
|
@@ -26,8 +26,8 @@
|
|
26 |
*
|
27 |
* @category Wfs
|
28 |
* @package Wfs_DisableEmails
|
29 |
-
* @copyright Copyright (c) 2012
|
30 |
-
* @license http://
|
31 |
*/
|
32 |
-->
|
33 |
<config>
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
/**
|
4 |
+
* MageryThemes
|
5 |
*
|
6 |
* NOTICE OF LICENSE
|
7 |
*
|
8 |
* This source file is subject to the EULA
|
9 |
* that is bundled with this package in the file LICENSE.txt.
|
10 |
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://magery-themes.com/MAGERY-LICENSE.txt
|
12 |
*
|
13 |
*
|
14 |
* MAGENTO EDITION USAGE NOTICE
|
15 |
*
|
16 |
* This package designed for Magento COMMUNITY edition
|
17 |
+
* MageryThemes does not guarantee correct work of this extension
|
18 |
* on any other Magento edition except Magento COMMUNITY edition.
|
19 |
+
* MageryThemes does not provide extension support in case of
|
20 |
* incorrect edition usage.
|
21 |
*
|
22 |
* DISCLAIMER
|
26 |
*
|
27 |
* @category Wfs
|
28 |
* @package Wfs_DisableEmails
|
29 |
+
* @copyright Copyright (c) 2012 MageryThemes (http://webflakestudio.com)
|
30 |
+
* @license http://magery-themes.com/MAGERY-LICENSE.txt
|
31 |
*/
|
32 |
-->
|
33 |
<config>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Wfs_DisableEmails</name>
|
4 |
-
<version>1.0
|
5 |
<stability>stable</stability>
|
6 |
-
<license uri="http://
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This extension allows to disable specific email notifications in Magento.</summary>
|
10 |
<description>Disable Emails extension from WebFlakeStudio allows to disable specific email notifications in Magento store. In some cases it is needed to disable particular transactional email. You can do this easily with Wfs_DisableEmails module. This extension can be used to disable all native Magento email notifications and even notifications of custom modules.</description>
|
11 |
<notes>Fixed core issue: warning on system config save for dynamic fields (eg. disable modules output).</notes>
|
12 |
<authors><author><name>WebFlakeStudio</name><user>WebFlakeStudio</user><email>webflakestudio@gmail.com</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Wfs"><dir name="DisableEmails"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="DisableEmails.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Wfs_DisableEmails</name>
|
4 |
+
<version>1.2.0</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license uri="http://magery-themes.com/MAGERY-LICENSE.txt">Custom</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This extension allows to disable specific email notifications in Magento.</summary>
|
10 |
<description>Disable Emails extension from WebFlakeStudio allows to disable specific email notifications in Magento store. In some cases it is needed to disable particular transactional email. You can do this easily with Wfs_DisableEmails module. This extension can be used to disable all native Magento email notifications and even notifications of custom modules.</description>
|
11 |
<notes>Fixed core issue: warning on system config save for dynamic fields (eg. disable modules output).</notes>
|
12 |
<authors><author><name>WebFlakeStudio</name><user>WebFlakeStudio</user><email>webflakestudio@gmail.com</email></author></authors>
|
13 |
+
<date>2016-10-28</date>
|
14 |
+
<time>20:04:38</time>
|
15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Wfs_DisableEmails.xml" hash="f71ceb680e1037ec59823b1c635df2ad"/></dir></target><target name="magecommunity"><dir name="Wfs"><dir name="DisableEmails"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="DisableEmails.php" hash="cd670b48f115efde99170682128cb2bd"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="8980f36b2bc88a57b5956df185e801cf"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="Config"><file name="Data.php" hash="2fa94e2f8296fcce33b93d03a36255db"/></dir></dir><dir name="Email"><dir name="Template"><file name="Mailer.php" hash="9b1cc0135f09d9fdf70164963481c809"/></dir><file name="Template.php" hash="44d1bd2727b5ebb46217bd1a5b6888cc"/></dir></dir><file name="WFS-LICENSE-COMMUNITY.txt" hash="9c81d8da88f93ed3884db1f79e4a63d5"/><dir name="etc"><file name="config.xml" hash="7f346d2e19ae6b1048581ed5d48d07da"/><file name="system.xml" hash="ce0c17e990fe107ec4f68e61149a6f0c"/></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|