Version Notes
Please note first test all modules in a test store then install theme on your production. Always create a backup of your store, before any extension installation.
Download this release
Release Info
Developer | Hassan Barza |
Extension | Codnitive_IranianRegions |
Version | 1.7.00 |
Comparing to | |
See all releases |
Version 1.7.00
- app/code/community/Codnitive/IranianRegions/Helper/Data.php +31 -0
- app/code/community/Codnitive/IranianRegions/etc/adminhtml.xml +48 -0
- app/code/community/Codnitive/IranianRegions/etc/config.xml +95 -0
- app/code/community/Codnitive/IranianRegions/etc/system.xml +47 -0
- app/code/community/Codnitive/IranianRegions/sql/iranianregions_setup/mysql4-install-0.1.0.php +77 -0
- app/code/community/Codnitive/IranianRegions/sql/iranianregions_setup/mysql4-upgrade-0.1.0-1.2.0.php +31 -0
- app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/Contact.php +36 -0
- app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/ECD.php +26 -0
- app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/Extensions/List.php +56 -0
- app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/PCD.php +26 -0
- app/code/local/Codnitive/Codall/Helper/Data.php +25 -0
- app/code/local/Codnitive/Codall/etc/adminhtml.xml +48 -0
- app/code/local/Codnitive/Codall/etc/config.xml +106 -0
- app/code/local/Codnitive/Codall/etc/system.xml +64 -0
- app/etc/modules/Codnitive_Codall.xml +33 -0
- app/etc/modules/Codnitive_IranianRegions.xml +33 -0
- app/locale/en_US/Codnitive_Codall.csv +3 -0
- app/locale/en_US/Codnitive_IranianRegions.csv +3 -0
- app/locale/fa_IR/Codnitive_Codall.csv +3 -0
- app/locale/fa_IR/Codnitive_IranianRegions.csv +3 -0
- package.xml +18 -0
app/code/community/Codnitive/IranianRegions/Helper/Data.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
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://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category Codnitive
|
22 |
+
* @package Codnitive_IranianRegions
|
23 |
+
* @author Hassan Barza <support@codnitive.com>
|
24 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
25 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
class Codnitive_IranianRegions_Helper_Data extends Mage_Core_Helper_Data
|
29 |
+
{
|
30 |
+
|
31 |
+
}
|
app/code/community/Codnitive/IranianRegions/etc/adminhtml.xml
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
*
|
12 |
+
* DISCLAIMER
|
13 |
+
*
|
14 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
15 |
+
* versions in the future. If you wish to customize Magento for your
|
16 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
17 |
+
*
|
18 |
+
* @category Codnitive
|
19 |
+
* @package Codnitive_IranianRegions
|
20 |
+
* @author Hassan Barza <support@codnitive.com>
|
21 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
22 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
23 |
+
*/
|
24 |
+
-->
|
25 |
+
<config>
|
26 |
+
<acl>
|
27 |
+
<resources>
|
28 |
+
<all>
|
29 |
+
<title>Allow Everything</title>
|
30 |
+
</all>
|
31 |
+
<admin>
|
32 |
+
<children>
|
33 |
+
<system>
|
34 |
+
<children>
|
35 |
+
<config>
|
36 |
+
<children>
|
37 |
+
<codnitivegeneral>
|
38 |
+
<title>CODNITIVE General</title>
|
39 |
+
</codnitivegeneral>
|
40 |
+
</children>
|
41 |
+
</config>
|
42 |
+
</children>
|
43 |
+
</system>
|
44 |
+
</children>
|
45 |
+
</admin>
|
46 |
+
</resources>
|
47 |
+
</acl>
|
48 |
+
</config>
|
app/code/community/Codnitive/IranianRegions/etc/config.xml
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
*
|
12 |
+
* DISCLAIMER
|
13 |
+
*
|
14 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
15 |
+
* versions in the future. If you wish to customize Magento for your
|
16 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
17 |
+
*
|
18 |
+
* @category Codnitive
|
19 |
+
* @package Codnitive_IranianRegions
|
20 |
+
* @author Hassan Barza <support@codnitive.com>
|
21 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
22 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
23 |
+
*/
|
24 |
+
-->
|
25 |
+
<config>
|
26 |
+
<modules>
|
27 |
+
<Codnitive_IranianRegions>
|
28 |
+
<version>1.7.00</version>
|
29 |
+
<title>Iranian Regions NE</title>
|
30 |
+
<link><![CDATA[http://www.codnitive.com/]]></link>
|
31 |
+
</Codnitive_IranianRegions>
|
32 |
+
</modules>
|
33 |
+
<global>
|
34 |
+
<helpers>
|
35 |
+
<iranianregions>
|
36 |
+
<class>Codnitive_IranianRegions_Helper</class>
|
37 |
+
</iranianregions>
|
38 |
+
</helpers>
|
39 |
+
<resources>
|
40 |
+
<iranianregions_setup>
|
41 |
+
<setup>
|
42 |
+
<module>Codnitive_IranianRegions</module>
|
43 |
+
</setup>
|
44 |
+
<connection>
|
45 |
+
<use>core_setup</use>
|
46 |
+
</connection>
|
47 |
+
</iranianregions_setup>
|
48 |
+
<iranianregions_write>
|
49 |
+
<connection>
|
50 |
+
<use>core_write</use>
|
51 |
+
</connection>
|
52 |
+
</iranianregions_write>
|
53 |
+
<iranianregions_read>
|
54 |
+
<connection>
|
55 |
+
<use>core_read</use>
|
56 |
+
</connection>
|
57 |
+
</iranianregions_read>
|
58 |
+
</resources>
|
59 |
+
</global>
|
60 |
+
|
61 |
+
<adminhtml>
|
62 |
+
<acl>
|
63 |
+
<resources>
|
64 |
+
<all>
|
65 |
+
<title>Allow Everything</title>
|
66 |
+
</all>
|
67 |
+
<admin>
|
68 |
+
<children>
|
69 |
+
<system>
|
70 |
+
<children>
|
71 |
+
<config>
|
72 |
+
<children>
|
73 |
+
<codnitivegeneral>
|
74 |
+
<title>CODNITIVE General</title>
|
75 |
+
</codnitivegeneral>
|
76 |
+
</children>
|
77 |
+
</config>
|
78 |
+
</children>
|
79 |
+
</system>
|
80 |
+
</children>
|
81 |
+
</admin>
|
82 |
+
</resources>
|
83 |
+
</acl>
|
84 |
+
|
85 |
+
<translate>
|
86 |
+
<modules>
|
87 |
+
<Codnitive_IranianRegions>
|
88 |
+
<files>
|
89 |
+
<default>Codnitive_IranianRegions.csv</default>
|
90 |
+
</files>
|
91 |
+
</Codnitive_IranianRegions>
|
92 |
+
</modules>
|
93 |
+
</translate>
|
94 |
+
</adminhtml>
|
95 |
+
</config>
|
app/code/community/Codnitive/IranianRegions/etc/system.xml
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
*
|
12 |
+
* DISCLAIMER
|
13 |
+
*
|
14 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
15 |
+
* versions in the future. If you wish to customize Magento for your
|
16 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
17 |
+
*
|
18 |
+
* @category Codnitive
|
19 |
+
* @package Codnitive_IranianRegions
|
20 |
+
* @author Hassan Barza <support@codnitive.com>
|
21 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
22 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
23 |
+
*/
|
24 |
+
-->
|
25 |
+
<config>
|
26 |
+
<sections>
|
27 |
+
<codnitivegeneral translate="label" module="iranianregions">
|
28 |
+
<label>General</label>
|
29 |
+
<tab>codall</tab>
|
30 |
+
<frontend_type>text</frontend_type>
|
31 |
+
<sort_order>100</sort_order>
|
32 |
+
<show_in_default>1</show_in_default>
|
33 |
+
<show_in_website>1</show_in_website>
|
34 |
+
<show_in_store>1</show_in_store>
|
35 |
+
<groups>
|
36 |
+
<iranianregions translate="label" module="iranianregions">
|
37 |
+
<label>Iranian Regions NE</label>
|
38 |
+
<sort_order>10</sort_order>
|
39 |
+
<show_in_default>1</show_in_default>
|
40 |
+
<show_in_website>0</show_in_website>
|
41 |
+
<show_in_store>0</show_in_store>
|
42 |
+
<comment><![CDATA[This extension adds Iranian regions list to your magento store.<br />There is not no configuration option for this extension.]]></comment>
|
43 |
+
</iranianregions>
|
44 |
+
</groups>
|
45 |
+
</codnitivegeneral>
|
46 |
+
</sections>
|
47 |
+
</config>
|
app/code/community/Codnitive/IranianRegions/sql/iranianregions_setup/mysql4-install-0.1.0.php
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* It is also available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php
|
10 |
+
*
|
11 |
+
* DISCLAIMER
|
12 |
+
*
|
13 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
14 |
+
* versions in the future. If you wish to customize Magento for your
|
15 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
16 |
+
*
|
17 |
+
* @category Codnitive
|
18 |
+
* @package Codnitive_IranianRegions
|
19 |
+
* @author Hassan Barza <support@codnitive.com>
|
20 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
21 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
22 |
+
*/
|
23 |
+
|
24 |
+
$installer = $this;
|
25 |
+
|
26 |
+
$installer->startSetup();
|
27 |
+
|
28 |
+
$installer->run("
|
29 |
+
INSERT INTO `{$installer->getTable('directory_country_region')}` (`country_id`, `code`, `default_name`)
|
30 |
+
VALUES
|
31 |
+
('IR', 'AZEA', 'آذربایجان شرقی'),
|
32 |
+
('IR', 'AZWE', 'آذربایجان غربی'),
|
33 |
+
('IR', 'ARIL', 'اردبیل'),
|
34 |
+
('IR', 'ISAN', 'اصفهان'),
|
35 |
+
('IR', 'ALRZ', 'البرز'),
|
36 |
+
('IR', 'ILAM', 'ایلام'),
|
37 |
+
('IR', 'BUHR', 'بوشهر'),
|
38 |
+
('IR', 'TEAN', 'تهران'),
|
39 |
+
('IR', 'CHBA', 'چهارمحال و بختیاری'),
|
40 |
+
('IR', 'KHSO', 'خراسان جنوبی'),
|
41 |
+
('IR', 'KHRA', 'خراسان رضوی'),
|
42 |
+
('IR', 'KHNO', 'خراسان شمالی'),
|
43 |
+
('IR', 'KHAN', 'خوزستان'),
|
44 |
+
('IR', 'ZAAN', 'زنجان'),
|
45 |
+
('IR', 'SEAN', 'سمنان'),
|
46 |
+
('IR', 'SIBA', 'سیستان و بلوچستان'),
|
47 |
+
('IR', 'FARS', 'فارس'),
|
48 |
+
('IR', 'QAIN', 'قزوین'),
|
49 |
+
('IR', 'QOM-', 'قم'),
|
50 |
+
('IR', 'KOAN', 'کردستان'),
|
51 |
+
('IR', 'KEAN', 'کرمان'),
|
52 |
+
('IR', 'KEAH', 'کرمانشاه'),
|
53 |
+
('IR', 'KOBO', 'کهگیلویه و بویراحمد'),
|
54 |
+
('IR', 'GOAN', 'گلستان'),
|
55 |
+
('IR', 'GIAN', 'گیلان'),
|
56 |
+
('IR', 'LOAN', 'لرستان'),
|
57 |
+
('IR', 'MAAN', 'مازندران'),
|
58 |
+
('IR', 'MAZI', 'مرکزی'),
|
59 |
+
('IR', 'HOAN', 'هرمزگان'),
|
60 |
+
('IR', 'HAAN', 'همدان'),
|
61 |
+
('IR', 'YAZD', 'یزد');
|
62 |
+
|
63 |
+
REPLACE INTO `{$installer->getTable('directory_country_region_name')}` (`locale`, `region_id`, `name`)
|
64 |
+
(SELECT 'en_US', `region_id`, `default_name` FROM `{$installer->getTable('directory_country_region')}` WHERE `country_id` = 'IR')
|
65 |
+
UNION
|
66 |
+
(SELECT 'fr_FR', `region_id`, `default_name` FROM `{$installer->getTable('directory_country_region')}` WHERE `country_id` = 'IR')
|
67 |
+
UNION
|
68 |
+
(SELECT 'de_DE', `region_id`, `default_name` FROM `{$installer->getTable('directory_country_region')}` WHERE `country_id` = 'IR')
|
69 |
+
UNION
|
70 |
+
(SELECT 'es_ES', `region_id`, `default_name` FROM `{$installer->getTable('directory_country_region')}` WHERE `country_id` = 'IR')
|
71 |
+
UNION
|
72 |
+
(SELECT 'it_IT', `region_id`, `default_name` FROM `{$installer->getTable('directory_country_region')}` WHERE `country_id` = 'IR')
|
73 |
+
UNION
|
74 |
+
(SELECT 'pt_PT', `region_id`, `default_name` FROM `{$installer->getTable('directory_country_region')}` WHERE `country_id` = 'IR');
|
75 |
+
");
|
76 |
+
|
77 |
+
$installer->endSetup();
|
app/code/community/Codnitive/IranianRegions/sql/iranianregions_setup/mysql4-upgrade-0.1.0-1.2.0.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* It is also available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php
|
10 |
+
*
|
11 |
+
* DISCLAIMER
|
12 |
+
*
|
13 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
14 |
+
* versions in the future. If you wish to customize Magento for your
|
15 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
16 |
+
*
|
17 |
+
* @category Codnitive
|
18 |
+
* @package Codnitive_IranianRegions
|
19 |
+
* @author Hassan Barza <support@codnitive.com>
|
20 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
21 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
22 |
+
*/
|
23 |
+
|
24 |
+
$installer = $this;
|
25 |
+
|
26 |
+
$installer->run("
|
27 |
+
REPLACE INTO `{$installer->getTable('directory_country_region_name')}` (`locale`, `region_id`, `name`)
|
28 |
+
(SELECT 'it_IT', `region_id`, `default_name` FROM `{$installer->getTable('directory_country_region')}` WHERE `country_id` = 'IR')
|
29 |
+
UNION
|
30 |
+
(SELECT 'pt_PT', `region_id`, `default_name` FROM `{$installer->getTable('directory_country_region')}` WHERE `country_id` = 'IR');
|
31 |
+
");
|
app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/Contact.php
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
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://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Codnitive
|
16 |
+
* @package Codnitive_Codall
|
17 |
+
* @author Hassan Barza <support@codnitive.com>
|
18 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
class Codnitive_Codall_Block_System_Config_Form_Fieldset_Contact
|
22 |
+
extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
|
23 |
+
{
|
24 |
+
public function render(Varien_Data_Form_Element_Abstract $element)
|
25 |
+
{
|
26 |
+
$local = Mage::app()->getLocale()->getLocaleCode();
|
27 |
+
$html = $this->_getHeaderHtml($element);
|
28 |
+
if ($local == 'fa_IR')
|
29 |
+
$html .= include 'PCD.php';
|
30 |
+
else
|
31 |
+
$html .= include 'ECD.php';
|
32 |
+
$html .= $this->_getFooterHtml($element);
|
33 |
+
|
34 |
+
return $html;
|
35 |
+
}
|
36 |
+
}
|
app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/ECD.php
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
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://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Codnitive
|
16 |
+
* @package Codnitive_Codall
|
17 |
+
* @author Hassan Barza <support@codnitive.com>
|
18 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
return <<<ECD
|
22 |
+
|
23 |
+
<p>Please visit <a href='http://www.codnitive.com/en/' target='_blank'>our website</a>, for more extensions.</p>
|
24 |
+
<p>You can contact us via <a href='http://www.codnitive.com/en/contacts/' target='_blank'>our website</a> or at <a href='mailto:support@codnitive.com' target='_blank'>support@codnitive.com</a>, if you have any question.</p>
|
25 |
+
|
26 |
+
ECD;
|
app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/Extensions/List.php
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
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://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Codnitive
|
16 |
+
* @package Codnitive_Codall
|
17 |
+
* @author Hassan Barza <support@codnitive.com>
|
18 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
class Codnitive_Codall_Block_System_Config_Form_Fieldset_Extensions_List
|
22 |
+
extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
|
23 |
+
{
|
24 |
+
public function render(Varien_Data_Form_Element_Abstract $element)
|
25 |
+
{
|
26 |
+
$html = $this->_getHeaderHtml($element);
|
27 |
+
$modules = Mage::getConfig()->getNode('modules')->children();
|
28 |
+
$linkTitle = Mage::helper('codall')->__('Goto Extension Page');
|
29 |
+
|
30 |
+
foreach ($modules as $moduleName => $values) {
|
31 |
+
if (0 !== strpos($moduleName, 'Codnitive_')) {
|
32 |
+
continue;
|
33 |
+
}
|
34 |
+
/*if($moduleName == 'Codnitive_Codall'){
|
35 |
+
continue;
|
36 |
+
}*/
|
37 |
+
if ($values->title) {
|
38 |
+
$moduleName = (string) $values->title;
|
39 |
+
}
|
40 |
+
// if ($values->link) {
|
41 |
+
// $link = (string) $values->link;
|
42 |
+
// $moduleName = "<a href='{$link}' target='_blank' title='{$linkTitle}'>{$moduleName}</a>";
|
43 |
+
// }
|
44 |
+
|
45 |
+
$field = $element->addField($moduleName, 'label', array(
|
46 |
+
'label' => $moduleName,
|
47 |
+
'value' => (string) $values->version
|
48 |
+
));
|
49 |
+
$html .= $field->toHtml();
|
50 |
+
}
|
51 |
+
|
52 |
+
$html .= $this->_getFooterHtml($element);
|
53 |
+
|
54 |
+
return $html;
|
55 |
+
}
|
56 |
+
}
|
app/code/local/Codnitive/Codall/Block/System/Config/Form/Fieldset/PCD.php
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
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://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Codnitive
|
16 |
+
* @package Codnitive_Codall
|
17 |
+
* @author Hassan Barza <support@codnitive.com>
|
18 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
return <<<PCD
|
22 |
+
|
23 |
+
<p> برای اکستنشنهای بیشتر، لطفا از <a href='http://www.codnitive.com/fa/' target='_blank'> وبسایت ما</a>, بازدید نمایید.</p>
|
24 |
+
<p> در صورت داشت هر گونه سوال، شما میتوانید با ما از طریق <a href='http://www.codnitive.com/fa/contacts/' target='_blank'> وبسایتمان</a> یا <a href='mailto:support@codnitive.com' target='_blank'>support@codnitive.com</a>, تماس بگیرید.</p>
|
25 |
+
|
26 |
+
PCD;
|
app/code/local/Codnitive/Codall/Helper/Data.php
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
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://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Codnitive
|
16 |
+
* @package Codnitive_Codall
|
17 |
+
* @author Hassan Barza <support@codnitive.com>
|
18 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
|
22 |
+
class Codnitive_Codall_Helper_Data extends Mage_Core_Helper_Data
|
23 |
+
{
|
24 |
+
|
25 |
+
}
|
app/code/local/Codnitive/Codall/etc/adminhtml.xml
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
*
|
12 |
+
* DISCLAIMER
|
13 |
+
*
|
14 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
15 |
+
* versions in the future. If you wish to customize Magento for your
|
16 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
17 |
+
*
|
18 |
+
* @category Codnitive
|
19 |
+
* @package Codnitive_Codall
|
20 |
+
* @author Hassan Barza <support@codnitive.com>
|
21 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
22 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
23 |
+
*/
|
24 |
+
-->
|
25 |
+
<config>
|
26 |
+
<acl>
|
27 |
+
<resources>
|
28 |
+
<all>
|
29 |
+
<title>Allow Everything</title>
|
30 |
+
</all>
|
31 |
+
<admin>
|
32 |
+
<children>
|
33 |
+
<system>
|
34 |
+
<children>
|
35 |
+
<config>
|
36 |
+
<children>
|
37 |
+
<codall>
|
38 |
+
<title>CODNITIVE Information</title>
|
39 |
+
</codall>
|
40 |
+
</children>
|
41 |
+
</config>
|
42 |
+
</children>
|
43 |
+
</system>
|
44 |
+
</children>
|
45 |
+
</admin>
|
46 |
+
</resources>
|
47 |
+
</acl>
|
48 |
+
</config>
|
app/code/local/Codnitive/Codall/etc/config.xml
ADDED
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
*
|
12 |
+
* DISCLAIMER
|
13 |
+
*
|
14 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
15 |
+
* versions in the future. If you wish to customize Magento for your
|
16 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
17 |
+
*
|
18 |
+
* @category Codnitive
|
19 |
+
* @package Codnitive_Codall
|
20 |
+
* @author Hassan Barza <support@codnitive.com>
|
21 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
22 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
23 |
+
*/
|
24 |
+
-->
|
25 |
+
<config>
|
26 |
+
<modules>
|
27 |
+
<Codnitive_Codall>
|
28 |
+
<version>1.0.29</version>
|
29 |
+
<title>CODNITIVE® Information</title>
|
30 |
+
<link><![CDATA[http://www.codnitive.com/]]></link>
|
31 |
+
</Codnitive_Codall>
|
32 |
+
</modules>
|
33 |
+
|
34 |
+
<global>
|
35 |
+
<models>
|
36 |
+
<codall>
|
37 |
+
<class>Codnitive_Codall_Model</class>
|
38 |
+
</codall>
|
39 |
+
</models>
|
40 |
+
<helpers>
|
41 |
+
<codall>
|
42 |
+
<class>Codnitive_Codall_Helper</class>
|
43 |
+
</codall>
|
44 |
+
</helpers>
|
45 |
+
<resources>
|
46 |
+
<codall_setup>
|
47 |
+
<setup>
|
48 |
+
<module>Codnitive_Codall</module>
|
49 |
+
</setup>
|
50 |
+
<connection>
|
51 |
+
<use>core_setup</use>
|
52 |
+
</connection>
|
53 |
+
</codall_setup>
|
54 |
+
<codall_write>
|
55 |
+
<connection>
|
56 |
+
<use>core_write</use>
|
57 |
+
</connection>
|
58 |
+
</codall_write>
|
59 |
+
<codall_read>
|
60 |
+
<connection>
|
61 |
+
<use>core_read</use>
|
62 |
+
</connection>
|
63 |
+
</codall_read>
|
64 |
+
</resources>
|
65 |
+
<blocks>
|
66 |
+
<codall>
|
67 |
+
<class>Codnitive_Codall_Block</class>
|
68 |
+
</codall>
|
69 |
+
</blocks>
|
70 |
+
</global>
|
71 |
+
|
72 |
+
<adminhtml>
|
73 |
+
<translate>
|
74 |
+
<modules>
|
75 |
+
<Codnitive_Codall>
|
76 |
+
<files>
|
77 |
+
<default>Codnitive_Codall.csv</default>
|
78 |
+
</files>
|
79 |
+
</Codnitive_Codall>
|
80 |
+
</modules>
|
81 |
+
</translate>
|
82 |
+
|
83 |
+
<acl>
|
84 |
+
<resources>
|
85 |
+
<all>
|
86 |
+
<title>Allow Everything</title>
|
87 |
+
</all>
|
88 |
+
<admin>
|
89 |
+
<children>
|
90 |
+
<system>
|
91 |
+
<children>
|
92 |
+
<config>
|
93 |
+
<children>
|
94 |
+
<codall>
|
95 |
+
<title>CODNITIVE Information</title>
|
96 |
+
</codall>
|
97 |
+
</children>
|
98 |
+
</config>
|
99 |
+
</children>
|
100 |
+
</system>
|
101 |
+
</children>
|
102 |
+
</admin>
|
103 |
+
</resources>
|
104 |
+
</acl>
|
105 |
+
</adminhtml>
|
106 |
+
</config>
|
app/code/local/Codnitive/Codall/etc/system.xml
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
*
|
12 |
+
* DISCLAIMER
|
13 |
+
*
|
14 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
15 |
+
* versions in the future. If you wish to customize Magento for your
|
16 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
17 |
+
*
|
18 |
+
* @category Codnitive
|
19 |
+
* @package Codnitive_Codall
|
20 |
+
* @author Hassan Barza <support@codnitive.com>
|
21 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
22 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
23 |
+
*/
|
24 |
+
-->
|
25 |
+
<config>
|
26 |
+
<tabs>
|
27 |
+
<codall translate="label" module="codall">
|
28 |
+
<label>CODNITIVE</label>
|
29 |
+
<sort_order>250</sort_order>
|
30 |
+
</codall>
|
31 |
+
</tabs>
|
32 |
+
|
33 |
+
<sections>
|
34 |
+
<codall translate="label" module="codall">
|
35 |
+
<label>Information</label>
|
36 |
+
<tab>codall</tab>
|
37 |
+
<frontend_type>text</frontend_type>
|
38 |
+
<sort_order>99999</sort_order>
|
39 |
+
<show_in_default>1</show_in_default>
|
40 |
+
<show_in_website>1</show_in_website>
|
41 |
+
<show_in_store>1</show_in_store>
|
42 |
+
<groups>
|
43 |
+
<contact translate="label comment" module="codall">
|
44 |
+
<label>Contact</label>
|
45 |
+
<frontend_type>text</frontend_type>
|
46 |
+
<frontend_model>codall/system_config_form_fieldset_contact</frontend_model>
|
47 |
+
<sort_order>10</sort_order>
|
48 |
+
<show_in_default>1</show_in_default>
|
49 |
+
<show_in_website>1</show_in_website>
|
50 |
+
<show_in_store>1</show_in_store>
|
51 |
+
</contact>
|
52 |
+
<extensions translate="label" module="codall">
|
53 |
+
<label>Installed Extensions</label>
|
54 |
+
<frontend_type>text</frontend_type>
|
55 |
+
<frontend_model>codall/system_config_form_fieldset_extensions_list</frontend_model>
|
56 |
+
<sort_order>20</sort_order>
|
57 |
+
<show_in_default>1</show_in_default>
|
58 |
+
<show_in_website>1</show_in_website>
|
59 |
+
<show_in_store>1</show_in_store>
|
60 |
+
</extensions>
|
61 |
+
</groups>
|
62 |
+
</codall>
|
63 |
+
</sections>
|
64 |
+
</config>
|
app/etc/modules/Codnitive_Codall.xml
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
*
|
12 |
+
* DISCLAIMER
|
13 |
+
*
|
14 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
15 |
+
* versions in the future. If you wish to customize Magento for your
|
16 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
17 |
+
*
|
18 |
+
* @category Codnitive
|
19 |
+
* @package Codnitive_Codall
|
20 |
+
* @author Hassan Barza <support@codnitive.com>
|
21 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
22 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
23 |
+
*/
|
24 |
+
-->
|
25 |
+
<config>
|
26 |
+
<modules>
|
27 |
+
<Codnitive_Codall>
|
28 |
+
<active>true</active>
|
29 |
+
<codePool>local</codePool>
|
30 |
+
<version>1.0.29</version>
|
31 |
+
</Codnitive_Codall>
|
32 |
+
</modules>
|
33 |
+
</config>
|
app/etc/modules/Codnitive_IranianRegions.xml
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
*
|
12 |
+
* DISCLAIMER
|
13 |
+
*
|
14 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
15 |
+
* versions in the future. If you wish to customize Magento for your
|
16 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
17 |
+
*
|
18 |
+
* @category Codnitive
|
19 |
+
* @package Codnitive_IranianRegions
|
20 |
+
* @author Hassan Barza <support@codnitive.com>
|
21 |
+
* @copyright Copyright (c) 2011 CODNITIVE Co. (http://www.codnitive.com)
|
22 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
23 |
+
*/
|
24 |
+
-->
|
25 |
+
<config>
|
26 |
+
<modules>
|
27 |
+
<Codnitive_IranianRegions>
|
28 |
+
<active>true</active>
|
29 |
+
<codePool>community</codePool>
|
30 |
+
<version>1.7.00</version>
|
31 |
+
</Codnitive_IranianRegions>
|
32 |
+
</modules>
|
33 |
+
</config>
|
app/locale/en_US/Codnitive_Codall.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
"Information","Information"
|
2 |
+
"Contact","Contact"
|
3 |
+
"Installed Extensions","Installed Extensions"
|
app/locale/en_US/Codnitive_IranianRegions.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
"General","General"
|
2 |
+
"Iranian Regions NE","Iranian Regions NE"
|
3 |
+
"This extension adds Iranian regions list to your magento store.<br />There is not no configuration option for this extension.","This extension adds Iranian regions list to your magento store.<br />There is not no configuration option for this extension."
|
app/locale/fa_IR/Codnitive_Codall.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
"Information","اطلاعات"
|
2 |
+
"Contact","تماس"
|
3 |
+
"Installed Extensions","اکستنشنهای نصب شده"
|
app/locale/fa_IR/Codnitive_IranianRegions.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
"General","عمومی"
|
2 |
+
"Iranian Regions NE","استانهای ایران وج"
|
3 |
+
"This extension adds Iranian regions list to your magento store.<br />There is not no configuration option for this extension.","این اکستنشن لیست استانهای ایران را به فروشگاه مجنتویتان اضافه میکند. <br />گزینهی پیکربندی برای این اکستنشن وجود ندارد."
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Codnitive_IranianRegions</name>
|
4 |
+
<version>1.7.00</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://www.opensource.org/licenses/gpl-3.0.html">GNU General Public License, version 3 (GPLv3)</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>Adds list of Iranian regions to Magento.</summary>
|
10 |
+
<description>This extension adds Iranian regions list to your Magento store. Regions names for different locales are in Persian (Farsi).</description>
|
11 |
+
<notes>Please note first test all modules in a test store then install theme on your production. Always create a backup of your store, before any extension installation.</notes>
|
12 |
+
<authors><author><name>Hassan Barza</name><user>hbarza</user><email>support@codnitive.com</email></author></authors>
|
13 |
+
<date>2012-05-01</date>
|
14 |
+
<time>22:50:12</time>
|
15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Codnitive_Codall.xml" hash="6e18a95e6783cbdfc9d51c5853265eaa"/><file name="Codnitive_IranianRegions.xml" hash="450e8f33e9ca1c7349898940ff657b27"/></dir></target><target name="magelocal"><dir name="Codnitive"><dir name="Codall"><dir><dir name="Block"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="Contact.php" hash="62e20a1f93c1b0394a5b1f1fefe09447"/><file name="ECD.php" hash="b0a8c85e5c2d20f513ca17fc5b58ab35"/><dir name="Extensions"><file name="List.php" hash="b06731682a2f24f6b50f01166c4dc4f2"/></dir><file name="PCD.php" hash="b821a4ed3d705567a9d82fb3910d4b50"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="db05202ae83bf9e4cc4454acb5fd8615"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0bed954bf2a459b1f5d6a25050d770d7"/><file name="config.xml" hash="2b54846594d6ca90381a3b5937bd3443"/><file name="system.xml" hash="287da42ea1c5bdf169365f1b54529cd4"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Codnitive_Codall.csv" hash="bea852e5e3c3f17c54d3c21e96115c68"/><file name="Codnitive_IranianRegions.csv" hash="46a7e5e225ee2c41bd543127698e14e3"/></dir><dir name="fa_IR"><file name="Codnitive_Codall.csv" hash="3691ccfe6c605575aace69417351e0f7"/><file name="Codnitive_IranianRegions.csv" hash="a40a359c44df54b5a6cd7972789982c6"/></dir></target><target name="magecommunity"><dir name="Codnitive"><dir><dir name="IranianRegions"><dir name="Helper"><file name="Data.php" hash="c075d7366ddee9b0ba1334ac8c01a835"/></dir><dir name="etc"><file name="adminhtml.xml" hash="9bb40a0e41d6b848a452a600afcf9005"/><file name="config.xml" hash="96f4ae11800a081f2a475172fe68978f"/><file name="system.xml" hash="5cce10d6c19e9ff010ec19a3fe1d75f5"/></dir><dir name="sql"><dir name="iranianregions_setup"><file name="mysql4-install-0.1.0.php" hash="ab801823292199bebbbf5fc6bb82acc8"/><file name="mysql4-upgrade-0.1.0-1.2.0.php" hash="4db25ccf65952c41937f10157497a183"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.2.9</min><max>6.0.0</max></php></required></dependencies>
|
18 |
+
</package>
|