Version Notes
First release for WIC module to depends on, and installed through Magento Connect
Download this release
Release Info
Developer | Magento Core Team |
Extension | WIC_All |
Version | 1.0.0 |
Comparing to | |
See all releases |
Version 1.0.0
- WIC-LICENSE.TXT +71 -0
- app/code/community/WIC/All/Block/Extensions.php +75 -0
- app/code/community/WIC/All/Block/Html/Head.php +99 -0
- app/code/community/WIC/All/Helper/Data.php +22 -0
- app/code/community/WIC/All/etc/config.xml +90 -0
- app/code/community/WIC/All/etc/system.xml +32 -0
- app/code/community/WIC/All/sql/wicall_setup/mysql4-install-1.0.0.php +30 -0
- app/design/adminhtml/default/default/layout/wic_all.xml +10 -0
- app/etc/modules/WIC_All.xml +9 -0
- app/locale/en_US/WIC_All.csv +1 -0
- app/locale/fr_FR/WIC_All.csv +1 -0
- package.xml +18 -0
- skin/adminhtml/default/default/wic_all/css/tab.css +1 -0
- skin/adminhtml/default/default/wic_all/images/ok.gif +0 -0
- skin/adminhtml/default/default/wic_all/images/wic.png +0 -0
WIC-LICENSE.TXT
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Web In Color EULA
|
2 |
+
www.webincolor.fr
|
3 |
+
|
4 |
+
THIS LICENSE AGREEMENT (HEREINAFTER AGREEMENT) IS AN AGREEMENT BETWEEN YOU (THE
|
5 |
+
PERSON OR COMPANY WHO IS BEING LICENSED TO USE THE SOFTWARE OR DOCUMENTATION)
|
6 |
+
AND Web In Color (HEREINAFTER WE/US/OUR). THE AGREEMENT APPLIES TO ALL
|
7 |
+
PRODUCTS/SOFTWARE/SCRIPTS/SERVICES YOU PURCHASE FROM US.
|
8 |
+
|
9 |
+
1. By purchasing the Software you acknowledge that you have read this Agreement,
|
10 |
+
and that you agree to the content of the Agreement and its terms, and agree
|
11 |
+
to use the Software in compliance with this Agreement.
|
12 |
+
|
13 |
+
2. The Agreement comes into legal force at the moment when you order our
|
14 |
+
Software from our site or receive it through email or on data medium at the
|
15 |
+
our discretion.
|
16 |
+
|
17 |
+
3. We are the copyright holder of the Software. The Software or a portion of it
|
18 |
+
is a copyrightable matter and is liable to protection by the law. Any
|
19 |
+
activity that infringes terms of this Agreement violates copyright law and
|
20 |
+
will be prosecuted according to the current law. We reserve the right to
|
21 |
+
revoke the license of any user who is holding an invalid license.
|
22 |
+
|
23 |
+
4. This Agreement gives you the right to use only one copy of the Software on
|
24 |
+
one Magento installation solely for your own personal or business use,
|
25 |
+
subject to all other terms of this Agreement. A separate License should be
|
26 |
+
purchased for each new Software installation. Any distribution of the Software
|
27 |
+
without our consent, including noncommercial distribution is regarded as
|
28 |
+
violation of this Agreement and entails liability, according to the current law.
|
29 |
+
|
30 |
+
5. You may not use any part of the code in whole or part in any other software
|
31 |
+
or product or website.
|
32 |
+
|
33 |
+
6. You may not give, sell, distribute, sub-license, rent, lease or lend any
|
34 |
+
portion of the Software or Documentation to anyone. You may not place the
|
35 |
+
Software on a server so that it is accessible via a public network such as
|
36 |
+
the Internet for distribution purposes.
|
37 |
+
|
38 |
+
7. You are bound to preserve the copyright information intact, this includes the
|
39 |
+
text/link at bottom.
|
40 |
+
|
41 |
+
8. We reserve the right to publish a selected list of users of our Software.
|
42 |
+
|
43 |
+
9. We will not be liable to you for any damages (including any loss of
|
44 |
+
profits/saving, or incidental or consequential) caused to you, your
|
45 |
+
information and your business arising out of the use or inability to use
|
46 |
+
this Software.
|
47 |
+
|
48 |
+
10. We are not liable for prosecution arising from use of the Software against
|
49 |
+
law or for any illegal use.
|
50 |
+
|
51 |
+
11. If you fail to use the Software in accordance with the terms and conditions
|
52 |
+
of this License Agreement, it constitutes a breach of the agreement, and
|
53 |
+
your license to use the program is revoked.
|
54 |
+
|
55 |
+
12. Web In Color reserves the right to change this license agreement at any
|
56 |
+
time and impose its clauses at any given time.
|
57 |
+
|
58 |
+
13. License agreement remains effective until terminated. We retain the right to
|
59 |
+
terminate your license to use the Software at any time, if in its sole
|
60 |
+
discretion, you are not abiding by the terms of the Agreement, including,
|
61 |
+
but not limited to, obscuring or removing any link or copyright notice as
|
62 |
+
specified in this agreement. You may terminate it at any time by destroying
|
63 |
+
all copies of the Software. Termination of this Agreement does not bind us
|
64 |
+
to return you the amount spent for purchase of the Software.
|
65 |
+
|
66 |
+
14. If you continue to use the Software after Web In Color gives you notice
|
67 |
+
of termination of your license, you hereby agree to accept an injunction to
|
68 |
+
enjoin you from its further use and to pay all costs (including but not
|
69 |
+
limited to reasonable attorney fees) to enforce our revocation of your
|
70 |
+
license and any damages suffered by us because of your misuse of
|
71 |
+
the Software.
|
app/code/community/WIC/All/Block/Extensions.php
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Web In Color
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the EULA
|
9 |
+
* that is bundled with this package in the file WIC-LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://store.webincolor.fr/WIC-LICENSE.txt
|
12 |
+
*
|
13 |
+
* @package WIC_All
|
14 |
+
* @copyright Copyright (c) 2010-2014 Web In Color (http://www.webincolor.fr)
|
15 |
+
* @author Web In Color <contact@webincolor.fr>
|
16 |
+
**/
|
17 |
+
|
18 |
+
class WIC_All_Block_Extensions extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
|
19 |
+
{
|
20 |
+
protected $_dummyElement;
|
21 |
+
protected $_fieldRenderer;
|
22 |
+
protected $_values;
|
23 |
+
|
24 |
+
public function render(Varien_Data_Form_Element_Abstract $element)
|
25 |
+
{
|
26 |
+
$html = $this->_getHeaderHtml($element);
|
27 |
+
$modules = array_keys((array)Mage::getConfig()->getNode('modules')->children());
|
28 |
+
sort($modules);
|
29 |
+
|
30 |
+
foreach ($modules as $moduleName) {
|
31 |
+
if (strstr($moduleName, 'WIC_') === false) {
|
32 |
+
continue;
|
33 |
+
}
|
34 |
+
|
35 |
+
if ($moduleName == 'WIC_All'){
|
36 |
+
continue;
|
37 |
+
}
|
38 |
+
|
39 |
+
$html.= $this->_getFieldHtml($element, $moduleName);
|
40 |
+
}
|
41 |
+
$html .= $this->_getFooterHtml($element);
|
42 |
+
|
43 |
+
return $html;
|
44 |
+
}
|
45 |
+
|
46 |
+
protected function _getFieldRenderer()
|
47 |
+
{
|
48 |
+
if (empty($this->_fieldRenderer)) {
|
49 |
+
$this->_fieldRenderer = Mage::getBlockSingleton('adminhtml/system_config_form_field');
|
50 |
+
}
|
51 |
+
return $this->_fieldRenderer;
|
52 |
+
}
|
53 |
+
|
54 |
+
protected function _getFieldHtml($fieldset, $moduleCode)
|
55 |
+
{
|
56 |
+
$currentVer = Mage::getConfig()->getModuleConfig($moduleCode)->version;
|
57 |
+
if (!$currentVer)
|
58 |
+
return '';
|
59 |
+
|
60 |
+
$moduleName = substr($moduleCode, strpos($moduleCode, '_') + 1);
|
61 |
+
|
62 |
+
$status = '<a target="_blank"><img src="'.$this->getSkinUrl('wic_all/images/ok.gif').'" title="'.$this->__("Installed").'"/></a>';
|
63 |
+
|
64 |
+
$moduleName = $status . ' ' . $moduleName;
|
65 |
+
|
66 |
+
$field = $fieldset->addField($moduleCode, 'label', array(
|
67 |
+
'name' => 'dummy',
|
68 |
+
'label' => $moduleName,
|
69 |
+
'value' => $currentVer,
|
70 |
+
))->setRenderer($this->_getFieldRenderer());
|
71 |
+
|
72 |
+
return $field->toHtml();
|
73 |
+
}
|
74 |
+
|
75 |
+
}
|
app/code/community/WIC/All/Block/Html/Head.php
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Web In Color
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the EULA
|
9 |
+
* that is bundled with this package in the file WIC-LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://store.webincolor.fr/WIC-LICENSE.txt
|
12 |
+
*
|
13 |
+
* @package WIC_All
|
14 |
+
* @copyright Copyright (c) 2010-2014 Web In Color (http://www.webincolor.fr)
|
15 |
+
* @author Web In Color <contact@webincolor.fr>
|
16 |
+
**/
|
17 |
+
|
18 |
+
/* WIC Html page block */
|
19 |
+
|
20 |
+
class WIC_All_Block_Html_Head extends Mage_Page_Block_Html_Head
|
21 |
+
{
|
22 |
+
/**
|
23 |
+
* Initialize template
|
24 |
+
*
|
25 |
+
*/
|
26 |
+
protected function _construct()
|
27 |
+
{
|
28 |
+
$this->setTemplate('page/html/head.phtml');
|
29 |
+
}
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Add HEAD External Item
|
33 |
+
*
|
34 |
+
* Allowed types:
|
35 |
+
* - js
|
36 |
+
* - js_css
|
37 |
+
* - skin_js
|
38 |
+
* - skin_css
|
39 |
+
* - rss
|
40 |
+
*
|
41 |
+
* @param string $type
|
42 |
+
* @param string $name
|
43 |
+
* @param string $params
|
44 |
+
* @param string $if
|
45 |
+
* @param string $cond
|
46 |
+
* @return Mage_Page_Block_Html_Head
|
47 |
+
*/
|
48 |
+
public function addExternalItem($type, $name, $params=null, $if=null, $cond=null)
|
49 |
+
{
|
50 |
+
parent::addItem($type, $name, $params=null, $if=null, $cond=null);
|
51 |
+
}
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Remove External Item from HEAD entity
|
55 |
+
*
|
56 |
+
* @param string $type
|
57 |
+
* @param string $name
|
58 |
+
* @return Mage_Page_Block_Html_Head
|
59 |
+
*/
|
60 |
+
public function removeExternalItem($type, $name)
|
61 |
+
{
|
62 |
+
parent::removeItem($type, $name);
|
63 |
+
}
|
64 |
+
|
65 |
+
/**
|
66 |
+
* Classify HTML head item and queue it into "lines" array
|
67 |
+
*
|
68 |
+
* @see self::getCssJsHtml()
|
69 |
+
* @param array &$lines
|
70 |
+
* @param string $itemIf
|
71 |
+
* @param string $itemType
|
72 |
+
* @param string $itemParams
|
73 |
+
* @param string $itemName
|
74 |
+
* @param array $itemThe
|
75 |
+
*/
|
76 |
+
protected function _separateOtherHtmlHeadElements(&$lines, $itemIf, $itemType, $itemParams, $itemName, $itemThe)
|
77 |
+
{
|
78 |
+
$params = $itemParams ? ' ' . $itemParams : '';
|
79 |
+
$href = $itemName;
|
80 |
+
switch ($itemType) {
|
81 |
+
case 'rss':
|
82 |
+
$lines[$itemIf]['other'][] = sprintf('<link href="%s"%s rel="alternate" type="application/rss+xml" />',
|
83 |
+
$href, $params
|
84 |
+
);
|
85 |
+
break;
|
86 |
+
case 'link_rel':
|
87 |
+
$lines[$itemIf]['other'][] = sprintf('<link%s href="%s" />', $params, $href);
|
88 |
+
break;
|
89 |
+
|
90 |
+
case 'external_js':
|
91 |
+
$lines[$itemIf]['other'][] = sprintf('<script type="text/javascript" src="%s" %s></script>', $href, $params);
|
92 |
+
break;
|
93 |
+
|
94 |
+
case 'external_css':
|
95 |
+
$lines[$itemIf]['other'][] = sprintf('<link rel="stylesheet" type="text/css" href="%s" %s/>', $href, $params);
|
96 |
+
break;
|
97 |
+
}
|
98 |
+
}
|
99 |
+
}
|
app/code/community/WIC/All/Helper/Data.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Web In Color
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the EULA
|
9 |
+
* that is bundled with this package in the file WIC-LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://store.webincolor.fr/WIC-LICENSE.txt
|
12 |
+
*
|
13 |
+
* @package WIC_All
|
14 |
+
* @copyright Copyright (c) 2010-2014 Web In Color (http://www.webincolor.fr)
|
15 |
+
* @author Web In Color <contact@webincolor.fr>
|
16 |
+
**/
|
17 |
+
|
18 |
+
class WIC_All_Helper_Data extends Mage_Core_Helper_Abstract
|
19 |
+
{
|
20 |
+
|
21 |
+
|
22 |
+
}
|
app/code/community/WIC/All/etc/config.xml
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<WIC_All>
|
5 |
+
<version>1.0.0</version>
|
6 |
+
</WIC_All>
|
7 |
+
</modules>
|
8 |
+
<global>
|
9 |
+
<blocks>
|
10 |
+
<wicall>
|
11 |
+
<class>WIC_All_Block</class>
|
12 |
+
</wicall>
|
13 |
+
<page>
|
14 |
+
<rewrite>
|
15 |
+
<html_head>WIC_All_Block_Html_Head</html_head>
|
16 |
+
</rewrite>
|
17 |
+
</page>
|
18 |
+
</blocks>
|
19 |
+
<helpers>
|
20 |
+
<wicall>
|
21 |
+
<class>WIC_All_Helper</class>
|
22 |
+
</wicall>
|
23 |
+
</helpers>
|
24 |
+
<models>
|
25 |
+
<wicall>
|
26 |
+
<class>WIC_All_Model</class>
|
27 |
+
</wicall>
|
28 |
+
</models>
|
29 |
+
<resources>
|
30 |
+
<wicall_setup>
|
31 |
+
<setup>
|
32 |
+
<module>WIC_A@ll</module>
|
33 |
+
</setup>
|
34 |
+
<connection>
|
35 |
+
<use>core_setup</use>
|
36 |
+
</connection>
|
37 |
+
</wicall_setup>
|
38 |
+
<wicall_write>
|
39 |
+
<connection>
|
40 |
+
<use>core_write</use>
|
41 |
+
</connection>
|
42 |
+
</wicall_write>
|
43 |
+
<wicall_read>
|
44 |
+
<connection>
|
45 |
+
<use>core_read</use>
|
46 |
+
</connection>
|
47 |
+
</wicall_read>
|
48 |
+
</resources>
|
49 |
+
</global>
|
50 |
+
<adminhtml>
|
51 |
+
<layout>
|
52 |
+
<updates>
|
53 |
+
<wicall module="WIC_All">
|
54 |
+
<file>wic_all.xml</file>
|
55 |
+
</wicall>
|
56 |
+
</updates>
|
57 |
+
</layout>
|
58 |
+
<translate>
|
59 |
+
<modules>
|
60 |
+
<affilinet>
|
61 |
+
<files>
|
62 |
+
<default>WIC_All.csv</default>
|
63 |
+
</files>
|
64 |
+
</affilinet>
|
65 |
+
</modules>
|
66 |
+
</translate>
|
67 |
+
<acl>
|
68 |
+
<resources>
|
69 |
+
<all>
|
70 |
+
<title>Allow Everything</title>
|
71 |
+
</all>
|
72 |
+
<admin>
|
73 |
+
<children>
|
74 |
+
<system>
|
75 |
+
<children>
|
76 |
+
<config>
|
77 |
+
<children>
|
78 |
+
<wicall>
|
79 |
+
<title>Web In Color - All</title>
|
80 |
+
</wicall>
|
81 |
+
</children>
|
82 |
+
</config>
|
83 |
+
</children>
|
84 |
+
</system>
|
85 |
+
</children>
|
86 |
+
</admin>
|
87 |
+
</resources>
|
88 |
+
</acl>
|
89 |
+
</adminhtml>
|
90 |
+
</config>
|
app/code/community/WIC/All/etc/system.xml
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<wic translate="label">
|
5 |
+
<label>WIC</label>
|
6 |
+
<sort_order>401</sort_order>
|
7 |
+
<class>wic-tab</class>
|
8 |
+
</wic>
|
9 |
+
</tabs>
|
10 |
+
<sections>
|
11 |
+
<wicall translate="label" module="wicall">
|
12 |
+
<label><![CDATA[General]]></label>
|
13 |
+
<tab>wic</tab>
|
14 |
+
<frontend_type>text</frontend_type>
|
15 |
+
<sort_order>1</sort_order>
|
16 |
+
<show_in_default>1</show_in_default>
|
17 |
+
<show_in_website>1</show_in_website>
|
18 |
+
<show_in_store>1</show_in_store>
|
19 |
+
<groups>
|
20 |
+
<extensions translate="label">
|
21 |
+
<label>Installed Extensions</label>
|
22 |
+
<frontend_type>text</frontend_type>
|
23 |
+
<frontend_model>wicall/extensions</frontend_model>
|
24 |
+
<sort_order>2</sort_order>
|
25 |
+
<show_in_default>1</show_in_default>
|
26 |
+
<show_in_website>1</show_in_website>
|
27 |
+
<show_in_store>1</show_in_store>
|
28 |
+
</extensions>
|
29 |
+
</groups>
|
30 |
+
</wicall>
|
31 |
+
</sections>
|
32 |
+
</config>
|
app/code/community/WIC/All/sql/wicall_setup/mysql4-install-1.0.0.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Web In Color
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the EULA
|
9 |
+
* that is bundled with this package in the file WIC-LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://store.webincolor.fr/WIC-LICENSE.txt
|
12 |
+
*
|
13 |
+
* @package WIC_All
|
14 |
+
* @copyright Copyright (c) 2010-2014 Web In Color (http://www.webincolor.fr)
|
15 |
+
* @author Web In Color <contact@webincolor.fr>
|
16 |
+
**/
|
17 |
+
$this->startSetup();
|
18 |
+
|
19 |
+
$feedData = array();
|
20 |
+
$feedData[] = array(
|
21 |
+
'severity' => 4,
|
22 |
+
'date_added' => gmdate('Y-m-d H:i:s', time()),
|
23 |
+
'title' => 'Your Web in Color extension has been installed. Remember to flush all cache, recompile, log-out and log back in.',
|
24 |
+
'description' => 'You can see versions of the installed extensions right in the admin.',
|
25 |
+
'url' => 'http://store.webincolor.fr'
|
26 |
+
);
|
27 |
+
|
28 |
+
Mage::getModel('adminnotification/inbox')->parse($feedData);
|
29 |
+
|
30 |
+
$this->endSetup();
|
app/design/adminhtml/default/default/layout/wic_all.xml
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout>
|
3 |
+
<default>
|
4 |
+
<reference name="head">
|
5 |
+
<action method="addCss">
|
6 |
+
<name>wic_all/css/tab.css</name>
|
7 |
+
</action>
|
8 |
+
</reference>
|
9 |
+
</default>
|
10 |
+
</layout>
|
app/etc/modules/WIC_All.xml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<WIC_All>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
</WIC_All>
|
8 |
+
</modules>
|
9 |
+
</config>
|
app/locale/en_US/WIC_All.csv
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
"Installed Extensions","Installed Extensions"
|
app/locale/fr_FR/WIC_All.csv
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
"Installed Extensions","Modules installés"
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>WIC_All</name>
|
4 |
+
<version>1.0.0</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://opensource.org/licenses/osl-3.0.php">The Open Software License 3.0 (OSL-3.0)</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>This is our Core</summary>
|
10 |
+
<description>This Core</description>
|
11 |
+
<notes>First release for WIC module to depends on, and installed through Magento Connect</notes>
|
12 |
+
<authors><author><name>Web In Color</name><user>auto-converted</user><email>contact@webincolor.fr</email></author></authors>
|
13 |
+
<date>2014-03-28</date>
|
14 |
+
<time>17:51:08</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="WIC"><dir name="All"><dir name="Block"><dir name="Html"><file name="Head.php" hash="67561290bf7d2dfcf0773c7b625f94b8"/></dir><file name="Extensions.php" hash="51b4c34bc64e63770b4e55bd19395db2"/></dir><dir name="Helper"><file name="Data.php" hash="db6319093e7e520198edec46abc106fd"/></dir><dir name="etc"><file name="config.xml" hash="67b6b7c7c200c58e6e3a31c77b0fd8a6"/><file name="system.xml" hash="bc711e7e8d71a9ced216223d959490e4"/></dir><dir name="sql"><dir name="wicall_setup"><file name="mysql4-install-1.0.0.php" hash="c05dcd363b70b96a7ac8486a22b877b7"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="wic_all"><dir name="css"><file name="tab.css" hash="ef8952d96fcb600de21199fa59338b2a"/></dir><dir name="images"><file name="ok.gif" hash="7ea13c1a3d1b4c1d7a7dccf6b83b0391"/><file name="wic.png" hash="05ab11c89a103417af6ffef8a8ea5dc5"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="wic_all.xml" hash="0240da7bdfa7b130a6f8a439b9dc9940"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="WIC_All.xml" hash="b8f57cc72e3c717744d8792bd260a84e"/></dir></target><target name="magelocale"><dir name="en_US"><file name="WIC_All.csv" hash="610e0de2f2fe3ada84b7b30297368208"/></dir><dir name="fr_FR"><file name="WIC_All.csv" hash="485ea1856e760476ad61e8b8fff91a35"/></dir></target><target name="mageweb"><dir name="."><file name="WIC-LICENSE.TXT" hash="460ced36627150fe9f9ecb733309b62a"/></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies/>
|
18 |
+
</package>
|
skin/adminhtml/default/default/wic_all/css/tab.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
ul.config-tabs .wic-tab .label { background: url('../images/wic.png') no-repeat left center #d1dedf; text-indent: -9999em; height: 28px; }
|
skin/adminhtml/default/default/wic_all/images/ok.gif
ADDED
Binary file
|
skin/adminhtml/default/default/wic_all/images/wic.png
ADDED
Binary file
|