Version Notes
Папка темы и расширений изменила расположение, переместившись из local в community. Исправилена ошибка при нажатии на кнопку Add to Cart: при включенном кэшировании продукт не всегда добавлялся.
Download this release
Release Info
Developer | WebAndPeople |
Extension | wp_theme_grayscale2014 |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.2.1
- app/code/community/WP/AddToCartFormKeyIssueFix/Model/Checkout/Observer.php +10 -0
- app/code/community/WP/AddToCartFormKeyIssueFix/etc/config.xml +26 -0
- app/code/{local → community}/WP/BackToTopButton/Block/System/Config/Form/Field/Array/Abstract.php +0 -0
- app/code/{local → community}/WP/BackToTopButton/Block/System/Config/Form/Field/Array/Regexceptions.php +0 -0
- app/code/{local → community}/WP/BackToTopButton/Block/Toggle.php +0 -0
- app/code/{local → community}/WP/BackToTopButton/Helper/Data.php +0 -0
- app/code/{local → community}/WP/BackToTopButton/etc/config.xml +68 -86
- app/code/{local → community}/WP/BackToTopButton/etc/system.xml +79 -97
- app/code/{local → community}/WP/CustomMenu/Block/Navigation.php +0 -0
- app/code/{local → community}/WP/CustomMenu/Block/Toggle.php +0 -0
- app/code/{local → community}/WP/CustomMenu/Block/Topmenu.php +0 -0
- app/code/{local → community}/WP/CustomMenu/Helper/Data.php +0 -0
- app/code/{local → community}/WP/CustomMenu/controllers/AjaxmenucontentController.php +0 -0
- app/code/{local → community}/WP/CustomMenu/controllers/AjaxmobilemenucontentController.php +0 -0
- app/code/{local → community}/WP/CustomMenu/etc/config.xml +105 -125
- app/code/{local → community}/WP/CustomMenu/etc/system.xml +222 -240
- app/code/{local → community}/WP/SmartCatalog/Block/Product/Promo.php +0 -0
- app/code/{local → community}/WP/SmartCatalog/Block/Toggle.php +0 -0
- app/code/{local → community}/WP/SmartCatalog/Helper/Data.php +0 -0
- app/code/{local → community}/WP/SmartCatalog/Model/Observer.php +0 -0
- app/code/{local → community}/WP/SmartCatalog/etc/config.xml +2 -24
- app/code/{local → community}/WP/SmartCatalog/etc/system.xml +0 -18
- app/code/community/WP/SmartProductImage/Block/About.php +0 -203
- app/code/community/WP/SmartProductImage/etc/config.xml +67 -89
- app/code/community/WP/SmartProductImage/etc/system.xml +59 -77
- app/code/{local → community}/WP/ThemeGrayscale2014/Helper/Data.php +0 -0
- app/code/{local → community}/WP/ThemeGrayscale2014/etc/config.xml +47 -76
- app/code/{local → community}/WP/ThemeGrayscale2014/etc/system.xml +41 -59
- app/code/local/WP/BackToTopButton/Block/About.php +0 -203
- app/code/local/WP/CustomMenu/Block/About.php +0 -203
- app/code/local/WP/SmartCatalog/Block/About.php +0 -203
- app/code/local/WP/ThemeGrayscale2014/Block/About.php +0 -203
- app/etc/modules/WP_AddToCartFormKeyIssueFix.xml +9 -0
- app/etc/modules/WP_BackToTopButton.xml +1 -1
- app/etc/modules/WP_CustomMenu.xml +2 -2
- app/etc/modules/WP_SmartCatalog.xml +1 -1
- app/etc/modules/WP_ThemeGrayscale2014.xml +1 -1
- package.xml +43 -42
app/code/community/WP/AddToCartFormKeyIssueFix/Model/Checkout/Observer.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class WP_AddToCartFormKeyIssueFix_Model_Checkout_Observer
|
4 |
+
{
|
5 |
+
function formKeyFix($observer)
|
6 |
+
{
|
7 |
+
$key = Mage::getSingleton('core/session')->getFormKey();
|
8 |
+
Mage::app()->getRequest()->setParam('form_key', $key);
|
9 |
+
}
|
10 |
+
}
|
app/code/community/WP/AddToCartFormKeyIssueFix/etc/config.xml
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<WP_AddToCartFormKeyIssueFix>
|
5 |
+
<version>1.0.0</version>
|
6 |
+
</WP_AddToCartFormKeyIssueFix>
|
7 |
+
</modules>
|
8 |
+
<global>
|
9 |
+
<models>
|
10 |
+
<wpaddtocartformkeyissuefix>
|
11 |
+
<class>WP_AddToCartFormKeyIssueFix_Model</class>
|
12 |
+
</wpaddtocartformkeyissuefix>
|
13 |
+
</models>
|
14 |
+
<events>
|
15 |
+
<controller_action_predispatch_checkout_cart_add>
|
16 |
+
<observers>
|
17 |
+
<wpaddtocartformkeyissuefix_add_to_cart_before>
|
18 |
+
<type>singleton</type>
|
19 |
+
<class>wpaddtocartformkeyissuefix/checkout_observer</class>
|
20 |
+
<method>formKeyFix</method>
|
21 |
+
</wpaddtocartformkeyissuefix_add_to_cart_before>
|
22 |
+
</observers>
|
23 |
+
</controller_action_predispatch_checkout_cart_add>
|
24 |
+
</events>
|
25 |
+
</global>
|
26 |
+
</config>
|
app/code/{local → community}/WP/BackToTopButton/Block/System/Config/Form/Field/Array/Abstract.php
RENAMED
File without changes
|
app/code/{local → community}/WP/BackToTopButton/Block/System/Config/Form/Field/Array/Regexceptions.php
RENAMED
File without changes
|
app/code/{local → community}/WP/BackToTopButton/Block/Toggle.php
RENAMED
File without changes
|
app/code/{local → community}/WP/BackToTopButton/Helper/Data.php
RENAMED
File without changes
|
app/code/{local → community}/WP/BackToTopButton/etc/config.xml
RENAMED
@@ -1,86 +1,68 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<WP_BackToTopButton>
|
5 |
-
<version>1.3.
|
6 |
-
</WP_BackToTopButton>
|
7 |
-
</modules>
|
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 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
<system>
|
70 |
-
<children>
|
71 |
-
<config>
|
72 |
-
<children>
|
73 |
-
<about_webandpeople translate="title" module="backtotopbutton">
|
74 |
-
<title><![CDATA[Web & People: About Us]]></title>
|
75 |
-
<sort_order>1000</sort_order>
|
76 |
-
</about_webandpeople>
|
77 |
-
</children>
|
78 |
-
</config>
|
79 |
-
</children>
|
80 |
-
</system>
|
81 |
-
</children>
|
82 |
-
</admin>
|
83 |
-
</resources>
|
84 |
-
</acl>
|
85 |
-
</adminhtml>
|
86 |
-
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<WP_BackToTopButton>
|
5 |
+
<version>1.3.2</version>
|
6 |
+
</WP_BackToTopButton>
|
7 |
+
</modules>
|
8 |
+
|
9 |
+
<frontend>
|
10 |
+
<layout>
|
11 |
+
<updates>
|
12 |
+
<backtotopbutton>
|
13 |
+
<file>webandpeople/backtotopbutton.xml</file>
|
14 |
+
</backtotopbutton>
|
15 |
+
</updates>
|
16 |
+
</layout>
|
17 |
+
</frontend>
|
18 |
+
|
19 |
+
<adminhtml>
|
20 |
+
<acl>
|
21 |
+
<resources>
|
22 |
+
<all>
|
23 |
+
<title>Allow Everything</title>
|
24 |
+
</all>
|
25 |
+
<admin>
|
26 |
+
<children>
|
27 |
+
<system>
|
28 |
+
<children>
|
29 |
+
<config>
|
30 |
+
<children>
|
31 |
+
<backtotopbutton translate="title" module="backtotopbutton">
|
32 |
+
<title><![CDATA[Web & People: Back to Top Button]]></title>
|
33 |
+
<sort_order>2000</sort_order>
|
34 |
+
</backtotopbutton>
|
35 |
+
</children>
|
36 |
+
</config>
|
37 |
+
</children>
|
38 |
+
</system>
|
39 |
+
</children>
|
40 |
+
</admin>
|
41 |
+
</resources>
|
42 |
+
</acl>
|
43 |
+
</adminhtml>
|
44 |
+
|
45 |
+
<global>
|
46 |
+
<blocks>
|
47 |
+
<backtotopbutton>
|
48 |
+
<class>WP_BackToTopButton_Block</class>
|
49 |
+
</backtotopbutton>
|
50 |
+
</blocks>
|
51 |
+
<helpers>
|
52 |
+
<backtotopbutton>
|
53 |
+
<class>WP_BackToTopButton_Helper</class>
|
54 |
+
</backtotopbutton>
|
55 |
+
</helpers>
|
56 |
+
</global>
|
57 |
+
|
58 |
+
<default>
|
59 |
+
<backtotopbutton>
|
60 |
+
<general>
|
61 |
+
<enabled>1</enabled>
|
62 |
+
<include_jquery>1</include_jquery>
|
63 |
+
<include_waypoints>1</include_waypoints>
|
64 |
+
<version>1.3.2</version>
|
65 |
+
</general>
|
66 |
+
</backtotopbutton>
|
67 |
+
</default>
|
68 |
+
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/{local → community}/WP/BackToTopButton/etc/system.xml
RENAMED
@@ -1,97 +1,79 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<tabs>
|
4 |
-
<web_and_people translate="label" module="backtotopbutton">
|
5 |
-
<label>Web-And-People</label>
|
6 |
-
<sort_order>150</sort_order>
|
7 |
-
</web_and_people>
|
8 |
-
</tabs>
|
9 |
-
<sections>
|
10 |
-
<backtotopbutton translate="label" module="backtotopbutton">
|
11 |
-
<label>Back to Top Button</label>
|
12 |
-
<tab>web_and_people</tab>
|
13 |
-
<frontend_type>text</frontend_type>
|
14 |
-
<sort_order>200</sort_order>
|
15 |
-
<show_in_default>1</show_in_default>
|
16 |
-
<show_in_website>1</show_in_website>
|
17 |
-
<show_in_store>1</show_in_store>
|
18 |
-
<groups>
|
19 |
-
<general translate="label">
|
20 |
-
<label>General</label>
|
21 |
-
<frontend_type>text</frontend_type>
|
22 |
-
<sort_order>10</sort_order>
|
23 |
-
<show_in_default>1</show_in_default>
|
24 |
-
<show_in_website>1</show_in_website>
|
25 |
-
<show_in_store>1</show_in_store>
|
26 |
-
<fields>
|
27 |
-
<enabled translate="label">
|
28 |
-
<label>Enable</label>
|
29 |
-
<frontend_type>select</frontend_type>
|
30 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
31 |
-
<sort_order>1</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 |
-
</enabled>
|
36 |
-
<disabled_by_regexp translate="label">
|
37 |
-
<label>Disable by Regexp</label>
|
38 |
-
<comment><![CDATA[A regular expression string in the "Matched Expression" is compared with the browser user agent]]></comment>
|
39 |
-
<frontend_model>backtotopbutton/system_config_form_field_array_regexceptions</frontend_model>
|
40 |
-
<backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
|
41 |
-
<sort_order>6</sort_order>
|
42 |
-
<show_in_default>1</show_in_default>
|
43 |
-
<show_in_website>1</show_in_website>
|
44 |
-
<show_in_store>1</show_in_store>
|
45 |
-
</disabled_by_regexp>
|
46 |
-
<include_jquery translate="label comment">
|
47 |
-
<label>Include jQuery 1.8.3</label>
|
48 |
-
<comment>Your website pages might already have one jQuery instance enabled. In this case this value must be set to "No".</comment>
|
49 |
-
<frontend_type>select</frontend_type>
|
50 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
51 |
-
<sort_order>10</sort_order>
|
52 |
-
<show_in_default>1</show_in_default>
|
53 |
-
<show_in_website>1</show_in_website>
|
54 |
-
<show_in_store>1</show_in_store>
|
55 |
-
</include_jquery>
|
56 |
-
<include_waypoints translate="label comment">
|
57 |
-
<label>Include jQuery Waypoints v2.0.2</label>
|
58 |
-
<comment>Your website pages might already have one Waypoints instance enabled. In this case this value must be set to "No".</comment>
|
59 |
-
<frontend_type>select</frontend_type>
|
60 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
61 |
-
<sort_order>15</sort_order>
|
62 |
-
<show_in_default>1</show_in_default>
|
63 |
-
<show_in_website>1</show_in_website>
|
64 |
-
<show_in_store>1</show_in_store>
|
65 |
-
</include_waypoints>
|
66 |
-
<version translate="label">
|
67 |
-
<label>Extension Release</label>
|
68 |
-
<frontend_type>label</frontend_type>
|
69 |
-
<sort_order>100</sort_order>
|
70 |
-
<show_in_default>1</show_in_default>
|
71 |
-
<show_in_website>1</show_in_website>
|
72 |
-
<show_in_store>1</show_in_store>
|
73 |
-
</version>
|
74 |
-
</fields>
|
75 |
-
</general>
|
76 |
-
</groups>
|
77 |
-
</backtotopbutton>
|
78 |
-
|
79 |
-
|
80 |
-
<tab>web_and_people</tab>
|
81 |
-
<frontend_type>text</frontend_type>
|
82 |
-
<sort_order>99</sort_order>
|
83 |
-
<show_in_default>1</show_in_default>
|
84 |
-
<show_in_website>1</show_in_website>
|
85 |
-
<show_in_store>1</show_in_store>
|
86 |
-
<groups>
|
87 |
-
<info>
|
88 |
-
<frontend_model>backtotopbutton/about</frontend_model>
|
89 |
-
<sort_order>10</sort_order>
|
90 |
-
<show_in_default>1</show_in_default>
|
91 |
-
<show_in_website>1</show_in_website>
|
92 |
-
<show_in_store>1</show_in_store>
|
93 |
-
</info>
|
94 |
-
</groups>
|
95 |
-
</about_webandpeople>
|
96 |
-
</sections>
|
97 |
-
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<web_and_people translate="label" module="backtotopbutton">
|
5 |
+
<label>Web-And-People</label>
|
6 |
+
<sort_order>150</sort_order>
|
7 |
+
</web_and_people>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<backtotopbutton translate="label" module="backtotopbutton">
|
11 |
+
<label>Back to Top Button</label>
|
12 |
+
<tab>web_and_people</tab>
|
13 |
+
<frontend_type>text</frontend_type>
|
14 |
+
<sort_order>200</sort_order>
|
15 |
+
<show_in_default>1</show_in_default>
|
16 |
+
<show_in_website>1</show_in_website>
|
17 |
+
<show_in_store>1</show_in_store>
|
18 |
+
<groups>
|
19 |
+
<general translate="label">
|
20 |
+
<label>General</label>
|
21 |
+
<frontend_type>text</frontend_type>
|
22 |
+
<sort_order>10</sort_order>
|
23 |
+
<show_in_default>1</show_in_default>
|
24 |
+
<show_in_website>1</show_in_website>
|
25 |
+
<show_in_store>1</show_in_store>
|
26 |
+
<fields>
|
27 |
+
<enabled translate="label">
|
28 |
+
<label>Enable</label>
|
29 |
+
<frontend_type>select</frontend_type>
|
30 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
31 |
+
<sort_order>1</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 |
+
</enabled>
|
36 |
+
<disabled_by_regexp translate="label">
|
37 |
+
<label>Disable by Regexp</label>
|
38 |
+
<comment><![CDATA[A regular expression string in the "Matched Expression" is compared with the browser user agent]]></comment>
|
39 |
+
<frontend_model>backtotopbutton/system_config_form_field_array_regexceptions</frontend_model>
|
40 |
+
<backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
|
41 |
+
<sort_order>6</sort_order>
|
42 |
+
<show_in_default>1</show_in_default>
|
43 |
+
<show_in_website>1</show_in_website>
|
44 |
+
<show_in_store>1</show_in_store>
|
45 |
+
</disabled_by_regexp>
|
46 |
+
<include_jquery translate="label comment">
|
47 |
+
<label>Include jQuery 1.8.3</label>
|
48 |
+
<comment>Your website pages might already have one jQuery instance enabled. In this case this value must be set to "No".</comment>
|
49 |
+
<frontend_type>select</frontend_type>
|
50 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
51 |
+
<sort_order>10</sort_order>
|
52 |
+
<show_in_default>1</show_in_default>
|
53 |
+
<show_in_website>1</show_in_website>
|
54 |
+
<show_in_store>1</show_in_store>
|
55 |
+
</include_jquery>
|
56 |
+
<include_waypoints translate="label comment">
|
57 |
+
<label>Include jQuery Waypoints v2.0.2</label>
|
58 |
+
<comment>Your website pages might already have one Waypoints instance enabled. In this case this value must be set to "No".</comment>
|
59 |
+
<frontend_type>select</frontend_type>
|
60 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
61 |
+
<sort_order>15</sort_order>
|
62 |
+
<show_in_default>1</show_in_default>
|
63 |
+
<show_in_website>1</show_in_website>
|
64 |
+
<show_in_store>1</show_in_store>
|
65 |
+
</include_waypoints>
|
66 |
+
<version translate="label">
|
67 |
+
<label>Extension Release</label>
|
68 |
+
<frontend_type>label</frontend_type>
|
69 |
+
<sort_order>100</sort_order>
|
70 |
+
<show_in_default>1</show_in_default>
|
71 |
+
<show_in_website>1</show_in_website>
|
72 |
+
<show_in_store>1</show_in_store>
|
73 |
+
</version>
|
74 |
+
</fields>
|
75 |
+
</general>
|
76 |
+
</groups>
|
77 |
+
</backtotopbutton>
|
78 |
+
</sections>
|
79 |
+
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/{local → community}/WP/CustomMenu/Block/Navigation.php
RENAMED
File without changes
|
app/code/{local → community}/WP/CustomMenu/Block/Toggle.php
RENAMED
File without changes
|
app/code/{local → community}/WP/CustomMenu/Block/Topmenu.php
RENAMED
File without changes
|
app/code/{local → community}/WP/CustomMenu/Helper/Data.php
RENAMED
File without changes
|
app/code/{local → community}/WP/CustomMenu/controllers/AjaxmenucontentController.php
RENAMED
File without changes
|
app/code/{local → community}/WP/CustomMenu/controllers/AjaxmobilemenucontentController.php
RENAMED
File without changes
|
app/code/{local → community}/WP/CustomMenu/etc/config.xml
RENAMED
@@ -1,125 +1,105 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<WP_CustomMenu>
|
5 |
-
<version>2.5.
|
6 |
-
</WP_CustomMenu>
|
7 |
-
</modules>
|
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 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
<
|
81 |
-
<
|
82 |
-
<
|
83 |
-
<
|
84 |
-
<
|
85 |
-
<
|
86 |
-
<
|
87 |
-
<
|
88 |
-
<
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
<
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
<
|
99 |
-
<
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
<admin>
|
107 |
-
<children>
|
108 |
-
<system>
|
109 |
-
<children>
|
110 |
-
<config>
|
111 |
-
<children>
|
112 |
-
<about_webandpeople translate="title" module="custommenu">
|
113 |
-
<title><![CDATA[Web & People: About Us]]></title>
|
114 |
-
<sort_order>1000</sort_order>
|
115 |
-
</about_webandpeople>
|
116 |
-
</children>
|
117 |
-
</config>
|
118 |
-
</children>
|
119 |
-
</system>
|
120 |
-
</children>
|
121 |
-
</admin>
|
122 |
-
</resources>
|
123 |
-
</acl>
|
124 |
-
</adminhtml>
|
125 |
-
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<WP_CustomMenu>
|
5 |
+
<version>2.5.8</version>
|
6 |
+
</WP_CustomMenu>
|
7 |
+
</modules>
|
8 |
+
|
9 |
+
<frontend>
|
10 |
+
<routers>
|
11 |
+
<custommenu>
|
12 |
+
<use>standard</use>
|
13 |
+
<args>
|
14 |
+
<frontName>custommenu</frontName>
|
15 |
+
<module>WP_CustomMenu</module>
|
16 |
+
</args>
|
17 |
+
</custommenu>
|
18 |
+
</routers>
|
19 |
+
<layout>
|
20 |
+
<updates>
|
21 |
+
<custommenu>
|
22 |
+
<file>webandpeople/custommenu.xml</file>
|
23 |
+
</custommenu>
|
24 |
+
</updates>
|
25 |
+
</layout>
|
26 |
+
</frontend>
|
27 |
+
|
28 |
+
<adminhtml>
|
29 |
+
<acl>
|
30 |
+
<resources>
|
31 |
+
<all>
|
32 |
+
<title>Allow Everything</title>
|
33 |
+
</all>
|
34 |
+
<admin>
|
35 |
+
<children>
|
36 |
+
<system>
|
37 |
+
<children>
|
38 |
+
<config>
|
39 |
+
<children>
|
40 |
+
<custom_menu translate="title" module="custommenu">
|
41 |
+
<title><![CDATA[Web & People: Custom Menu]]></title>
|
42 |
+
<sort_order>2000</sort_order>
|
43 |
+
</custom_menu>
|
44 |
+
</children>
|
45 |
+
</config>
|
46 |
+
</children>
|
47 |
+
</system>
|
48 |
+
</children>
|
49 |
+
</admin>
|
50 |
+
</resources>
|
51 |
+
</acl>
|
52 |
+
</adminhtml>
|
53 |
+
|
54 |
+
<global>
|
55 |
+
<blocks>
|
56 |
+
<catalog>
|
57 |
+
<rewrite>
|
58 |
+
<navigation>WP_CustomMenu_Block_Navigation</navigation><!-- v1.4-1.6 -->
|
59 |
+
</rewrite>
|
60 |
+
</catalog>
|
61 |
+
<page>
|
62 |
+
<rewrite>
|
63 |
+
<html_topmenu>WP_CustomMenu_Block_Topmenu</html_topmenu><!-- v1.7 -->
|
64 |
+
</rewrite>
|
65 |
+
</page>
|
66 |
+
<custommenu>
|
67 |
+
<class>WP_CustomMenu_Block</class>
|
68 |
+
</custommenu>
|
69 |
+
</blocks>
|
70 |
+
<helpers>
|
71 |
+
<custommenu>
|
72 |
+
<class>WP_CustomMenu_Helper</class>
|
73 |
+
</custommenu>
|
74 |
+
</helpers>
|
75 |
+
</global>
|
76 |
+
|
77 |
+
<default>
|
78 |
+
<custom_menu>
|
79 |
+
<general>
|
80 |
+
<enabled>1</enabled>
|
81 |
+
<ajax_load_content>0</ajax_load_content>
|
82 |
+
<move_code_to_bottom>0</move_code_to_bottom>
|
83 |
+
<mobile_menu>1</mobile_menu>
|
84 |
+
<display_empty_categories>1</display_empty_categories>
|
85 |
+
<max_level>3</max_level>
|
86 |
+
<show_home_link>1</show_home_link>
|
87 |
+
<non_breaking_space>0</non_breaking_space>
|
88 |
+
<ie6_ignore>1</ie6_ignore>
|
89 |
+
<rtl>0</rtl>
|
90 |
+
<version>2.5.8</version>
|
91 |
+
</general>
|
92 |
+
<columns>
|
93 |
+
<count>3</count>
|
94 |
+
<divided_horizontally>0</divided_horizontally>
|
95 |
+
<integrate>1</integrate>
|
96 |
+
</columns>
|
97 |
+
<popup>
|
98 |
+
<width>0</width>
|
99 |
+
<top_offset>0</top_offset>
|
100 |
+
<delay_displaying>150</delay_displaying>
|
101 |
+
<delay_hiding>100</delay_hiding>
|
102 |
+
</popup>
|
103 |
+
</custom_menu>
|
104 |
+
</default>
|
105 |
+
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/{local → community}/WP/CustomMenu/etc/system.xml
RENAMED
@@ -1,240 +1,222 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<tabs>
|
4 |
-
<web_and_people translate="label" module="custommenu">
|
5 |
-
<label>Web-And-People</label>
|
6 |
-
<sort_order>150</sort_order>
|
7 |
-
</web_and_people>
|
8 |
-
</tabs>
|
9 |
-
<sections>
|
10 |
-
<custom_menu translate="label" module="custommenu">
|
11 |
-
<label>Custom Menu</label>
|
12 |
-
<tab>web_and_people</tab>
|
13 |
-
<frontend_type>text</frontend_type>
|
14 |
-
<sort_order>200</sort_order>
|
15 |
-
<show_in_default>1</show_in_default>
|
16 |
-
<show_in_website>1</show_in_website>
|
17 |
-
<show_in_store>1</show_in_store>
|
18 |
-
<groups>
|
19 |
-
<general translate="label">
|
20 |
-
<label>General</label>
|
21 |
-
<frontend_type>text</frontend_type>
|
22 |
-
<sort_order>10</sort_order>
|
23 |
-
<show_in_default>1</show_in_default>
|
24 |
-
<show_in_website>1</show_in_website>
|
25 |
-
<show_in_store>1</show_in_store>
|
26 |
-
<fields>
|
27 |
-
<enabled translate="label comment">
|
28 |
-
<label>Enable</label>
|
29 |
-
<comment><![CDATA[In order to display a custom block with images or other html content in the popup, use the <b>Static Block</b> (<strong>CMS->Static Blocks</strong> section) with the ID like "<b>wp_custom_menu_83</b>", where "<b>83</b>" is the Category ID of this category]]></comment>
|
30 |
-
<frontend_type>select</frontend_type>
|
31 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
32 |
-
<sort_order>1</sort_order>
|
33 |
-
<show_in_default>1</show_in_default>
|
34 |
-
<show_in_website>1</show_in_website>
|
35 |
-
<show_in_store>1</show_in_store>
|
36 |
-
</enabled>
|
37 |
-
<ajax_load_content translate="label comment">
|
38 |
-
<label>Load content through ajax</label>
|
39 |
-
<frontend_type>select</frontend_type>
|
40 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
41 |
-
<sort_order>2</sort_order>
|
42 |
-
<show_in_default>1</show_in_default>
|
43 |
-
<show_in_website>1</show_in_website>
|
44 |
-
<show_in_store>1</show_in_store>
|
45 |
-
</ajax_load_content>
|
46 |
-
<move_code_to_bottom translate="label">
|
47 |
-
<label>Move content to the bottom</label>
|
48 |
-
<comment>Move the menu source code to the bottom of a page</comment>
|
49 |
-
<frontend_type>select</frontend_type>
|
50 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
51 |
-
<sort_order>3</sort_order>
|
52 |
-
<show_in_default>1</show_in_default>
|
53 |
-
<show_in_website>1</show_in_website>
|
54 |
-
<show_in_store>1</show_in_store>
|
55 |
-
<depends>
|
56 |
-
<ajax_load_content>0</ajax_load_content>
|
57 |
-
</depends>
|
58 |
-
</move_code_to_bottom>
|
59 |
-
<mobile_menu translate="label comment">
|
60 |
-
<label>Mobile menu</label>
|
61 |
-
<frontend_type>select</frontend_type>
|
62 |
-
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
63 |
-
<sort_order>4</sort_order>
|
64 |
-
<show_in_default>1</show_in_default>
|
65 |
-
<show_in_website>1</show_in_website>
|
66 |
-
<show_in_store>1</show_in_store>
|
67 |
-
</mobile_menu>
|
68 |
-
<display_empty_categories translate="label comment">
|
69 |
-
<label>Display empty categories</label>
|
70 |
-
<comment><![CDATA[An empty category is a category that has no products]]></comment>
|
71 |
-
<frontend_type>select</frontend_type>
|
72 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
73 |
-
<sort_order>5</sort_order>
|
74 |
-
<show_in_default>1</show_in_default>
|
75 |
-
<show_in_website>1</show_in_website>
|
76 |
-
<show_in_store>1</show_in_store>
|
77 |
-
</display_empty_categories>
|
78 |
-
<max_level translate="label comment">
|
79 |
-
<label>Visible menu depth</label>
|
80 |
-
<comment><![CDATA[e.g. 1, 2, 3, 4 (0 - disable limits). For example, if you set this value to <b>2</b>, only second level categories will be displayed]]></comment>
|
81 |
-
<frontend_type>text</frontend_type>
|
82 |
-
<sort_order>10</sort_order>
|
83 |
-
<show_in_default>1</show_in_default>
|
84 |
-
<show_in_website>1</show_in_website>
|
85 |
-
<show_in_store>1</show_in_store>
|
86 |
-
</max_level>
|
87 |
-
<show_home_link translate="label">
|
88 |
-
<label>Show the link "Home"</label>
|
89 |
-
<frontend_type>select</frontend_type>
|
90 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
91 |
-
<sort_order>15</sort_order>
|
92 |
-
<show_in_default>1</show_in_default>
|
93 |
-
<show_in_website>1</show_in_website>
|
94 |
-
<show_in_store>1</show_in_store>
|
95 |
-
</show_home_link>
|
96 |
-
<non_breaking_space translate="label comment">
|
97 |
-
<label>Replace spaces with non-breaking spaces</label>
|
98 |
-
<comment><![CDATA[Insert <b>&nbsp;</b> instead of a space in a name of a menu item]]></comment>
|
99 |
-
<frontend_type>select</frontend_type>
|
100 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
101 |
-
<sort_order>20</sort_order>
|
102 |
-
<show_in_default>1</show_in_default>
|
103 |
-
<show_in_website>1</show_in_website>
|
104 |
-
<show_in_store>1</show_in_store>
|
105 |
-
</non_breaking_space>
|
106 |
-
<ie6_ignore translate="label">
|
107 |
-
<label>Display standard menu in IE6 browser</label>
|
108 |
-
<frontend_type>select</frontend_type>
|
109 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
110 |
-
<sort_order>30</sort_order>
|
111 |
-
<show_in_default>1</show_in_default>
|
112 |
-
<show_in_website>1</show_in_website>
|
113 |
-
<show_in_store>1</show_in_store>
|
114 |
-
</ie6_ignore>
|
115 |
-
<rtl translate="label">
|
116 |
-
<label>Enable RTL Text mode</label>
|
117 |
-
<frontend_type>select</frontend_type>
|
118 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
119 |
-
<sort_order>35</sort_order>
|
120 |
-
<show_in_default>1</show_in_default>
|
121 |
-
<show_in_website>1</show_in_website>
|
122 |
-
<show_in_store>1</show_in_store>
|
123 |
-
</rtl>
|
124 |
-
<version translate="label">
|
125 |
-
<label>Extension Release</label>
|
126 |
-
<frontend_type>label</frontend_type>
|
127 |
-
<sort_order>100</sort_order>
|
128 |
-
<show_in_default>1</show_in_default>
|
129 |
-
<show_in_website>1</show_in_website>
|
130 |
-
<show_in_store>1</show_in_store>
|
131 |
-
</version>
|
132 |
-
</fields>
|
133 |
-
</general>
|
134 |
-
<columns translate="label">
|
135 |
-
<label>Columns</label>
|
136 |
-
<frontend_type>text</frontend_type>
|
137 |
-
<sort_order>15</sort_order>
|
138 |
-
<show_in_default>1</show_in_default>
|
139 |
-
<show_in_website>1</show_in_website>
|
140 |
-
<show_in_store>1</show_in_store>
|
141 |
-
<fields>
|
142 |
-
<count translate="label comment">
|
143 |
-
<label>Number of columns</label>
|
144 |
-
<comment>e.g. 1, 2, 3. The maximum number of columns in the popup</comment>
|
145 |
-
<frontend_type>text</frontend_type>
|
146 |
-
<sort_order>1</sort_order>
|
147 |
-
<show_in_default>1</show_in_default>
|
148 |
-
<show_in_website>1</show_in_website>
|
149 |
-
<show_in_store>1</show_in_store>
|
150 |
-
</count>
|
151 |
-
<divided_horizontally translate="label comment">
|
152 |
-
<label>Split categories left to right into columns</label>
|
153 |
-
<comment><![CDATA[Next Sub-category is placed to the next column]]></comment>
|
154 |
-
<frontend_type>select</frontend_type>
|
155 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
156 |
-
<sort_order>3</sort_order>
|
157 |
-
<show_in_default>1</show_in_default>
|
158 |
-
<show_in_website>1</show_in_website>
|
159 |
-
<show_in_store>1</show_in_store>
|
160 |
-
</divided_horizontally>
|
161 |
-
<integrate translate="label comment">
|
162 |
-
<label>Merge small subcategories</label>
|
163 |
-
<comment><![CDATA[Merge small subcategory lists into one column (except the extream left categories)]]></comment>
|
164 |
-
<frontend_type>select</frontend_type>
|
165 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
166 |
-
<sort_order>5</sort_order>
|
167 |
-
<show_in_default>1</show_in_default>
|
168 |
-
<show_in_website>1</show_in_website>
|
169 |
-
<show_in_store>1</show_in_store>
|
170 |
-
</integrate>
|
171 |
-
</fields>
|
172 |
-
</columns>
|
173 |
-
<popup translate="label">
|
174 |
-
<label>Popup settings</label>
|
175 |
-
<frontend_type>text</frontend_type>
|
176 |
-
<sort_order>20</sort_order>
|
177 |
-
<show_in_default>1</show_in_default>
|
178 |
-
<show_in_website>1</show_in_website>
|
179 |
-
<show_in_store>1</show_in_store>
|
180 |
-
<fields>
|
181 |
-
<width translate="label comment">
|
182 |
-
<label>Width</label>
|
183 |
-
<comment>in pixels, (0 - no fixed width)</comment>
|
184 |
-
<frontend_type>text</frontend_type>
|
185 |
-
<sort_order>1</sort_order>
|
186 |
-
<show_in_default>1</show_in_default>
|
187 |
-
<show_in_website>1</show_in_website>
|
188 |
-
<show_in_store>1</show_in_store>
|
189 |
-
</width>
|
190 |
-
<top_offset translate="label comment">
|
191 |
-
<label>Top offset</label>
|
192 |
-
<comment>in pixels, (0 - to calculate the offset automatically)</comment>
|
193 |
-
<frontend_type>text</frontend_type>
|
194 |
-
<sort_order>3</sort_order>
|
195 |
-
<show_in_default>1</show_in_default>
|
196 |
-
<show_in_website>1</show_in_website>
|
197 |
-
<show_in_store>1</show_in_store>
|
198 |
-
</top_offset>
|
199 |
-
<delay_displaying translate="label comment">
|
200 |
-
<label>Delay before displaying</label>
|
201 |
-
<comment>in milliseconds</comment>
|
202 |
-
<frontend_type>text</frontend_type>
|
203 |
-
<sort_order>15</sort_order>
|
204 |
-
<show_in_default>1</show_in_default>
|
205 |
-
<show_in_website>1</show_in_website>
|
206 |
-
<show_in_store>1</show_in_store>
|
207 |
-
</delay_displaying>
|
208 |
-
<delay_hiding translate="label comment">
|
209 |
-
<label>Delay before hiding</label>
|
210 |
-
<comment>in milliseconds</comment>
|
211 |
-
<frontend_type>text</frontend_type>
|
212 |
-
<sort_order>20</sort_order>
|
213 |
-
<show_in_default>1</show_in_default>
|
214 |
-
<show_in_website>1</show_in_website>
|
215 |
-
<show_in_store>1</show_in_store>
|
216 |
-
</delay_hiding>
|
217 |
-
</fields>
|
218 |
-
</popup>
|
219 |
-
</groups>
|
220 |
-
</custom_menu>
|
221 |
-
|
222 |
-
|
223 |
-
<tab>web_and_people</tab>
|
224 |
-
<frontend_type>text</frontend_type>
|
225 |
-
<sort_order>99</sort_order>
|
226 |
-
<show_in_default>1</show_in_default>
|
227 |
-
<show_in_website>1</show_in_website>
|
228 |
-
<show_in_store>1</show_in_store>
|
229 |
-
<groups>
|
230 |
-
<info>
|
231 |
-
<frontend_model>custommenu/about</frontend_model>
|
232 |
-
<sort_order>10</sort_order>
|
233 |
-
<show_in_default>1</show_in_default>
|
234 |
-
<show_in_website>1</show_in_website>
|
235 |
-
<show_in_store>1</show_in_store>
|
236 |
-
</info>
|
237 |
-
</groups>
|
238 |
-
</about_webandpeople>
|
239 |
-
</sections>
|
240 |
-
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<web_and_people translate="label" module="custommenu">
|
5 |
+
<label>Web-And-People</label>
|
6 |
+
<sort_order>150</sort_order>
|
7 |
+
</web_and_people>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<custom_menu translate="label" module="custommenu">
|
11 |
+
<label>Custom Menu</label>
|
12 |
+
<tab>web_and_people</tab>
|
13 |
+
<frontend_type>text</frontend_type>
|
14 |
+
<sort_order>200</sort_order>
|
15 |
+
<show_in_default>1</show_in_default>
|
16 |
+
<show_in_website>1</show_in_website>
|
17 |
+
<show_in_store>1</show_in_store>
|
18 |
+
<groups>
|
19 |
+
<general translate="label">
|
20 |
+
<label>General</label>
|
21 |
+
<frontend_type>text</frontend_type>
|
22 |
+
<sort_order>10</sort_order>
|
23 |
+
<show_in_default>1</show_in_default>
|
24 |
+
<show_in_website>1</show_in_website>
|
25 |
+
<show_in_store>1</show_in_store>
|
26 |
+
<fields>
|
27 |
+
<enabled translate="label comment">
|
28 |
+
<label>Enable</label>
|
29 |
+
<comment><![CDATA[In order to display a custom block with images or other html content in the popup, use the <b>Static Block</b> (<strong>CMS->Static Blocks</strong> section) with the ID like "<b>wp_custom_menu_83</b>", where "<b>83</b>" is the Category ID of this category]]></comment>
|
30 |
+
<frontend_type>select</frontend_type>
|
31 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
32 |
+
<sort_order>1</sort_order>
|
33 |
+
<show_in_default>1</show_in_default>
|
34 |
+
<show_in_website>1</show_in_website>
|
35 |
+
<show_in_store>1</show_in_store>
|
36 |
+
</enabled>
|
37 |
+
<ajax_load_content translate="label comment">
|
38 |
+
<label>Load content through ajax</label>
|
39 |
+
<frontend_type>select</frontend_type>
|
40 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
41 |
+
<sort_order>2</sort_order>
|
42 |
+
<show_in_default>1</show_in_default>
|
43 |
+
<show_in_website>1</show_in_website>
|
44 |
+
<show_in_store>1</show_in_store>
|
45 |
+
</ajax_load_content>
|
46 |
+
<move_code_to_bottom translate="label">
|
47 |
+
<label>Move content to the bottom</label>
|
48 |
+
<comment>Move the menu source code to the bottom of a page</comment>
|
49 |
+
<frontend_type>select</frontend_type>
|
50 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
51 |
+
<sort_order>3</sort_order>
|
52 |
+
<show_in_default>1</show_in_default>
|
53 |
+
<show_in_website>1</show_in_website>
|
54 |
+
<show_in_store>1</show_in_store>
|
55 |
+
<depends>
|
56 |
+
<ajax_load_content>0</ajax_load_content>
|
57 |
+
</depends>
|
58 |
+
</move_code_to_bottom>
|
59 |
+
<mobile_menu translate="label comment">
|
60 |
+
<label>Mobile menu</label>
|
61 |
+
<frontend_type>select</frontend_type>
|
62 |
+
<source_model>adminhtml/system_config_source_enabledisable</source_model>
|
63 |
+
<sort_order>4</sort_order>
|
64 |
+
<show_in_default>1</show_in_default>
|
65 |
+
<show_in_website>1</show_in_website>
|
66 |
+
<show_in_store>1</show_in_store>
|
67 |
+
</mobile_menu>
|
68 |
+
<display_empty_categories translate="label comment">
|
69 |
+
<label>Display empty categories</label>
|
70 |
+
<comment><![CDATA[An empty category is a category that has no products]]></comment>
|
71 |
+
<frontend_type>select</frontend_type>
|
72 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
73 |
+
<sort_order>5</sort_order>
|
74 |
+
<show_in_default>1</show_in_default>
|
75 |
+
<show_in_website>1</show_in_website>
|
76 |
+
<show_in_store>1</show_in_store>
|
77 |
+
</display_empty_categories>
|
78 |
+
<max_level translate="label comment">
|
79 |
+
<label>Visible menu depth</label>
|
80 |
+
<comment><![CDATA[e.g. 1, 2, 3, 4 (0 - disable limits). For example, if you set this value to <b>2</b>, only second level categories will be displayed]]></comment>
|
81 |
+
<frontend_type>text</frontend_type>
|
82 |
+
<sort_order>10</sort_order>
|
83 |
+
<show_in_default>1</show_in_default>
|
84 |
+
<show_in_website>1</show_in_website>
|
85 |
+
<show_in_store>1</show_in_store>
|
86 |
+
</max_level>
|
87 |
+
<show_home_link translate="label">
|
88 |
+
<label>Show the link "Home"</label>
|
89 |
+
<frontend_type>select</frontend_type>
|
90 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
91 |
+
<sort_order>15</sort_order>
|
92 |
+
<show_in_default>1</show_in_default>
|
93 |
+
<show_in_website>1</show_in_website>
|
94 |
+
<show_in_store>1</show_in_store>
|
95 |
+
</show_home_link>
|
96 |
+
<non_breaking_space translate="label comment">
|
97 |
+
<label>Replace spaces with non-breaking spaces</label>
|
98 |
+
<comment><![CDATA[Insert <b>&nbsp;</b> instead of a space in a name of a menu item]]></comment>
|
99 |
+
<frontend_type>select</frontend_type>
|
100 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
101 |
+
<sort_order>20</sort_order>
|
102 |
+
<show_in_default>1</show_in_default>
|
103 |
+
<show_in_website>1</show_in_website>
|
104 |
+
<show_in_store>1</show_in_store>
|
105 |
+
</non_breaking_space>
|
106 |
+
<ie6_ignore translate="label">
|
107 |
+
<label>Display standard menu in IE6 browser</label>
|
108 |
+
<frontend_type>select</frontend_type>
|
109 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
110 |
+
<sort_order>30</sort_order>
|
111 |
+
<show_in_default>1</show_in_default>
|
112 |
+
<show_in_website>1</show_in_website>
|
113 |
+
<show_in_store>1</show_in_store>
|
114 |
+
</ie6_ignore>
|
115 |
+
<rtl translate="label">
|
116 |
+
<label>Enable RTL Text mode</label>
|
117 |
+
<frontend_type>select</frontend_type>
|
118 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
119 |
+
<sort_order>35</sort_order>
|
120 |
+
<show_in_default>1</show_in_default>
|
121 |
+
<show_in_website>1</show_in_website>
|
122 |
+
<show_in_store>1</show_in_store>
|
123 |
+
</rtl>
|
124 |
+
<version translate="label">
|
125 |
+
<label>Extension Release</label>
|
126 |
+
<frontend_type>label</frontend_type>
|
127 |
+
<sort_order>100</sort_order>
|
128 |
+
<show_in_default>1</show_in_default>
|
129 |
+
<show_in_website>1</show_in_website>
|
130 |
+
<show_in_store>1</show_in_store>
|
131 |
+
</version>
|
132 |
+
</fields>
|
133 |
+
</general>
|
134 |
+
<columns translate="label">
|
135 |
+
<label>Columns</label>
|
136 |
+
<frontend_type>text</frontend_type>
|
137 |
+
<sort_order>15</sort_order>
|
138 |
+
<show_in_default>1</show_in_default>
|
139 |
+
<show_in_website>1</show_in_website>
|
140 |
+
<show_in_store>1</show_in_store>
|
141 |
+
<fields>
|
142 |
+
<count translate="label comment">
|
143 |
+
<label>Number of columns</label>
|
144 |
+
<comment>e.g. 1, 2, 3. The maximum number of columns in the popup</comment>
|
145 |
+
<frontend_type>text</frontend_type>
|
146 |
+
<sort_order>1</sort_order>
|
147 |
+
<show_in_default>1</show_in_default>
|
148 |
+
<show_in_website>1</show_in_website>
|
149 |
+
<show_in_store>1</show_in_store>
|
150 |
+
</count>
|
151 |
+
<divided_horizontally translate="label comment">
|
152 |
+
<label>Split categories left to right into columns</label>
|
153 |
+
<comment><![CDATA[Next Sub-category is placed to the next column]]></comment>
|
154 |
+
<frontend_type>select</frontend_type>
|
155 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
156 |
+
<sort_order>3</sort_order>
|
157 |
+
<show_in_default>1</show_in_default>
|
158 |
+
<show_in_website>1</show_in_website>
|
159 |
+
<show_in_store>1</show_in_store>
|
160 |
+
</divided_horizontally>
|
161 |
+
<integrate translate="label comment">
|
162 |
+
<label>Merge small subcategories</label>
|
163 |
+
<comment><![CDATA[Merge small subcategory lists into one column (except the extream left categories)]]></comment>
|
164 |
+
<frontend_type>select</frontend_type>
|
165 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
166 |
+
<sort_order>5</sort_order>
|
167 |
+
<show_in_default>1</show_in_default>
|
168 |
+
<show_in_website>1</show_in_website>
|
169 |
+
<show_in_store>1</show_in_store>
|
170 |
+
</integrate>
|
171 |
+
</fields>
|
172 |
+
</columns>
|
173 |
+
<popup translate="label">
|
174 |
+
<label>Popup settings</label>
|
175 |
+
<frontend_type>text</frontend_type>
|
176 |
+
<sort_order>20</sort_order>
|
177 |
+
<show_in_default>1</show_in_default>
|
178 |
+
<show_in_website>1</show_in_website>
|
179 |
+
<show_in_store>1</show_in_store>
|
180 |
+
<fields>
|
181 |
+
<width translate="label comment">
|
182 |
+
<label>Width</label>
|
183 |
+
<comment>in pixels, (0 - no fixed width)</comment>
|
184 |
+
<frontend_type>text</frontend_type>
|
185 |
+
<sort_order>1</sort_order>
|
186 |
+
<show_in_default>1</show_in_default>
|
187 |
+
<show_in_website>1</show_in_website>
|
188 |
+
<show_in_store>1</show_in_store>
|
189 |
+
</width>
|
190 |
+
<top_offset translate="label comment">
|
191 |
+
<label>Top offset</label>
|
192 |
+
<comment>in pixels, (0 - to calculate the offset automatically)</comment>
|
193 |
+
<frontend_type>text</frontend_type>
|
194 |
+
<sort_order>3</sort_order>
|
195 |
+
<show_in_default>1</show_in_default>
|
196 |
+
<show_in_website>1</show_in_website>
|
197 |
+
<show_in_store>1</show_in_store>
|
198 |
+
</top_offset>
|
199 |
+
<delay_displaying translate="label comment">
|
200 |
+
<label>Delay before displaying</label>
|
201 |
+
<comment>in milliseconds</comment>
|
202 |
+
<frontend_type>text</frontend_type>
|
203 |
+
<sort_order>15</sort_order>
|
204 |
+
<show_in_default>1</show_in_default>
|
205 |
+
<show_in_website>1</show_in_website>
|
206 |
+
<show_in_store>1</show_in_store>
|
207 |
+
</delay_displaying>
|
208 |
+
<delay_hiding translate="label comment">
|
209 |
+
<label>Delay before hiding</label>
|
210 |
+
<comment>in milliseconds</comment>
|
211 |
+
<frontend_type>text</frontend_type>
|
212 |
+
<sort_order>20</sort_order>
|
213 |
+
<show_in_default>1</show_in_default>
|
214 |
+
<show_in_website>1</show_in_website>
|
215 |
+
<show_in_store>1</show_in_store>
|
216 |
+
</delay_hiding>
|
217 |
+
</fields>
|
218 |
+
</popup>
|
219 |
+
</groups>
|
220 |
+
</custom_menu>
|
221 |
+
</sections>
|
222 |
+
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/{local → community}/WP/SmartCatalog/Block/Product/Promo.php
RENAMED
File without changes
|
app/code/{local → community}/WP/SmartCatalog/Block/Toggle.php
RENAMED
File without changes
|
app/code/{local → community}/WP/SmartCatalog/Helper/Data.php
RENAMED
File without changes
|
app/code/{local → community}/WP/SmartCatalog/Model/Observer.php
RENAMED
File without changes
|
app/code/{local → community}/WP/SmartCatalog/etc/config.xml
RENAMED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<WP_SmartCatalog>
|
5 |
-
<version>3.4.
|
6 |
</WP_SmartCatalog>
|
7 |
</modules>
|
8 |
<frontend>
|
@@ -75,7 +75,7 @@
|
|
75 |
<image_height>135</image_height>
|
76 |
<column_width>150</column_width>
|
77 |
<display_short_desc>1</display_short_desc>
|
78 |
-
<version>3.4.
|
79 |
</general>
|
80 |
<include_jquery_files>
|
81 |
<include_jquery>1</include_jquery>
|
@@ -83,26 +83,4 @@
|
|
83 |
</include_jquery_files>
|
84 |
</smart_catalog>
|
85 |
</default>
|
86 |
-
<adminhtml>
|
87 |
-
<acl>
|
88 |
-
<resources>
|
89 |
-
<admin>
|
90 |
-
<children>
|
91 |
-
<system>
|
92 |
-
<children>
|
93 |
-
<config>
|
94 |
-
<children>
|
95 |
-
<about_webandpeople translate="title" module="smartcatalog">
|
96 |
-
<title><![CDATA[Web & People: About Us]]></title>
|
97 |
-
<sort_order>1000</sort_order>
|
98 |
-
</about_webandpeople>
|
99 |
-
</children>
|
100 |
-
</config>
|
101 |
-
</children>
|
102 |
-
</system>
|
103 |
-
</children>
|
104 |
-
</admin>
|
105 |
-
</resources>
|
106 |
-
</acl>
|
107 |
-
</adminhtml>
|
108 |
</config>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<WP_SmartCatalog>
|
5 |
+
<version>3.4.2</version>
|
6 |
</WP_SmartCatalog>
|
7 |
</modules>
|
8 |
<frontend>
|
75 |
<image_height>135</image_height>
|
76 |
<column_width>150</column_width>
|
77 |
<display_short_desc>1</display_short_desc>
|
78 |
+
<version>3.4.2</version>
|
79 |
</general>
|
80 |
<include_jquery_files>
|
81 |
<include_jquery>1</include_jquery>
|
83 |
</include_jquery_files>
|
84 |
</smart_catalog>
|
85 |
</default>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
</config>
|
app/code/{local → community}/WP/SmartCatalog/etc/system.xml
RENAMED
@@ -113,23 +113,5 @@
|
|
113 |
</include_jquery_files>
|
114 |
</groups>
|
115 |
</smart_catalog>
|
116 |
-
<about_webandpeople translate="label" module="smartcatalog">
|
117 |
-
<label>About Us</label>
|
118 |
-
<tab>web_and_people</tab>
|
119 |
-
<frontend_type>text</frontend_type>
|
120 |
-
<sort_order>99</sort_order>
|
121 |
-
<show_in_default>1</show_in_default>
|
122 |
-
<show_in_website>1</show_in_website>
|
123 |
-
<show_in_store>1</show_in_store>
|
124 |
-
<groups>
|
125 |
-
<info>
|
126 |
-
<frontend_model>smartcatalog/about</frontend_model>
|
127 |
-
<sort_order>10</sort_order>
|
128 |
-
<show_in_default>1</show_in_default>
|
129 |
-
<show_in_website>1</show_in_website>
|
130 |
-
<show_in_store>1</show_in_store>
|
131 |
-
</info>
|
132 |
-
</groups>
|
133 |
-
</about_webandpeople>
|
134 |
</sections>
|
135 |
</config>
|
113 |
</include_jquery_files>
|
114 |
</groups>
|
115 |
</smart_catalog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
</sections>
|
117 |
</config>
|
app/code/community/WP/SmartProductImage/Block/About.php
DELETED
@@ -1,203 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class WP_SmartProductImage_Block_About
|
4 |
-
extends Mage_Adminhtml_Block_Abstract
|
5 |
-
implements Varien_Data_Form_Element_Renderer_Interface
|
6 |
-
{
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Render fieldset html
|
10 |
-
*
|
11 |
-
* @param Varien_Data_Form_Element_Abstract $element
|
12 |
-
* @return string
|
13 |
-
*/
|
14 |
-
public function render(Varien_Data_Form_Element_Abstract $element)
|
15 |
-
{
|
16 |
-
$default = <<<HTML
|
17 |
-
<div style="background-color:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:20px;">
|
18 |
-
<p>
|
19 |
-
<b style="font-size:12px;">WebAndPeople</b>, a family of niche sites, provides small businesses with everything they need to start selling online.
|
20 |
-
</p>
|
21 |
-
<p>
|
22 |
-
<strong>PREMIUM and FREE MAGENTO TEMPALTES and EXTENSIONS</strong><br />
|
23 |
-
<a href="http://web-experiment.info" target="_blank">Web-Experiment.info</a> offers a wide choice of nice-looking and easily editable free and premium Magento Themes. At Web-Experiment, you can find free downloads or buy premium tempaltes for the extremely popular Magento eCommerce platform.<br />
|
24 |
-
<strong>MAGENTO HOSTING</strong></strong><br />
|
25 |
-
<a href="http://magenting.com" target="_blank">Magenting.com</a>, a new and improved hosting solution, is allowing you to easily create, promote, and manage your online store with Magento. Magenting users will receive a valuable set of tools and features, including automatic Magento eCommerce installation, automatic Magento template installation and a free or paid professional Magento hosting account.<br />
|
26 |
-
<strong>WEB DEVELOPMENT</strong><br />
|
27 |
-
<a href="http://webandpeople.com" target="_blank">WebAndPeople.com</a> is a team of professional Web developers and designers who are some of the best in the industry. WebAndPeople provides Web application development, custom Magento theme designs, and Website design services.<br />
|
28 |
-
<br />
|
29 |
-
</p>
|
30 |
-
<p>
|
31 |
-
Our themes and extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/WebAndPeople" target="_blank">MagentoConnect</a><br />
|
32 |
-
Should you have any questions <a href="http://web-experiment.info/support" target="_blank">Contact Us</a> or email at <a href="mailto:support@web-experiment.info">support@web-experiment.info</a>
|
33 |
-
<br />
|
34 |
-
</p>
|
35 |
-
</div>
|
36 |
-
HTML;
|
37 |
-
$default = json_encode($default);
|
38 |
-
$html = '<div id="wp_aboutus_content"></div>
|
39 |
-
|
40 |
-
<script type="text/javascript"> //<![CDATA[
|
41 |
-
|
42 |
-
/* JSON-P implementation for Prototype.js somewhat by Dan Dean (http://www.dandean.com)
|
43 |
-
*
|
44 |
-
* *HEAVILY* based on Tobie Langel\'s version: http://gist.github.com/145466.
|
45 |
-
* Might as well just call this an iteration.
|
46 |
-
*
|
47 |
-
* This version introduces:
|
48 |
-
* - Support for predefined callbacks (Necessary for OAuth signed requests, by @rboyce)
|
49 |
-
* - Partial integration with Ajax.Responders (Thanks to @sr3d for the kick in this direction)
|
50 |
-
* - Compatibility with Prototype 1.7 (Thanks to @soung3 for the bug report)
|
51 |
-
* - Will not break if page lacks a <head> element
|
52 |
-
*
|
53 |
-
* See examples in README for usage
|
54 |
-
*
|
55 |
-
* VERSION 1.1.2
|
56 |
-
*
|
57 |
-
* new Ajax.JSONRequest(url, options);
|
58 |
-
* - url (String): JSON-P endpoint url.
|
59 |
-
* - options (Object): Configuration options for the request.
|
60 |
-
*/
|
61 |
-
Ajax.JSONRequest = Class.create(Ajax.Base, (function() {
|
62 |
-
var id = 0, head = document.getElementsByTagName(\'head\')[0] || document.body;
|
63 |
-
return {
|
64 |
-
initialize: function($super, url, options) {
|
65 |
-
$super(options);
|
66 |
-
this.options.url = url;
|
67 |
-
this.options.callbackParamName = this.options.callbackParamName || \'callback\';
|
68 |
-
this.options.timeout = this.options.timeout || 10; // Default timeout: 10 seconds
|
69 |
-
this.options.invokeImmediately = (!Object.isUndefined(this.options.invokeImmediately)) ? this.options.invokeImmediately : true ;
|
70 |
-
|
71 |
-
if (!Object.isUndefined(this.options.parameters) && Object.isString(this.options.parameters)) {
|
72 |
-
this.options.parameters = this.options.parameters.toQueryParams();
|
73 |
-
}
|
74 |
-
|
75 |
-
if (this.options.invokeImmediately) {
|
76 |
-
this.request();
|
77 |
-
}
|
78 |
-
},
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Ajax.JSONRequest#_cleanup() -> undefined
|
82 |
-
* Cleans up after the request
|
83 |
-
**/
|
84 |
-
_cleanup: function() {
|
85 |
-
if (this.timeout) {
|
86 |
-
clearTimeout(this.timeout);
|
87 |
-
this.timeout = null;
|
88 |
-
}
|
89 |
-
if (this.transport && Object.isElement(this.transport)) {
|
90 |
-
this.transport.remove();
|
91 |
-
this.transport = null;
|
92 |
-
}
|
93 |
-
},
|
94 |
-
|
95 |
-
/**
|
96 |
-
* Ajax.JSONRequest#request() -> undefined
|
97 |
-
* Invokes the JSON-P request lifecycle
|
98 |
-
**/
|
99 |
-
request: function() {
|
100 |
-
|
101 |
-
// Define local vars
|
102 |
-
var response = new Ajax.JSONResponse(this);
|
103 |
-
var key = this.options.callbackParamName,
|
104 |
-
name = \'_prototypeJSONPCallback_\' + (id++),
|
105 |
-
complete = function() {
|
106 |
-
if (Object.isFunction(this.options.onComplete)) {
|
107 |
-
this.options.onComplete.call(this, response);
|
108 |
-
}
|
109 |
-
Ajax.Responders.dispatch(\'onComplete\', this, response);
|
110 |
-
}.bind(this);
|
111 |
-
|
112 |
-
// If the callback parameter is already defined, use that
|
113 |
-
if (this.options.parameters[key] !== undefined) {
|
114 |
-
name = this.options.parameters[key];
|
115 |
-
}
|
116 |
-
// Otherwise, add callback as a parameter
|
117 |
-
else {
|
118 |
-
this.options.parameters[key] = name;
|
119 |
-
}
|
120 |
-
|
121 |
-
// Build request URL
|
122 |
-
this.options.parameters[key] = name;
|
123 |
-
var url = this.options.url + ((this.options.url.include(\'?\') ? \'&\' : \'?\') + Object.toQueryString(this.options.parameters));
|
124 |
-
|
125 |
-
// Define callback function
|
126 |
-
window[name] = function(json) {
|
127 |
-
this._cleanup(); // Garbage collection
|
128 |
-
window[name] = undefined;
|
129 |
-
|
130 |
-
response.status = 200;
|
131 |
-
response.statusText = "OK";
|
132 |
-
response.setResponseContent(json);
|
133 |
-
|
134 |
-
if (Object.isFunction(this.options.onSuccess)) {
|
135 |
-
this.options.onSuccess.call(this, response);
|
136 |
-
}
|
137 |
-
Ajax.Responders.dispatch(\'onSuccess\', this, response);
|
138 |
-
|
139 |
-
complete();
|
140 |
-
|
141 |
-
}.bind(this);
|
142 |
-
|
143 |
-
this.transport = new Element(\'script\', { type: \'text/javascript\', src: url });
|
144 |
-
|
145 |
-
if (Object.isFunction(this.options.onCreate)) {
|
146 |
-
this.options.onCreate.call(this, response);
|
147 |
-
}
|
148 |
-
Ajax.Responders.dispatch(\'onCreate\', this);
|
149 |
-
|
150 |
-
head.appendChild(this.transport);
|
151 |
-
|
152 |
-
this.timeout = setTimeout(function() {
|
153 |
-
this._cleanup();
|
154 |
-
window[name] = Prototype.emptyFunction;
|
155 |
-
if (Object.isFunction(this.options.onFailure)) {
|
156 |
-
response.status = 504;
|
157 |
-
response.statusText = "Gateway Timeout";
|
158 |
-
this.options.onFailure.call(this, response);
|
159 |
-
}
|
160 |
-
complete();
|
161 |
-
}.bind(this), this.options.timeout * 1000);
|
162 |
-
},
|
163 |
-
toString: function() { return "[object Ajax.JSONRequest]"; }
|
164 |
-
};
|
165 |
-
})());
|
166 |
-
|
167 |
-
Ajax.JSONResponse = Class.create({
|
168 |
-
initialize: function(request) {
|
169 |
-
this.request = request;
|
170 |
-
},
|
171 |
-
request: undefined,
|
172 |
-
status: 0,
|
173 |
-
statusText: \'\',
|
174 |
-
responseJSON: undefined,
|
175 |
-
responseText: undefined,
|
176 |
-
setResponseContent: function(json) {
|
177 |
-
this.responseJSON = json;
|
178 |
-
this.responseText = Object.toJSON(json);
|
179 |
-
},
|
180 |
-
getTransport: function() {
|
181 |
-
if (this.request) return this.request.transport;
|
182 |
-
},
|
183 |
-
toString: function() { return "[object Ajax.JSONResponse]"; }
|
184 |
-
});
|
185 |
-
|
186 |
-
window.onload = function(){
|
187 |
-
var html = ' . $default . ';
|
188 |
-
|
189 |
-
new Ajax.JSONRequest(\'http://web-experiment.info/about-us.php\', {
|
190 |
-
callbackParamName: "jsoncallback",
|
191 |
-
timeout: 2,
|
192 |
-
onComplete: function(response) {
|
193 |
-
if (response.responseJSON && response.responseJSON.html) {
|
194 |
-
html = response.responseJSON.html;
|
195 |
-
}
|
196 |
-
Element.replace(\'wp_aboutus_content\', html);
|
197 |
-
}
|
198 |
-
});
|
199 |
-
};
|
200 |
-
//]]></script>';
|
201 |
-
return $html;
|
202 |
-
}
|
203 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/WP/SmartProductImage/etc/config.xml
CHANGED
@@ -1,89 +1,67 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<WP_SmartProductImage>
|
5 |
-
<version>1.0.0</version>
|
6 |
-
</WP_SmartProductImage>
|
7 |
-
</modules>
|
8 |
-
<frontend>
|
9 |
-
<layout>
|
10 |
-
<updates>
|
11 |
-
<smartproductimage>
|
12 |
-
<file>webandpeople/smartproductimage.xml</file>
|
13 |
-
</smartproductimage>
|
14 |
-
</updates>
|
15 |
-
</layout>
|
16 |
-
</frontend>
|
17 |
-
<adminhtml>
|
18 |
-
<acl>
|
19 |
-
<resources>
|
20 |
-
<all>
|
21 |
-
<title>Allow Everything</title>
|
22 |
-
</all>
|
23 |
-
<admin>
|
24 |
-
<children>
|
25 |
-
<system>
|
26 |
-
<children>
|
27 |
-
<config>
|
28 |
-
<children>
|
29 |
-
<smart_product_image translate="title" module="smartproductimage">
|
30 |
-
<title><![CDATA[Web & People: Smart Product Image]]></title>
|
31 |
-
<sort_order>2000</sort_order>
|
32 |
-
</smart_product_image>
|
33 |
-
</children>
|
34 |
-
</config>
|
35 |
-
</children>
|
36 |
-
</system>
|
37 |
-
</children>
|
38 |
-
</admin>
|
39 |
-
</resources>
|
40 |
-
</acl>
|
41 |
-
</adminhtml>
|
42 |
-
<global>
|
43 |
-
<models>
|
44 |
-
<smartproductimage>
|
45 |
-
<class>WP_SmartProductImage_Model</class>
|
46 |
-
</smartproductimage>
|
47 |
-
</models>
|
48 |
-
<blocks>
|
49 |
-
<smartproductimage>
|
50 |
-
<class>WP_SmartProductImage_Block</class>
|
51 |
-
</smartproductimage>
|
52 |
-
</blocks>
|
53 |
-
<helpers>
|
54 |
-
<smartproductimage>
|
55 |
-
<class>WP_SmartProductImage_Helper</class>
|
56 |
-
</smartproductimage>
|
57 |
-
</helpers>
|
58 |
-
</global>
|
59 |
-
<default>
|
60 |
-
<smart_product_image>
|
61 |
-
<general>
|
62 |
-
<enabled>0</enabled>
|
63 |
-
<version>1.0.0</version>
|
64 |
-
</general>
|
65 |
-
</smart_product_image>
|
66 |
-
</default>
|
67 |
-
|
68 |
-
<acl>
|
69 |
-
<resources>
|
70 |
-
<admin>
|
71 |
-
<children>
|
72 |
-
<system>
|
73 |
-
<children>
|
74 |
-
<config>
|
75 |
-
<children>
|
76 |
-
<about_webandpeople translate="title" module="smartproductimage">
|
77 |
-
<title><![CDATA[Web & People: About Us]]></title>
|
78 |
-
<sort_order>1000</sort_order>
|
79 |
-
</about_webandpeople>
|
80 |
-
</children>
|
81 |
-
</config>
|
82 |
-
</children>
|
83 |
-
</system>
|
84 |
-
</children>
|
85 |
-
</admin>
|
86 |
-
</resources>
|
87 |
-
</acl>
|
88 |
-
</adminhtml>
|
89 |
-
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<WP_SmartProductImage>
|
5 |
+
<version>1.0.0</version>
|
6 |
+
</WP_SmartProductImage>
|
7 |
+
</modules>
|
8 |
+
<frontend>
|
9 |
+
<layout>
|
10 |
+
<updates>
|
11 |
+
<smartproductimage>
|
12 |
+
<file>webandpeople/smartproductimage.xml</file>
|
13 |
+
</smartproductimage>
|
14 |
+
</updates>
|
15 |
+
</layout>
|
16 |
+
</frontend>
|
17 |
+
<adminhtml>
|
18 |
+
<acl>
|
19 |
+
<resources>
|
20 |
+
<all>
|
21 |
+
<title>Allow Everything</title>
|
22 |
+
</all>
|
23 |
+
<admin>
|
24 |
+
<children>
|
25 |
+
<system>
|
26 |
+
<children>
|
27 |
+
<config>
|
28 |
+
<children>
|
29 |
+
<smart_product_image translate="title" module="smartproductimage">
|
30 |
+
<title><![CDATA[Web & People: Smart Product Image]]></title>
|
31 |
+
<sort_order>2000</sort_order>
|
32 |
+
</smart_product_image>
|
33 |
+
</children>
|
34 |
+
</config>
|
35 |
+
</children>
|
36 |
+
</system>
|
37 |
+
</children>
|
38 |
+
</admin>
|
39 |
+
</resources>
|
40 |
+
</acl>
|
41 |
+
</adminhtml>
|
42 |
+
<global>
|
43 |
+
<models>
|
44 |
+
<smartproductimage>
|
45 |
+
<class>WP_SmartProductImage_Model</class>
|
46 |
+
</smartproductimage>
|
47 |
+
</models>
|
48 |
+
<blocks>
|
49 |
+
<smartproductimage>
|
50 |
+
<class>WP_SmartProductImage_Block</class>
|
51 |
+
</smartproductimage>
|
52 |
+
</blocks>
|
53 |
+
<helpers>
|
54 |
+
<smartproductimage>
|
55 |
+
<class>WP_SmartProductImage_Helper</class>
|
56 |
+
</smartproductimage>
|
57 |
+
</helpers>
|
58 |
+
</global>
|
59 |
+
<default>
|
60 |
+
<smart_product_image>
|
61 |
+
<general>
|
62 |
+
<enabled>0</enabled>
|
63 |
+
<version>1.0.0</version>
|
64 |
+
</general>
|
65 |
+
</smart_product_image>
|
66 |
+
</default>
|
67 |
+
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/WP/SmartProductImage/etc/system.xml
CHANGED
@@ -1,77 +1,59 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<tabs>
|
4 |
-
<web_and_people translate="label" module="smartproductimage">
|
5 |
-
<label>Web-And-People</label>
|
6 |
-
<sort_order>150</sort_order>
|
7 |
-
</web_and_people>
|
8 |
-
</tabs>
|
9 |
-
<sections>
|
10 |
-
<smart_product_image translate="label" module="smartproductimage">
|
11 |
-
<label>Smart Product Image</label>
|
12 |
-
<tab>web_and_people</tab>
|
13 |
-
<frontend_type>text</frontend_type>
|
14 |
-
<sort_order>200</sort_order>
|
15 |
-
<show_in_default>1</show_in_default>
|
16 |
-
<show_in_website>1</show_in_website>
|
17 |
-
<show_in_store>1</show_in_store>
|
18 |
-
<groups>
|
19 |
-
<general translate="label">
|
20 |
-
<label>General</label>
|
21 |
-
<frontend_type>text</frontend_type>
|
22 |
-
<sort_order>10</sort_order>
|
23 |
-
<show_in_default>1</show_in_default>
|
24 |
-
<show_in_website>1</show_in_website>
|
25 |
-
<show_in_store>1</show_in_store>
|
26 |
-
<fields>
|
27 |
-
<enabled translate="label">
|
28 |
-
<label>Enable</label>
|
29 |
-
<frontend_type>select</frontend_type>
|
30 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
31 |
-
<sort_order>5</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 |
-
</enabled>
|
36 |
-
<image_sizes translate="label comment">
|
37 |
-
<label>Image Sizes</label>
|
38 |
-
<comment>The height of the image is automatically calculated in proportion.</comment>
|
39 |
-
<frontend_model>smartproductimage/system_config_form_field_imagesizes</frontend_model>
|
40 |
-
<backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
|
41 |
-
<sort_order>10</sort_order>
|
42 |
-
<show_in_default>1</show_in_default>
|
43 |
-
<show_in_website>1</show_in_website>
|
44 |
-
<show_in_store>1</show_in_store>
|
45 |
-
</image_sizes>
|
46 |
-
<version translate="label">
|
47 |
-
<label>Extension Release</label>
|
48 |
-
<frontend_type>label</frontend_type>
|
49 |
-
<sort_order>100</sort_order>
|
50 |
-
<show_in_default>1</show_in_default>
|
51 |
-
<show_in_website>1</show_in_website>
|
52 |
-
<show_in_store>1</show_in_store>
|
53 |
-
</version>
|
54 |
-
</fields>
|
55 |
-
</general>
|
56 |
-
</groups>
|
57 |
-
</smart_product_image>
|
58 |
-
|
59 |
-
|
60 |
-
<tab>web_and_people</tab>
|
61 |
-
<frontend_type>text</frontend_type>
|
62 |
-
<sort_order>99</sort_order>
|
63 |
-
<show_in_default>1</show_in_default>
|
64 |
-
<show_in_website>1</show_in_website>
|
65 |
-
<show_in_store>1</show_in_store>
|
66 |
-
<groups>
|
67 |
-
<info>
|
68 |
-
<frontend_model>smartproductimage/about</frontend_model>
|
69 |
-
<sort_order>10</sort_order>
|
70 |
-
<show_in_default>1</show_in_default>
|
71 |
-
<show_in_website>1</show_in_website>
|
72 |
-
<show_in_store>1</show_in_store>
|
73 |
-
</info>
|
74 |
-
</groups>
|
75 |
-
</about_webandpeople>
|
76 |
-
</sections>
|
77 |
-
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<web_and_people translate="label" module="smartproductimage">
|
5 |
+
<label>Web-And-People</label>
|
6 |
+
<sort_order>150</sort_order>
|
7 |
+
</web_and_people>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<smart_product_image translate="label" module="smartproductimage">
|
11 |
+
<label>Smart Product Image</label>
|
12 |
+
<tab>web_and_people</tab>
|
13 |
+
<frontend_type>text</frontend_type>
|
14 |
+
<sort_order>200</sort_order>
|
15 |
+
<show_in_default>1</show_in_default>
|
16 |
+
<show_in_website>1</show_in_website>
|
17 |
+
<show_in_store>1</show_in_store>
|
18 |
+
<groups>
|
19 |
+
<general translate="label">
|
20 |
+
<label>General</label>
|
21 |
+
<frontend_type>text</frontend_type>
|
22 |
+
<sort_order>10</sort_order>
|
23 |
+
<show_in_default>1</show_in_default>
|
24 |
+
<show_in_website>1</show_in_website>
|
25 |
+
<show_in_store>1</show_in_store>
|
26 |
+
<fields>
|
27 |
+
<enabled translate="label">
|
28 |
+
<label>Enable</label>
|
29 |
+
<frontend_type>select</frontend_type>
|
30 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
31 |
+
<sort_order>5</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 |
+
</enabled>
|
36 |
+
<image_sizes translate="label comment">
|
37 |
+
<label>Image Sizes</label>
|
38 |
+
<comment>The height of the image is automatically calculated in proportion.</comment>
|
39 |
+
<frontend_model>smartproductimage/system_config_form_field_imagesizes</frontend_model>
|
40 |
+
<backend_model>adminhtml/system_config_backend_serialized_array</backend_model>
|
41 |
+
<sort_order>10</sort_order>
|
42 |
+
<show_in_default>1</show_in_default>
|
43 |
+
<show_in_website>1</show_in_website>
|
44 |
+
<show_in_store>1</show_in_store>
|
45 |
+
</image_sizes>
|
46 |
+
<version translate="label">
|
47 |
+
<label>Extension Release</label>
|
48 |
+
<frontend_type>label</frontend_type>
|
49 |
+
<sort_order>100</sort_order>
|
50 |
+
<show_in_default>1</show_in_default>
|
51 |
+
<show_in_website>1</show_in_website>
|
52 |
+
<show_in_store>1</show_in_store>
|
53 |
+
</version>
|
54 |
+
</fields>
|
55 |
+
</general>
|
56 |
+
</groups>
|
57 |
+
</smart_product_image>
|
58 |
+
</sections>
|
59 |
+
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/{local → community}/WP/ThemeGrayscale2014/Helper/Data.php
RENAMED
File without changes
|
app/code/{local → community}/WP/ThemeGrayscale2014/etc/config.xml
RENAMED
@@ -1,76 +1,47 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<WP_ThemeGrayscale2014>
|
5 |
-
<version>1.2.
|
6 |
-
</WP_ThemeGrayscale2014>
|
7 |
-
</modules>
|
8 |
-
<global>
|
9 |
-
<helpers>
|
10 |
-
<themegrayscale2014>
|
11 |
-
<class>WP_ThemeGrayscale2014_Helper</class>
|
12 |
-
</themegrayscale2014>
|
13 |
-
</helpers>
|
14 |
-
</global>
|
15 |
-
<adminhtml>
|
16 |
-
<acl>
|
17 |
-
<resources>
|
18 |
-
<all>
|
19 |
-
<title>Allow Everything</title>
|
20 |
-
</all>
|
21 |
-
<admin>
|
22 |
-
<children>
|
23 |
-
<system>
|
24 |
-
<children>
|
25 |
-
<config>
|
26 |
-
<children>
|
27 |
-
<theme_grayscale2014 translate="title" module="themegrayscale2014">
|
28 |
-
<title><![CDATA[Web & People: Theme Grayscale Full-Width]]></title>
|
29 |
-
<sort_order>1000</sort_order>
|
30 |
-
</theme_grayscale2014>
|
31 |
-
</children>
|
32 |
-
</config>
|
33 |
-
</children>
|
34 |
-
</system>
|
35 |
-
</children>
|
36 |
-
</admin>
|
37 |
-
</resources>
|
38 |
-
</acl>
|
39 |
-
</adminhtml>
|
40 |
-
<default>
|
41 |
-
<theme_grayscale2014>
|
42 |
-
<general>
|
43 |
-
<version>1.2.
|
44 |
-
</general>
|
45 |
-
</theme_grayscale2014>
|
46 |
-
</default>
|
47 |
-
|
48 |
-
<acl>
|
49 |
-
<resources>
|
50 |
-
<admin>
|
51 |
-
<children>
|
52 |
-
<system>
|
53 |
-
<children>
|
54 |
-
<config>
|
55 |
-
<children>
|
56 |
-
<about_webandpeople translate="title" module="themegrayscale2014">
|
57 |
-
<title><![CDATA[Web & People: About Us]]></title>
|
58 |
-
<sort_order>1000</sort_order>
|
59 |
-
</about_webandpeople>
|
60 |
-
</children>
|
61 |
-
</config>
|
62 |
-
</children>
|
63 |
-
</system>
|
64 |
-
</children>
|
65 |
-
</admin>
|
66 |
-
</resources>
|
67 |
-
</acl>
|
68 |
-
</adminhtml>
|
69 |
-
<global>
|
70 |
-
<blocks>
|
71 |
-
<themegrayscale2014>
|
72 |
-
<class>WP_ThemeGrayscale2014_Block</class>
|
73 |
-
</themegrayscale2014>
|
74 |
-
</blocks>
|
75 |
-
</global>
|
76 |
-
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<WP_ThemeGrayscale2014>
|
5 |
+
<version>1.2.1</version>
|
6 |
+
</WP_ThemeGrayscale2014>
|
7 |
+
</modules>
|
8 |
+
<global>
|
9 |
+
<helpers>
|
10 |
+
<themegrayscale2014>
|
11 |
+
<class>WP_ThemeGrayscale2014_Helper</class>
|
12 |
+
</themegrayscale2014>
|
13 |
+
</helpers>
|
14 |
+
</global>
|
15 |
+
<adminhtml>
|
16 |
+
<acl>
|
17 |
+
<resources>
|
18 |
+
<all>
|
19 |
+
<title>Allow Everything</title>
|
20 |
+
</all>
|
21 |
+
<admin>
|
22 |
+
<children>
|
23 |
+
<system>
|
24 |
+
<children>
|
25 |
+
<config>
|
26 |
+
<children>
|
27 |
+
<theme_grayscale2014 translate="title" module="themegrayscale2014">
|
28 |
+
<title><![CDATA[Web & People: Theme Grayscale Full-Width]]></title>
|
29 |
+
<sort_order>1000</sort_order>
|
30 |
+
</theme_grayscale2014>
|
31 |
+
</children>
|
32 |
+
</config>
|
33 |
+
</children>
|
34 |
+
</system>
|
35 |
+
</children>
|
36 |
+
</admin>
|
37 |
+
</resources>
|
38 |
+
</acl>
|
39 |
+
</adminhtml>
|
40 |
+
<default>
|
41 |
+
<theme_grayscale2014>
|
42 |
+
<general>
|
43 |
+
<version>1.2.1</version>
|
44 |
+
</general>
|
45 |
+
</theme_grayscale2014>
|
46 |
+
</default>
|
47 |
+
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/{local → community}/WP/ThemeGrayscale2014/etc/system.xml
RENAMED
@@ -1,59 +1,41 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<tabs>
|
4 |
-
<web_and_people translate="label" module="themegrayscale2014">
|
5 |
-
<label>Web-And-People</label>
|
6 |
-
<sort_order>150</sort_order>
|
7 |
-
</web_and_people>
|
8 |
-
</tabs>
|
9 |
-
<sections>
|
10 |
-
<theme_grayscale2014 translate="label" module="themegrayscale2014">
|
11 |
-
<label>Theme Grayscale Full-Width</label>
|
12 |
-
<tab>web_and_people</tab>
|
13 |
-
<frontend_type>text</frontend_type>
|
14 |
-
<sort_order>100</sort_order>
|
15 |
-
<show_in_default>1</show_in_default>
|
16 |
-
<show_in_website>0</show_in_website>
|
17 |
-
<show_in_store>0</show_in_store>
|
18 |
-
<groups>
|
19 |
-
<general translate="label">
|
20 |
-
<label>General</label>
|
21 |
-
<frontend_type>text</frontend_type>
|
22 |
-
<sort_order>10</sort_order>
|
23 |
-
<show_in_default>1</show_in_default>
|
24 |
-
<show_in_website>0</show_in_website>
|
25 |
-
<show_in_store>0</show_in_store>
|
26 |
-
<expanded>1</expanded>
|
27 |
-
<fields>
|
28 |
-
<version translate="label">
|
29 |
-
<label>Theme Release</label>
|
30 |
-
<frontend_type>label</frontend_type>
|
31 |
-
<sort_order>100</sort_order>
|
32 |
-
<show_in_default>1</show_in_default>
|
33 |
-
<show_in_website>0</show_in_website>
|
34 |
-
<show_in_store>0</show_in_store>
|
35 |
-
</version>
|
36 |
-
</fields>
|
37 |
-
</general>
|
38 |
-
</groups>
|
39 |
-
</theme_grayscale2014>
|
40 |
-
|
41 |
-
|
42 |
-
<tab>web_and_people</tab>
|
43 |
-
<frontend_type>text</frontend_type>
|
44 |
-
<sort_order>99</sort_order>
|
45 |
-
<show_in_default>1</show_in_default>
|
46 |
-
<show_in_website>1</show_in_website>
|
47 |
-
<show_in_store>1</show_in_store>
|
48 |
-
<groups>
|
49 |
-
<info>
|
50 |
-
<frontend_model>themegrayscale2014/about</frontend_model>
|
51 |
-
<sort_order>10</sort_order>
|
52 |
-
<show_in_default>1</show_in_default>
|
53 |
-
<show_in_website>1</show_in_website>
|
54 |
-
<show_in_store>1</show_in_store>
|
55 |
-
</info>
|
56 |
-
</groups>
|
57 |
-
</about_webandpeople>
|
58 |
-
</sections>
|
59 |
-
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<web_and_people translate="label" module="themegrayscale2014">
|
5 |
+
<label>Web-And-People</label>
|
6 |
+
<sort_order>150</sort_order>
|
7 |
+
</web_and_people>
|
8 |
+
</tabs>
|
9 |
+
<sections>
|
10 |
+
<theme_grayscale2014 translate="label" module="themegrayscale2014">
|
11 |
+
<label>Theme Grayscale Full-Width</label>
|
12 |
+
<tab>web_and_people</tab>
|
13 |
+
<frontend_type>text</frontend_type>
|
14 |
+
<sort_order>100</sort_order>
|
15 |
+
<show_in_default>1</show_in_default>
|
16 |
+
<show_in_website>0</show_in_website>
|
17 |
+
<show_in_store>0</show_in_store>
|
18 |
+
<groups>
|
19 |
+
<general translate="label">
|
20 |
+
<label>General</label>
|
21 |
+
<frontend_type>text</frontend_type>
|
22 |
+
<sort_order>10</sort_order>
|
23 |
+
<show_in_default>1</show_in_default>
|
24 |
+
<show_in_website>0</show_in_website>
|
25 |
+
<show_in_store>0</show_in_store>
|
26 |
+
<expanded>1</expanded>
|
27 |
+
<fields>
|
28 |
+
<version translate="label">
|
29 |
+
<label>Theme Release</label>
|
30 |
+
<frontend_type>label</frontend_type>
|
31 |
+
<sort_order>100</sort_order>
|
32 |
+
<show_in_default>1</show_in_default>
|
33 |
+
<show_in_website>0</show_in_website>
|
34 |
+
<show_in_store>0</show_in_store>
|
35 |
+
</version>
|
36 |
+
</fields>
|
37 |
+
</general>
|
38 |
+
</groups>
|
39 |
+
</theme_grayscale2014>
|
40 |
+
</sections>
|
41 |
+
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/WP/BackToTopButton/Block/About.php
DELETED
@@ -1,203 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class WP_BackToTopButton_Block_About
|
4 |
-
extends Mage_Adminhtml_Block_Abstract
|
5 |
-
implements Varien_Data_Form_Element_Renderer_Interface
|
6 |
-
{
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Render fieldset html
|
10 |
-
*
|
11 |
-
* @param Varien_Data_Form_Element_Abstract $element
|
12 |
-
* @return string
|
13 |
-
*/
|
14 |
-
public function render(Varien_Data_Form_Element_Abstract $element)
|
15 |
-
{
|
16 |
-
$default = <<<HTML
|
17 |
-
<div style="background-color:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:20px;">
|
18 |
-
<p>
|
19 |
-
<b style="font-size:12px;">WebAndPeople</b>, a family of niche sites, provides small businesses with everything they need to start selling online.
|
20 |
-
</p>
|
21 |
-
<p>
|
22 |
-
<strong>PREMIUM and FREE MAGENTO TEMPALTES and EXTENSIONS</strong><br />
|
23 |
-
<a href="http://web-experiment.info" target="_blank">Web-Experiment.info</a> offers a wide choice of nice-looking and easily editable free and premium Magento Themes. At Web-Experiment, you can find free downloads or buy premium tempaltes for the extremely popular Magento eCommerce platform.<br />
|
24 |
-
<strong>MAGENTO HOSTING</strong></strong><br />
|
25 |
-
<a href="http://magenting.com" target="_blank">Magenting.com</a>, a new and improved hosting solution, is allowing you to easily create, promote, and manage your online store with Magento. Magenting users will receive a valuable set of tools and features, including automatic Magento eCommerce installation, automatic Magento template installation and a free or paid professional Magento hosting account.<br />
|
26 |
-
<strong>WEB DEVELOPMENT</strong><br />
|
27 |
-
<a href="http://webandpeople.com" target="_blank">WebAndPeople.com</a> is a team of professional Web developers and designers who are some of the best in the industry. WebAndPeople provides Web application development, custom Magento theme designs, and Website design services.<br />
|
28 |
-
<br />
|
29 |
-
</p>
|
30 |
-
<p>
|
31 |
-
Our themes and extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/WebAndPeople" target="_blank">MagentoConnect</a><br />
|
32 |
-
Should you have any questions <a href="http://web-experiment.info/support" target="_blank">Contact Us</a> or email at <a href="mailto:support@web-experiment.info">support@web-experiment.info</a>
|
33 |
-
<br />
|
34 |
-
</p>
|
35 |
-
</div>
|
36 |
-
HTML;
|
37 |
-
$default = json_encode($default);
|
38 |
-
$html = '<div id="wp_aboutus_content"></div>
|
39 |
-
|
40 |
-
<script type="text/javascript"> //<![CDATA[
|
41 |
-
|
42 |
-
/* JSON-P implementation for Prototype.js somewhat by Dan Dean (http://www.dandean.com)
|
43 |
-
*
|
44 |
-
* *HEAVILY* based on Tobie Langel\'s version: http://gist.github.com/145466.
|
45 |
-
* Might as well just call this an iteration.
|
46 |
-
*
|
47 |
-
* This version introduces:
|
48 |
-
* - Support for predefined callbacks (Necessary for OAuth signed requests, by @rboyce)
|
49 |
-
* - Partial integration with Ajax.Responders (Thanks to @sr3d for the kick in this direction)
|
50 |
-
* - Compatibility with Prototype 1.7 (Thanks to @soung3 for the bug report)
|
51 |
-
* - Will not break if page lacks a <head> element
|
52 |
-
*
|
53 |
-
* See examples in README for usage
|
54 |
-
*
|
55 |
-
* VERSION 1.1.2
|
56 |
-
*
|
57 |
-
* new Ajax.JSONRequest(url, options);
|
58 |
-
* - url (String): JSON-P endpoint url.
|
59 |
-
* - options (Object): Configuration options for the request.
|
60 |
-
*/
|
61 |
-
Ajax.JSONRequest = Class.create(Ajax.Base, (function() {
|
62 |
-
var id = 0, head = document.getElementsByTagName(\'head\')[0] || document.body;
|
63 |
-
return {
|
64 |
-
initialize: function($super, url, options) {
|
65 |
-
$super(options);
|
66 |
-
this.options.url = url;
|
67 |
-
this.options.callbackParamName = this.options.callbackParamName || \'callback\';
|
68 |
-
this.options.timeout = this.options.timeout || 10; // Default timeout: 10 seconds
|
69 |
-
this.options.invokeImmediately = (!Object.isUndefined(this.options.invokeImmediately)) ? this.options.invokeImmediately : true ;
|
70 |
-
|
71 |
-
if (!Object.isUndefined(this.options.parameters) && Object.isString(this.options.parameters)) {
|
72 |
-
this.options.parameters = this.options.parameters.toQueryParams();
|
73 |
-
}
|
74 |
-
|
75 |
-
if (this.options.invokeImmediately) {
|
76 |
-
this.request();
|
77 |
-
}
|
78 |
-
},
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Ajax.JSONRequest#_cleanup() -> undefined
|
82 |
-
* Cleans up after the request
|
83 |
-
**/
|
84 |
-
_cleanup: function() {
|
85 |
-
if (this.timeout) {
|
86 |
-
clearTimeout(this.timeout);
|
87 |
-
this.timeout = null;
|
88 |
-
}
|
89 |
-
if (this.transport && Object.isElement(this.transport)) {
|
90 |
-
this.transport.remove();
|
91 |
-
this.transport = null;
|
92 |
-
}
|
93 |
-
},
|
94 |
-
|
95 |
-
/**
|
96 |
-
* Ajax.JSONRequest#request() -> undefined
|
97 |
-
* Invokes the JSON-P request lifecycle
|
98 |
-
**/
|
99 |
-
request: function() {
|
100 |
-
|
101 |
-
// Define local vars
|
102 |
-
var response = new Ajax.JSONResponse(this);
|
103 |
-
var key = this.options.callbackParamName,
|
104 |
-
name = \'_prototypeJSONPCallback_\' + (id++),
|
105 |
-
complete = function() {
|
106 |
-
if (Object.isFunction(this.options.onComplete)) {
|
107 |
-
this.options.onComplete.call(this, response);
|
108 |
-
}
|
109 |
-
Ajax.Responders.dispatch(\'onComplete\', this, response);
|
110 |
-
}.bind(this);
|
111 |
-
|
112 |
-
// If the callback parameter is already defined, use that
|
113 |
-
if (this.options.parameters[key] !== undefined) {
|
114 |
-
name = this.options.parameters[key];
|
115 |
-
}
|
116 |
-
// Otherwise, add callback as a parameter
|
117 |
-
else {
|
118 |
-
this.options.parameters[key] = name;
|
119 |
-
}
|
120 |
-
|
121 |
-
// Build request URL
|
122 |
-
this.options.parameters[key] = name;
|
123 |
-
var url = this.options.url + ((this.options.url.include(\'?\') ? \'&\' : \'?\') + Object.toQueryString(this.options.parameters));
|
124 |
-
|
125 |
-
// Define callback function
|
126 |
-
window[name] = function(json) {
|
127 |
-
this._cleanup(); // Garbage collection
|
128 |
-
window[name] = undefined;
|
129 |
-
|
130 |
-
response.status = 200;
|
131 |
-
response.statusText = "OK";
|
132 |
-
response.setResponseContent(json);
|
133 |
-
|
134 |
-
if (Object.isFunction(this.options.onSuccess)) {
|
135 |
-
this.options.onSuccess.call(this, response);
|
136 |
-
}
|
137 |
-
Ajax.Responders.dispatch(\'onSuccess\', this, response);
|
138 |
-
|
139 |
-
complete();
|
140 |
-
|
141 |
-
}.bind(this);
|
142 |
-
|
143 |
-
this.transport = new Element(\'script\', { type: \'text/javascript\', src: url });
|
144 |
-
|
145 |
-
if (Object.isFunction(this.options.onCreate)) {
|
146 |
-
this.options.onCreate.call(this, response);
|
147 |
-
}
|
148 |
-
Ajax.Responders.dispatch(\'onCreate\', this);
|
149 |
-
|
150 |
-
head.appendChild(this.transport);
|
151 |
-
|
152 |
-
this.timeout = setTimeout(function() {
|
153 |
-
this._cleanup();
|
154 |
-
window[name] = Prototype.emptyFunction;
|
155 |
-
if (Object.isFunction(this.options.onFailure)) {
|
156 |
-
response.status = 504;
|
157 |
-
response.statusText = "Gateway Timeout";
|
158 |
-
this.options.onFailure.call(this, response);
|
159 |
-
}
|
160 |
-
complete();
|
161 |
-
}.bind(this), this.options.timeout * 1000);
|
162 |
-
},
|
163 |
-
toString: function() { return "[object Ajax.JSONRequest]"; }
|
164 |
-
};
|
165 |
-
})());
|
166 |
-
|
167 |
-
Ajax.JSONResponse = Class.create({
|
168 |
-
initialize: function(request) {
|
169 |
-
this.request = request;
|
170 |
-
},
|
171 |
-
request: undefined,
|
172 |
-
status: 0,
|
173 |
-
statusText: \'\',
|
174 |
-
responseJSON: undefined,
|
175 |
-
responseText: undefined,
|
176 |
-
setResponseContent: function(json) {
|
177 |
-
this.responseJSON = json;
|
178 |
-
this.responseText = Object.toJSON(json);
|
179 |
-
},
|
180 |
-
getTransport: function() {
|
181 |
-
if (this.request) return this.request.transport;
|
182 |
-
},
|
183 |
-
toString: function() { return "[object Ajax.JSONResponse]"; }
|
184 |
-
});
|
185 |
-
|
186 |
-
window.onload = function(){
|
187 |
-
var html = ' . $default . ';
|
188 |
-
|
189 |
-
new Ajax.JSONRequest(\'http://web-experiment.info/about-us.php\', {
|
190 |
-
callbackParamName: "jsoncallback",
|
191 |
-
timeout: 2,
|
192 |
-
onComplete: function(response) {
|
193 |
-
if (response.responseJSON && response.responseJSON.html) {
|
194 |
-
html = response.responseJSON.html;
|
195 |
-
}
|
196 |
-
Element.replace(\'wp_aboutus_content\', html);
|
197 |
-
}
|
198 |
-
});
|
199 |
-
};
|
200 |
-
//]]></script>';
|
201 |
-
return $html;
|
202 |
-
}
|
203 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/WP/CustomMenu/Block/About.php
DELETED
@@ -1,203 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class WP_CustomMenu_Block_About
|
4 |
-
extends Mage_Adminhtml_Block_Abstract
|
5 |
-
implements Varien_Data_Form_Element_Renderer_Interface
|
6 |
-
{
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Render fieldset html
|
10 |
-
*
|
11 |
-
* @param Varien_Data_Form_Element_Abstract $element
|
12 |
-
* @return string
|
13 |
-
*/
|
14 |
-
public function render(Varien_Data_Form_Element_Abstract $element)
|
15 |
-
{
|
16 |
-
$default = <<<HTML
|
17 |
-
<div style="background-color:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:20px;">
|
18 |
-
<p>
|
19 |
-
<b style="font-size:12px;">WebAndPeople</b>, a family of niche sites, provides small businesses with everything they need to start selling online.
|
20 |
-
</p>
|
21 |
-
<p>
|
22 |
-
<strong>PREMIUM and FREE MAGENTO TEMPALTES and EXTENSIONS</strong><br />
|
23 |
-
<a href="http://web-experiment.info" target="_blank">Web-Experiment.info</a> offers a wide choice of nice-looking and easily editable free and premium Magento Themes. At Web-Experiment, you can find free downloads or buy premium tempaltes for the extremely popular Magento eCommerce platform.<br />
|
24 |
-
<strong>MAGENTO HOSTING</strong></strong><br />
|
25 |
-
<a href="http://magenting.com" target="_blank">Magenting.com</a>, a new and improved hosting solution, is allowing you to easily create, promote, and manage your online store with Magento. Magenting users will receive a valuable set of tools and features, including automatic Magento eCommerce installation, automatic Magento template installation and a free or paid professional Magento hosting account.<br />
|
26 |
-
<strong>WEB DEVELOPMENT</strong><br />
|
27 |
-
<a href="http://webandpeople.com" target="_blank">WebAndPeople.com</a> is a team of professional Web developers and designers who are some of the best in the industry. WebAndPeople provides Web application development, custom Magento theme designs, and Website design services.<br />
|
28 |
-
<br />
|
29 |
-
</p>
|
30 |
-
<p>
|
31 |
-
Our themes and extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/WebAndPeople" target="_blank">MagentoConnect</a><br />
|
32 |
-
Should you have any questions <a href="http://web-experiment.info/support" target="_blank">Contact Us</a> or email at <a href="mailto:support@web-experiment.info">support@web-experiment.info</a>
|
33 |
-
<br />
|
34 |
-
</p>
|
35 |
-
</div>
|
36 |
-
HTML;
|
37 |
-
$default = json_encode($default);
|
38 |
-
$html = '<div id="wp_aboutus_content"></div>
|
39 |
-
|
40 |
-
<script type="text/javascript"> //<![CDATA[
|
41 |
-
|
42 |
-
/* JSON-P implementation for Prototype.js somewhat by Dan Dean (http://www.dandean.com)
|
43 |
-
*
|
44 |
-
* *HEAVILY* based on Tobie Langel\'s version: http://gist.github.com/145466.
|
45 |
-
* Might as well just call this an iteration.
|
46 |
-
*
|
47 |
-
* This version introduces:
|
48 |
-
* - Support for predefined callbacks (Necessary for OAuth signed requests, by @rboyce)
|
49 |
-
* - Partial integration with Ajax.Responders (Thanks to @sr3d for the kick in this direction)
|
50 |
-
* - Compatibility with Prototype 1.7 (Thanks to @soung3 for the bug report)
|
51 |
-
* - Will not break if page lacks a <head> element
|
52 |
-
*
|
53 |
-
* See examples in README for usage
|
54 |
-
*
|
55 |
-
* VERSION 1.1.2
|
56 |
-
*
|
57 |
-
* new Ajax.JSONRequest(url, options);
|
58 |
-
* - url (String): JSON-P endpoint url.
|
59 |
-
* - options (Object): Configuration options for the request.
|
60 |
-
*/
|
61 |
-
Ajax.JSONRequest = Class.create(Ajax.Base, (function() {
|
62 |
-
var id = 0, head = document.getElementsByTagName(\'head\')[0] || document.body;
|
63 |
-
return {
|
64 |
-
initialize: function($super, url, options) {
|
65 |
-
$super(options);
|
66 |
-
this.options.url = url;
|
67 |
-
this.options.callbackParamName = this.options.callbackParamName || \'callback\';
|
68 |
-
this.options.timeout = this.options.timeout || 10; // Default timeout: 10 seconds
|
69 |
-
this.options.invokeImmediately = (!Object.isUndefined(this.options.invokeImmediately)) ? this.options.invokeImmediately : true ;
|
70 |
-
|
71 |
-
if (!Object.isUndefined(this.options.parameters) && Object.isString(this.options.parameters)) {
|
72 |
-
this.options.parameters = this.options.parameters.toQueryParams();
|
73 |
-
}
|
74 |
-
|
75 |
-
if (this.options.invokeImmediately) {
|
76 |
-
this.request();
|
77 |
-
}
|
78 |
-
},
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Ajax.JSONRequest#_cleanup() -> undefined
|
82 |
-
* Cleans up after the request
|
83 |
-
**/
|
84 |
-
_cleanup: function() {
|
85 |
-
if (this.timeout) {
|
86 |
-
clearTimeout(this.timeout);
|
87 |
-
this.timeout = null;
|
88 |
-
}
|
89 |
-
if (this.transport && Object.isElement(this.transport)) {
|
90 |
-
this.transport.remove();
|
91 |
-
this.transport = null;
|
92 |
-
}
|
93 |
-
},
|
94 |
-
|
95 |
-
/**
|
96 |
-
* Ajax.JSONRequest#request() -> undefined
|
97 |
-
* Invokes the JSON-P request lifecycle
|
98 |
-
**/
|
99 |
-
request: function() {
|
100 |
-
|
101 |
-
// Define local vars
|
102 |
-
var response = new Ajax.JSONResponse(this);
|
103 |
-
var key = this.options.callbackParamName,
|
104 |
-
name = \'_prototypeJSONPCallback_\' + (id++),
|
105 |
-
complete = function() {
|
106 |
-
if (Object.isFunction(this.options.onComplete)) {
|
107 |
-
this.options.onComplete.call(this, response);
|
108 |
-
}
|
109 |
-
Ajax.Responders.dispatch(\'onComplete\', this, response);
|
110 |
-
}.bind(this);
|
111 |
-
|
112 |
-
// If the callback parameter is already defined, use that
|
113 |
-
if (this.options.parameters[key] !== undefined) {
|
114 |
-
name = this.options.parameters[key];
|
115 |
-
}
|
116 |
-
// Otherwise, add callback as a parameter
|
117 |
-
else {
|
118 |
-
this.options.parameters[key] = name;
|
119 |
-
}
|
120 |
-
|
121 |
-
// Build request URL
|
122 |
-
this.options.parameters[key] = name;
|
123 |
-
var url = this.options.url + ((this.options.url.include(\'?\') ? \'&\' : \'?\') + Object.toQueryString(this.options.parameters));
|
124 |
-
|
125 |
-
// Define callback function
|
126 |
-
window[name] = function(json) {
|
127 |
-
this._cleanup(); // Garbage collection
|
128 |
-
window[name] = undefined;
|
129 |
-
|
130 |
-
response.status = 200;
|
131 |
-
response.statusText = "OK";
|
132 |
-
response.setResponseContent(json);
|
133 |
-
|
134 |
-
if (Object.isFunction(this.options.onSuccess)) {
|
135 |
-
this.options.onSuccess.call(this, response);
|
136 |
-
}
|
137 |
-
Ajax.Responders.dispatch(\'onSuccess\', this, response);
|
138 |
-
|
139 |
-
complete();
|
140 |
-
|
141 |
-
}.bind(this);
|
142 |
-
|
143 |
-
this.transport = new Element(\'script\', { type: \'text/javascript\', src: url });
|
144 |
-
|
145 |
-
if (Object.isFunction(this.options.onCreate)) {
|
146 |
-
this.options.onCreate.call(this, response);
|
147 |
-
}
|
148 |
-
Ajax.Responders.dispatch(\'onCreate\', this);
|
149 |
-
|
150 |
-
head.appendChild(this.transport);
|
151 |
-
|
152 |
-
this.timeout = setTimeout(function() {
|
153 |
-
this._cleanup();
|
154 |
-
window[name] = Prototype.emptyFunction;
|
155 |
-
if (Object.isFunction(this.options.onFailure)) {
|
156 |
-
response.status = 504;
|
157 |
-
response.statusText = "Gateway Timeout";
|
158 |
-
this.options.onFailure.call(this, response);
|
159 |
-
}
|
160 |
-
complete();
|
161 |
-
}.bind(this), this.options.timeout * 1000);
|
162 |
-
},
|
163 |
-
toString: function() { return "[object Ajax.JSONRequest]"; }
|
164 |
-
};
|
165 |
-
})());
|
166 |
-
|
167 |
-
Ajax.JSONResponse = Class.create({
|
168 |
-
initialize: function(request) {
|
169 |
-
this.request = request;
|
170 |
-
},
|
171 |
-
request: undefined,
|
172 |
-
status: 0,
|
173 |
-
statusText: \'\',
|
174 |
-
responseJSON: undefined,
|
175 |
-
responseText: undefined,
|
176 |
-
setResponseContent: function(json) {
|
177 |
-
this.responseJSON = json;
|
178 |
-
this.responseText = Object.toJSON(json);
|
179 |
-
},
|
180 |
-
getTransport: function() {
|
181 |
-
if (this.request) return this.request.transport;
|
182 |
-
},
|
183 |
-
toString: function() { return "[object Ajax.JSONResponse]"; }
|
184 |
-
});
|
185 |
-
|
186 |
-
window.onload = function(){
|
187 |
-
var html = ' . $default . ';
|
188 |
-
|
189 |
-
new Ajax.JSONRequest(\'http://web-experiment.info/about-us.php\', {
|
190 |
-
callbackParamName: "jsoncallback",
|
191 |
-
timeout: 2,
|
192 |
-
onComplete: function(response) {
|
193 |
-
if (response.responseJSON && response.responseJSON.html) {
|
194 |
-
html = response.responseJSON.html;
|
195 |
-
}
|
196 |
-
Element.replace(\'wp_aboutus_content\', html);
|
197 |
-
}
|
198 |
-
});
|
199 |
-
};
|
200 |
-
//]]></script>';
|
201 |
-
return $html;
|
202 |
-
}
|
203 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/WP/SmartCatalog/Block/About.php
DELETED
@@ -1,203 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class WP_SmartCatalog_Block_About
|
4 |
-
extends Mage_Adminhtml_Block_Abstract
|
5 |
-
implements Varien_Data_Form_Element_Renderer_Interface
|
6 |
-
{
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Render fieldset html
|
10 |
-
*
|
11 |
-
* @param Varien_Data_Form_Element_Abstract $element
|
12 |
-
* @return string
|
13 |
-
*/
|
14 |
-
public function render(Varien_Data_Form_Element_Abstract $element)
|
15 |
-
{
|
16 |
-
$default = <<<HTML
|
17 |
-
<div style="background-color:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:20px;">
|
18 |
-
<p>
|
19 |
-
<b style="font-size:12px;">WebAndPeople</b>, a family of niche sites, provides small businesses with everything they need to start selling online.
|
20 |
-
</p>
|
21 |
-
<p>
|
22 |
-
<strong>PREMIUM and FREE MAGENTO TEMPALTES and EXTENSIONS</strong><br />
|
23 |
-
<a href="http://web-experiment.info" target="_blank">Web-Experiment.info</a> offers a wide choice of nice-looking and easily editable free and premium Magento Themes. At Web-Experiment, you can find free downloads or buy premium tempaltes for the extremely popular Magento eCommerce platform.<br />
|
24 |
-
<strong>MAGENTO HOSTING</strong></strong><br />
|
25 |
-
<a href="http://magenting.com" target="_blank">Magenting.com</a>, a new and improved hosting solution, is allowing you to easily create, promote, and manage your online store with Magento. Magenting users will receive a valuable set of tools and features, including automatic Magento eCommerce installation, automatic Magento template installation and a free or paid professional Magento hosting account.<br />
|
26 |
-
<strong>WEB DEVELOPMENT</strong><br />
|
27 |
-
<a href="http://webandpeople.com" target="_blank">WebAndPeople.com</a> is a team of professional Web developers and designers who are some of the best in the industry. WebAndPeople provides Web application development, custom Magento theme designs, and Website design services.<br />
|
28 |
-
<br />
|
29 |
-
</p>
|
30 |
-
<p>
|
31 |
-
Our themes and extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/WebAndPeople" target="_blank">MagentoConnect</a><br />
|
32 |
-
Should you have any questions <a href="http://web-experiment.info/support" target="_blank">Contact Us</a> or email at <a href="mailto:support@web-experiment.info">support@web-experiment.info</a>
|
33 |
-
<br />
|
34 |
-
</p>
|
35 |
-
</div>
|
36 |
-
HTML;
|
37 |
-
$default = json_encode($default);
|
38 |
-
$html = '<div id="wp_aboutus_content"></div>
|
39 |
-
|
40 |
-
<script type="text/javascript"> //<![CDATA[
|
41 |
-
|
42 |
-
/* JSON-P implementation for Prototype.js somewhat by Dan Dean (http://www.dandean.com)
|
43 |
-
*
|
44 |
-
* *HEAVILY* based on Tobie Langel\'s version: http://gist.github.com/145466.
|
45 |
-
* Might as well just call this an iteration.
|
46 |
-
*
|
47 |
-
* This version introduces:
|
48 |
-
* - Support for predefined callbacks (Necessary for OAuth signed requests, by @rboyce)
|
49 |
-
* - Partial integration with Ajax.Responders (Thanks to @sr3d for the kick in this direction)
|
50 |
-
* - Compatibility with Prototype 1.7 (Thanks to @soung3 for the bug report)
|
51 |
-
* - Will not break if page lacks a <head> element
|
52 |
-
*
|
53 |
-
* See examples in README for usage
|
54 |
-
*
|
55 |
-
* VERSION 1.1.2
|
56 |
-
*
|
57 |
-
* new Ajax.JSONRequest(url, options);
|
58 |
-
* - url (String): JSON-P endpoint url.
|
59 |
-
* - options (Object): Configuration options for the request.
|
60 |
-
*/
|
61 |
-
Ajax.JSONRequest = Class.create(Ajax.Base, (function() {
|
62 |
-
var id = 0, head = document.getElementsByTagName(\'head\')[0] || document.body;
|
63 |
-
return {
|
64 |
-
initialize: function($super, url, options) {
|
65 |
-
$super(options);
|
66 |
-
this.options.url = url;
|
67 |
-
this.options.callbackParamName = this.options.callbackParamName || \'callback\';
|
68 |
-
this.options.timeout = this.options.timeout || 10; // Default timeout: 10 seconds
|
69 |
-
this.options.invokeImmediately = (!Object.isUndefined(this.options.invokeImmediately)) ? this.options.invokeImmediately : true ;
|
70 |
-
|
71 |
-
if (!Object.isUndefined(this.options.parameters) && Object.isString(this.options.parameters)) {
|
72 |
-
this.options.parameters = this.options.parameters.toQueryParams();
|
73 |
-
}
|
74 |
-
|
75 |
-
if (this.options.invokeImmediately) {
|
76 |
-
this.request();
|
77 |
-
}
|
78 |
-
},
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Ajax.JSONRequest#_cleanup() -> undefined
|
82 |
-
* Cleans up after the request
|
83 |
-
**/
|
84 |
-
_cleanup: function() {
|
85 |
-
if (this.timeout) {
|
86 |
-
clearTimeout(this.timeout);
|
87 |
-
this.timeout = null;
|
88 |
-
}
|
89 |
-
if (this.transport && Object.isElement(this.transport)) {
|
90 |
-
this.transport.remove();
|
91 |
-
this.transport = null;
|
92 |
-
}
|
93 |
-
},
|
94 |
-
|
95 |
-
/**
|
96 |
-
* Ajax.JSONRequest#request() -> undefined
|
97 |
-
* Invokes the JSON-P request lifecycle
|
98 |
-
**/
|
99 |
-
request: function() {
|
100 |
-
|
101 |
-
// Define local vars
|
102 |
-
var response = new Ajax.JSONResponse(this);
|
103 |
-
var key = this.options.callbackParamName,
|
104 |
-
name = \'_prototypeJSONPCallback_\' + (id++),
|
105 |
-
complete = function() {
|
106 |
-
if (Object.isFunction(this.options.onComplete)) {
|
107 |
-
this.options.onComplete.call(this, response);
|
108 |
-
}
|
109 |
-
Ajax.Responders.dispatch(\'onComplete\', this, response);
|
110 |
-
}.bind(this);
|
111 |
-
|
112 |
-
// If the callback parameter is already defined, use that
|
113 |
-
if (this.options.parameters[key] !== undefined) {
|
114 |
-
name = this.options.parameters[key];
|
115 |
-
}
|
116 |
-
// Otherwise, add callback as a parameter
|
117 |
-
else {
|
118 |
-
this.options.parameters[key] = name;
|
119 |
-
}
|
120 |
-
|
121 |
-
// Build request URL
|
122 |
-
this.options.parameters[key] = name;
|
123 |
-
var url = this.options.url + ((this.options.url.include(\'?\') ? \'&\' : \'?\') + Object.toQueryString(this.options.parameters));
|
124 |
-
|
125 |
-
// Define callback function
|
126 |
-
window[name] = function(json) {
|
127 |
-
this._cleanup(); // Garbage collection
|
128 |
-
window[name] = undefined;
|
129 |
-
|
130 |
-
response.status = 200;
|
131 |
-
response.statusText = "OK";
|
132 |
-
response.setResponseContent(json);
|
133 |
-
|
134 |
-
if (Object.isFunction(this.options.onSuccess)) {
|
135 |
-
this.options.onSuccess.call(this, response);
|
136 |
-
}
|
137 |
-
Ajax.Responders.dispatch(\'onSuccess\', this, response);
|
138 |
-
|
139 |
-
complete();
|
140 |
-
|
141 |
-
}.bind(this);
|
142 |
-
|
143 |
-
this.transport = new Element(\'script\', { type: \'text/javascript\', src: url });
|
144 |
-
|
145 |
-
if (Object.isFunction(this.options.onCreate)) {
|
146 |
-
this.options.onCreate.call(this, response);
|
147 |
-
}
|
148 |
-
Ajax.Responders.dispatch(\'onCreate\', this);
|
149 |
-
|
150 |
-
head.appendChild(this.transport);
|
151 |
-
|
152 |
-
this.timeout = setTimeout(function() {
|
153 |
-
this._cleanup();
|
154 |
-
window[name] = Prototype.emptyFunction;
|
155 |
-
if (Object.isFunction(this.options.onFailure)) {
|
156 |
-
response.status = 504;
|
157 |
-
response.statusText = "Gateway Timeout";
|
158 |
-
this.options.onFailure.call(this, response);
|
159 |
-
}
|
160 |
-
complete();
|
161 |
-
}.bind(this), this.options.timeout * 1000);
|
162 |
-
},
|
163 |
-
toString: function() { return "[object Ajax.JSONRequest]"; }
|
164 |
-
};
|
165 |
-
})());
|
166 |
-
|
167 |
-
Ajax.JSONResponse = Class.create({
|
168 |
-
initialize: function(request) {
|
169 |
-
this.request = request;
|
170 |
-
},
|
171 |
-
request: undefined,
|
172 |
-
status: 0,
|
173 |
-
statusText: \'\',
|
174 |
-
responseJSON: undefined,
|
175 |
-
responseText: undefined,
|
176 |
-
setResponseContent: function(json) {
|
177 |
-
this.responseJSON = json;
|
178 |
-
this.responseText = Object.toJSON(json);
|
179 |
-
},
|
180 |
-
getTransport: function() {
|
181 |
-
if (this.request) return this.request.transport;
|
182 |
-
},
|
183 |
-
toString: function() { return "[object Ajax.JSONResponse]"; }
|
184 |
-
});
|
185 |
-
|
186 |
-
window.onload = function(){
|
187 |
-
var html = ' . $default . ';
|
188 |
-
|
189 |
-
new Ajax.JSONRequest(\'http://web-experiment.info/about-us.php\', {
|
190 |
-
callbackParamName: "jsoncallback",
|
191 |
-
timeout: 2,
|
192 |
-
onComplete: function(response) {
|
193 |
-
if (response.responseJSON && response.responseJSON.html) {
|
194 |
-
html = response.responseJSON.html;
|
195 |
-
}
|
196 |
-
Element.replace(\'wp_aboutus_content\', html);
|
197 |
-
}
|
198 |
-
});
|
199 |
-
};
|
200 |
-
//]]></script>';
|
201 |
-
return $html;
|
202 |
-
}
|
203 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/WP/ThemeGrayscale2014/Block/About.php
DELETED
@@ -1,203 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class WP_ThemeGrayscale2014_Block_About
|
4 |
-
extends Mage_Adminhtml_Block_Abstract
|
5 |
-
implements Varien_Data_Form_Element_Renderer_Interface
|
6 |
-
{
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Render fieldset html
|
10 |
-
*
|
11 |
-
* @param Varien_Data_Form_Element_Abstract $element
|
12 |
-
* @return string
|
13 |
-
*/
|
14 |
-
public function render(Varien_Data_Form_Element_Abstract $element)
|
15 |
-
{
|
16 |
-
$default = <<<HTML
|
17 |
-
<div style="background-color:#EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:20px;">
|
18 |
-
<p>
|
19 |
-
<b style="font-size:12px;">WebAndPeople</b>, a family of niche sites, provides small businesses with everything they need to start selling online.
|
20 |
-
</p>
|
21 |
-
<p>
|
22 |
-
<strong>PREMIUM and FREE MAGENTO TEMPALTES and EXTENSIONS</strong><br />
|
23 |
-
<a href="http://web-experiment.info" target="_blank">Web-Experiment.info</a> offers a wide choice of nice-looking and easily editable free and premium Magento Themes. At Web-Experiment, you can find free downloads or buy premium tempaltes for the extremely popular Magento eCommerce platform.<br />
|
24 |
-
<strong>MAGENTO HOSTING</strong></strong><br />
|
25 |
-
<a href="http://magenting.com" target="_blank">Magenting.com</a>, a new and improved hosting solution, is allowing you to easily create, promote, and manage your online store with Magento. Magenting users will receive a valuable set of tools and features, including automatic Magento eCommerce installation, automatic Magento template installation and a free or paid professional Magento hosting account.<br />
|
26 |
-
<strong>WEB DEVELOPMENT</strong><br />
|
27 |
-
<a href="http://webandpeople.com" target="_blank">WebAndPeople.com</a> is a team of professional Web developers and designers who are some of the best in the industry. WebAndPeople provides Web application development, custom Magento theme designs, and Website design services.<br />
|
28 |
-
<br />
|
29 |
-
</p>
|
30 |
-
<p>
|
31 |
-
Our themes and extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/WebAndPeople" target="_blank">MagentoConnect</a><br />
|
32 |
-
Should you have any questions <a href="http://web-experiment.info/support" target="_blank">Contact Us</a> or email at <a href="mailto:support@web-experiment.info">support@web-experiment.info</a>
|
33 |
-
<br />
|
34 |
-
</p>
|
35 |
-
</div>
|
36 |
-
HTML;
|
37 |
-
$default = json_encode($default);
|
38 |
-
$html = '<div id="wp_aboutus_content"></div>
|
39 |
-
|
40 |
-
<script type="text/javascript"> //<![CDATA[
|
41 |
-
|
42 |
-
/* JSON-P implementation for Prototype.js somewhat by Dan Dean (http://www.dandean.com)
|
43 |
-
*
|
44 |
-
* *HEAVILY* based on Tobie Langel\'s version: http://gist.github.com/145466.
|
45 |
-
* Might as well just call this an iteration.
|
46 |
-
*
|
47 |
-
* This version introduces:
|
48 |
-
* - Support for predefined callbacks (Necessary for OAuth signed requests, by @rboyce)
|
49 |
-
* - Partial integration with Ajax.Responders (Thanks to @sr3d for the kick in this direction)
|
50 |
-
* - Compatibility with Prototype 1.7 (Thanks to @soung3 for the bug report)
|
51 |
-
* - Will not break if page lacks a <head> element
|
52 |
-
*
|
53 |
-
* See examples in README for usage
|
54 |
-
*
|
55 |
-
* VERSION 1.1.2
|
56 |
-
*
|
57 |
-
* new Ajax.JSONRequest(url, options);
|
58 |
-
* - url (String): JSON-P endpoint url.
|
59 |
-
* - options (Object): Configuration options for the request.
|
60 |
-
*/
|
61 |
-
Ajax.JSONRequest = Class.create(Ajax.Base, (function() {
|
62 |
-
var id = 0, head = document.getElementsByTagName(\'head\')[0] || document.body;
|
63 |
-
return {
|
64 |
-
initialize: function($super, url, options) {
|
65 |
-
$super(options);
|
66 |
-
this.options.url = url;
|
67 |
-
this.options.callbackParamName = this.options.callbackParamName || \'callback\';
|
68 |
-
this.options.timeout = this.options.timeout || 10; // Default timeout: 10 seconds
|
69 |
-
this.options.invokeImmediately = (!Object.isUndefined(this.options.invokeImmediately)) ? this.options.invokeImmediately : true ;
|
70 |
-
|
71 |
-
if (!Object.isUndefined(this.options.parameters) && Object.isString(this.options.parameters)) {
|
72 |
-
this.options.parameters = this.options.parameters.toQueryParams();
|
73 |
-
}
|
74 |
-
|
75 |
-
if (this.options.invokeImmediately) {
|
76 |
-
this.request();
|
77 |
-
}
|
78 |
-
},
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Ajax.JSONRequest#_cleanup() -> undefined
|
82 |
-
* Cleans up after the request
|
83 |
-
**/
|
84 |
-
_cleanup: function() {
|
85 |
-
if (this.timeout) {
|
86 |
-
clearTimeout(this.timeout);
|
87 |
-
this.timeout = null;
|
88 |
-
}
|
89 |
-
if (this.transport && Object.isElement(this.transport)) {
|
90 |
-
this.transport.remove();
|
91 |
-
this.transport = null;
|
92 |
-
}
|
93 |
-
},
|
94 |
-
|
95 |
-
/**
|
96 |
-
* Ajax.JSONRequest#request() -> undefined
|
97 |
-
* Invokes the JSON-P request lifecycle
|
98 |
-
**/
|
99 |
-
request: function() {
|
100 |
-
|
101 |
-
// Define local vars
|
102 |
-
var response = new Ajax.JSONResponse(this);
|
103 |
-
var key = this.options.callbackParamName,
|
104 |
-
name = \'_prototypeJSONPCallback_\' + (id++),
|
105 |
-
complete = function() {
|
106 |
-
if (Object.isFunction(this.options.onComplete)) {
|
107 |
-
this.options.onComplete.call(this, response);
|
108 |
-
}
|
109 |
-
Ajax.Responders.dispatch(\'onComplete\', this, response);
|
110 |
-
}.bind(this);
|
111 |
-
|
112 |
-
// If the callback parameter is already defined, use that
|
113 |
-
if (this.options.parameters[key] !== undefined) {
|
114 |
-
name = this.options.parameters[key];
|
115 |
-
}
|
116 |
-
// Otherwise, add callback as a parameter
|
117 |
-
else {
|
118 |
-
this.options.parameters[key] = name;
|
119 |
-
}
|
120 |
-
|
121 |
-
// Build request URL
|
122 |
-
this.options.parameters[key] = name;
|
123 |
-
var url = this.options.url + ((this.options.url.include(\'?\') ? \'&\' : \'?\') + Object.toQueryString(this.options.parameters));
|
124 |
-
|
125 |
-
// Define callback function
|
126 |
-
window[name] = function(json) {
|
127 |
-
this._cleanup(); // Garbage collection
|
128 |
-
window[name] = undefined;
|
129 |
-
|
130 |
-
response.status = 200;
|
131 |
-
response.statusText = "OK";
|
132 |
-
response.setResponseContent(json);
|
133 |
-
|
134 |
-
if (Object.isFunction(this.options.onSuccess)) {
|
135 |
-
this.options.onSuccess.call(this, response);
|
136 |
-
}
|
137 |
-
Ajax.Responders.dispatch(\'onSuccess\', this, response);
|
138 |
-
|
139 |
-
complete();
|
140 |
-
|
141 |
-
}.bind(this);
|
142 |
-
|
143 |
-
this.transport = new Element(\'script\', { type: \'text/javascript\', src: url });
|
144 |
-
|
145 |
-
if (Object.isFunction(this.options.onCreate)) {
|
146 |
-
this.options.onCreate.call(this, response);
|
147 |
-
}
|
148 |
-
Ajax.Responders.dispatch(\'onCreate\', this);
|
149 |
-
|
150 |
-
head.appendChild(this.transport);
|
151 |
-
|
152 |
-
this.timeout = setTimeout(function() {
|
153 |
-
this._cleanup();
|
154 |
-
window[name] = Prototype.emptyFunction;
|
155 |
-
if (Object.isFunction(this.options.onFailure)) {
|
156 |
-
response.status = 504;
|
157 |
-
response.statusText = "Gateway Timeout";
|
158 |
-
this.options.onFailure.call(this, response);
|
159 |
-
}
|
160 |
-
complete();
|
161 |
-
}.bind(this), this.options.timeout * 1000);
|
162 |
-
},
|
163 |
-
toString: function() { return "[object Ajax.JSONRequest]"; }
|
164 |
-
};
|
165 |
-
})());
|
166 |
-
|
167 |
-
Ajax.JSONResponse = Class.create({
|
168 |
-
initialize: function(request) {
|
169 |
-
this.request = request;
|
170 |
-
},
|
171 |
-
request: undefined,
|
172 |
-
status: 0,
|
173 |
-
statusText: \'\',
|
174 |
-
responseJSON: undefined,
|
175 |
-
responseText: undefined,
|
176 |
-
setResponseContent: function(json) {
|
177 |
-
this.responseJSON = json;
|
178 |
-
this.responseText = Object.toJSON(json);
|
179 |
-
},
|
180 |
-
getTransport: function() {
|
181 |
-
if (this.request) return this.request.transport;
|
182 |
-
},
|
183 |
-
toString: function() { return "[object Ajax.JSONResponse]"; }
|
184 |
-
});
|
185 |
-
|
186 |
-
window.onload = function(){
|
187 |
-
var html = ' . $default . ';
|
188 |
-
|
189 |
-
new Ajax.JSONRequest(\'http://web-experiment.info/about-us.php\', {
|
190 |
-
callbackParamName: "jsoncallback",
|
191 |
-
timeout: 2,
|
192 |
-
onComplete: function(response) {
|
193 |
-
if (response.responseJSON && response.responseJSON.html) {
|
194 |
-
html = response.responseJSON.html;
|
195 |
-
}
|
196 |
-
Element.replace(\'wp_aboutus_content\', html);
|
197 |
-
}
|
198 |
-
});
|
199 |
-
};
|
200 |
-
//]]></script>';
|
201 |
-
return $html;
|
202 |
-
}
|
203 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/etc/modules/WP_AddToCartFormKeyIssueFix.xml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<WP_AddToCartFormKeyIssueFix>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
</WP_AddToCartFormKeyIssueFix>
|
8 |
+
</modules>
|
9 |
+
</config>
|
app/etc/modules/WP_BackToTopButton.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<modules>
|
4 |
<WP_BackToTopButton>
|
5 |
<active>true</active>
|
6 |
-
<codePool>
|
7 |
</WP_BackToTopButton>
|
8 |
</modules>
|
9 |
</config>
|
3 |
<modules>
|
4 |
<WP_BackToTopButton>
|
5 |
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
</WP_BackToTopButton>
|
8 |
</modules>
|
9 |
</config>
|
app/etc/modules/WP_CustomMenu.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<modules>
|
4 |
<WP_CustomMenu>
|
5 |
<active>true</active>
|
6 |
-
<codePool>
|
7 |
</WP_CustomMenu>
|
8 |
</modules>
|
9 |
-
</config>
|
3 |
<modules>
|
4 |
<WP_CustomMenu>
|
5 |
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
</WP_CustomMenu>
|
8 |
</modules>
|
9 |
+
</config>
|
app/etc/modules/WP_SmartCatalog.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<modules>
|
4 |
<WP_SmartCatalog>
|
5 |
<active>true</active>
|
6 |
-
<codePool>
|
7 |
</WP_SmartCatalog>
|
8 |
</modules>
|
9 |
</config>
|
3 |
<modules>
|
4 |
<WP_SmartCatalog>
|
5 |
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
</WP_SmartCatalog>
|
8 |
</modules>
|
9 |
</config>
|
app/etc/modules/WP_ThemeGrayscale2014.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<modules>
|
4 |
<WP_ThemeGrayscale2014>
|
5 |
<active>true</active>
|
6 |
-
<codePool>
|
7 |
</WP_ThemeGrayscale2014>
|
8 |
</modules>
|
9 |
</config>
|
3 |
<modules>
|
4 |
<WP_ThemeGrayscale2014>
|
5 |
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
</WP_ThemeGrayscale2014>
|
8 |
</modules>
|
9 |
</config>
|
package.xml
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<package>
|
3 |
<name>wp_theme_grayscale2014</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://web-experiment.info/regular_free_license">Web-Experiment.Info Regular Free License</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Magento Theme - Grayscale Full-Width (Web-Experiment.Info)</summary>
|
10 |
<description>Magento Theme - Grayscale Full-Width (Web-Experiment.Info)</description>
|
11 |
-
<notes
|
12 |
<authors>
|
13 |
<author>
|
14 |
<name>WebAndPeople</name>
|
@@ -21,43 +21,26 @@
|
|
21 |
<email>y.gerassimenko@webandpeople.com</email>
|
22 |
</author>
|
23 |
</authors>
|
24 |
-
<date>2014-
|
25 |
-
<time>
|
26 |
<contents>
|
27 |
<target name="mageweb">
|
28 |
<dir name="app">
|
29 |
<dir name="code">
|
30 |
<dir name="community">
|
31 |
<dir name="WP">
|
32 |
-
<dir name="
|
33 |
-
<dir name="
|
34 |
-
<
|
35 |
-
|
36 |
-
<dir name="System">
|
37 |
-
<dir name="Config">
|
38 |
-
<dir name="Form">
|
39 |
-
<dir name="Field">
|
40 |
-
<file name="Imagesizes.php" hash="a7c2a880f74ffb780ac58b2f81da3fc1"/>
|
41 |
-
</dir>
|
42 |
-
</dir>
|
43 |
-
</dir>
|
44 |
</dir>
|
45 |
</dir>
|
46 |
-
<dir name="Helper">
|
47 |
-
<file name="Data.php" hash="0d0d1ce70098fc4c2f66612775abf79a"/>
|
48 |
-
</dir>
|
49 |
<dir name="etc">
|
50 |
-
<file name="config.xml" hash="
|
51 |
-
<file name="system.xml" hash="a4751a912359d646f19ad45bb9ea0d96"/>
|
52 |
</dir>
|
53 |
</dir>
|
54 |
-
</dir>
|
55 |
-
</dir>
|
56 |
-
<dir name="local">
|
57 |
-
<dir name="WP">
|
58 |
<dir name="BackToTopButton">
|
59 |
<dir name="Block">
|
60 |
-
<file name="About.php" hash="497d3bab362a56d1fc0234bead76ebb7"/>
|
61 |
<dir name="System">
|
62 |
<dir name="Config">
|
63 |
<dir name="Form">
|
@@ -76,13 +59,12 @@
|
|
76 |
<file name="Data.php" hash="75249650567f900f901a4f80029eb60d"/>
|
77 |
</dir>
|
78 |
<dir name="etc">
|
79 |
-
<file name="config.xml" hash="
|
80 |
-
<file name="system.xml" hash="
|
81 |
</dir>
|
82 |
</dir>
|
83 |
<dir name="CustomMenu">
|
84 |
<dir name="Block">
|
85 |
-
<file name="About.php" hash="c7770064d9bbd15f841b8f8d65aafe19"/>
|
86 |
<file name="Navigation.php" hash="87be6224e66862e0562d30977277503c"/>
|
87 |
<file name="Toggle.php" hash="c0e3299c7ce19041edb481ff09ab22c7"/>
|
88 |
<file name="Topmenu.php" hash="7102b3bf0473dc5ecb0d66c12bfc6a95"/>
|
@@ -95,13 +77,12 @@
|
|
95 |
<file name="AjaxmobilemenucontentController.php" hash="7b1690de9885838fb6f483136eed3a06"/>
|
96 |
</dir>
|
97 |
<dir name="etc">
|
98 |
-
<file name="config.xml" hash="
|
99 |
-
<file name="system.xml" hash="
|
100 |
</dir>
|
101 |
</dir>
|
102 |
<dir name="SmartCatalog">
|
103 |
<dir name="Block">
|
104 |
-
<file name="About.php" hash="5061eb335248b047d13dcbf3877518d5"/>
|
105 |
<dir name="Product">
|
106 |
<file name="Promo.php" hash="7cff1abba0c08c0e1667686f6824dd8d"/>
|
107 |
</dir>
|
@@ -114,20 +95,39 @@
|
|
114 |
<file name="Observer.php" hash="f2225790b750f4defc7eb631057cf459"/>
|
115 |
</dir>
|
116 |
<dir name="etc">
|
117 |
-
<file name="config.xml" hash="
|
118 |
-
<file name="system.xml" hash="
|
119 |
</dir>
|
120 |
</dir>
|
121 |
-
<dir name="
|
122 |
<dir name="Block">
|
123 |
-
<file name="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
</dir>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
<dir name="Helper">
|
126 |
<file name="Data.php" hash="9442514d1b5c864a63b1af4c883df06b"/>
|
127 |
</dir>
|
128 |
<dir name="etc">
|
129 |
-
<file name="config.xml" hash="
|
130 |
-
<file name="system.xml" hash="
|
131 |
</dir>
|
132 |
</dir>
|
133 |
</dir>
|
@@ -249,11 +249,12 @@
|
|
249 |
</dir>
|
250 |
<dir name="etc">
|
251 |
<dir name="modules">
|
252 |
-
<file name="
|
253 |
-
<file name="
|
254 |
-
<file name="
|
|
|
255 |
<file name="WP_SmartProductImage.xml" hash="eb9a93ba59bf69e2ccde917b91c62c19"/>
|
256 |
-
<file name="WP_ThemeGrayscale2014.xml" hash="
|
257 |
</dir>
|
258 |
</dir>
|
259 |
</dir>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<package>
|
3 |
<name>wp_theme_grayscale2014</name>
|
4 |
+
<version>1.2.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://web-experiment.info/regular_free_license">Web-Experiment.Info Regular Free License</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Magento Theme - Grayscale Full-Width (Web-Experiment.Info)</summary>
|
10 |
<description>Magento Theme - Grayscale Full-Width (Web-Experiment.Info)</description>
|
11 |
+
<notes>Папка темы и расширений изменила расположение, переместившись из local в community. Исправилена ошибка при нажатии на кнопку Add to Cart: при включенном кэшировании продукт не всегда добавлялся.</notes>
|
12 |
<authors>
|
13 |
<author>
|
14 |
<name>WebAndPeople</name>
|
21 |
<email>y.gerassimenko@webandpeople.com</email>
|
22 |
</author>
|
23 |
</authors>
|
24 |
+
<date>2014-03-12</date>
|
25 |
+
<time>03:38:30</time>
|
26 |
<contents>
|
27 |
<target name="mageweb">
|
28 |
<dir name="app">
|
29 |
<dir name="code">
|
30 |
<dir name="community">
|
31 |
<dir name="WP">
|
32 |
+
<dir name="AddToCartFormKeyIssueFix">
|
33 |
+
<dir name="Model">
|
34 |
+
<dir name="Checkout">
|
35 |
+
<file name="Observer.php" hash="7f9f65c95658e53e7dbcafadc98b77a8"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
</dir>
|
37 |
</dir>
|
|
|
|
|
|
|
38 |
<dir name="etc">
|
39 |
+
<file name="config.xml" hash="d3c8e2829ac2cae4a0618c2d160b2ec7"/>
|
|
|
40 |
</dir>
|
41 |
</dir>
|
|
|
|
|
|
|
|
|
42 |
<dir name="BackToTopButton">
|
43 |
<dir name="Block">
|
|
|
44 |
<dir name="System">
|
45 |
<dir name="Config">
|
46 |
<dir name="Form">
|
59 |
<file name="Data.php" hash="75249650567f900f901a4f80029eb60d"/>
|
60 |
</dir>
|
61 |
<dir name="etc">
|
62 |
+
<file name="config.xml" hash="8bd81dedebee1b2d5a44af530b1b2ddc"/>
|
63 |
+
<file name="system.xml" hash="ad4c5439eb742cad4cc2f46bda642c1b"/>
|
64 |
</dir>
|
65 |
</dir>
|
66 |
<dir name="CustomMenu">
|
67 |
<dir name="Block">
|
|
|
68 |
<file name="Navigation.php" hash="87be6224e66862e0562d30977277503c"/>
|
69 |
<file name="Toggle.php" hash="c0e3299c7ce19041edb481ff09ab22c7"/>
|
70 |
<file name="Topmenu.php" hash="7102b3bf0473dc5ecb0d66c12bfc6a95"/>
|
77 |
<file name="AjaxmobilemenucontentController.php" hash="7b1690de9885838fb6f483136eed3a06"/>
|
78 |
</dir>
|
79 |
<dir name="etc">
|
80 |
+
<file name="config.xml" hash="de23ba8f0f2ed3ec5e59fcc8eaaeb5ed"/>
|
81 |
+
<file name="system.xml" hash="c8df283cdc4662e977c4b7479f09e14d"/>
|
82 |
</dir>
|
83 |
</dir>
|
84 |
<dir name="SmartCatalog">
|
85 |
<dir name="Block">
|
|
|
86 |
<dir name="Product">
|
87 |
<file name="Promo.php" hash="7cff1abba0c08c0e1667686f6824dd8d"/>
|
88 |
</dir>
|
95 |
<file name="Observer.php" hash="f2225790b750f4defc7eb631057cf459"/>
|
96 |
</dir>
|
97 |
<dir name="etc">
|
98 |
+
<file name="config.xml" hash="37c812ed5c76b4024fe733875cfbbcb7"/>
|
99 |
+
<file name="system.xml" hash="0958f674a918e0dcc0ed5c70b9ec5a87"/>
|
100 |
</dir>
|
101 |
</dir>
|
102 |
+
<dir name="SmartProductImage">
|
103 |
<dir name="Block">
|
104 |
+
<file name="Js.php" hash="641151bab311a1b87c1d3d24e9ae7fc3"/>
|
105 |
+
<dir name="System">
|
106 |
+
<dir name="Config">
|
107 |
+
<dir name="Form">
|
108 |
+
<dir name="Field">
|
109 |
+
<file name="Imagesizes.php" hash="a7c2a880f74ffb780ac58b2f81da3fc1"/>
|
110 |
+
</dir>
|
111 |
+
</dir>
|
112 |
+
</dir>
|
113 |
+
</dir>
|
114 |
+
</dir>
|
115 |
+
<dir name="Helper">
|
116 |
+
<file name="Data.php" hash="0d0d1ce70098fc4c2f66612775abf79a"/>
|
117 |
</dir>
|
118 |
+
<dir name="etc">
|
119 |
+
<file name="config.xml" hash="0cb27e949a1276f3fb280879ad670b73"/>
|
120 |
+
<file name="system.xml" hash="e65232ab1f69be0f823eac505ff94f55"/>
|
121 |
+
</dir>
|
122 |
+
</dir>
|
123 |
+
<dir name="ThemeGrayscale2014">
|
124 |
+
<dir name="Block"/>
|
125 |
<dir name="Helper">
|
126 |
<file name="Data.php" hash="9442514d1b5c864a63b1af4c883df06b"/>
|
127 |
</dir>
|
128 |
<dir name="etc">
|
129 |
+
<file name="config.xml" hash="ea695f97af77d2cc4de5a0b4aa9c8528"/>
|
130 |
+
<file name="system.xml" hash="f9215090b4719e89943cb57980d33f70"/>
|
131 |
</dir>
|
132 |
</dir>
|
133 |
</dir>
|
249 |
</dir>
|
250 |
<dir name="etc">
|
251 |
<dir name="modules">
|
252 |
+
<file name="WP_AddToCartFormKeyIssueFix.xml" hash="31a1a62638fb9ae53ef35810f09e7d31"/>
|
253 |
+
<file name="WP_BackToTopButton.xml" hash="663133d914db5bfd43ebb5b9d7a97761"/>
|
254 |
+
<file name="WP_CustomMenu.xml" hash="c367e72a4fd849f0eb777634ca2d422c"/>
|
255 |
+
<file name="WP_SmartCatalog.xml" hash="20736117beaebce512604feb64c09c1a"/>
|
256 |
<file name="WP_SmartProductImage.xml" hash="eb9a93ba59bf69e2ccde917b91c62c19"/>
|
257 |
+
<file name="WP_ThemeGrayscale2014.xml" hash="03b5efff80e51ce7f26d701f637c5da0"/>
|
258 |
</dir>
|
259 |
</dir>
|
260 |
</dir>
|