Version Notes
Localized checkout.
Download this release
Release Info
Developer | Webinterpret |
Extension | Webinterpret_Connector |
Version | 1.5.0.0 |
Comparing to | |
See all releases |
Code changes from version 1.4.0.0 to 1.5.0.0
- app/code/community/Webinterpret/Connector/Block/Adminhtml/System/Config/Fieldset/Disabled.php +11 -0
- app/code/community/Webinterpret/Connector/Block/Adminhtml/System/Config/Fieldset/Register.php +33 -0
- app/code/community/Webinterpret/Connector/Block/Adminhtml/System/Config/Fieldset/Settings.php +20 -0
- app/code/community/Webinterpret/Connector/Block/Adminhtml/System/Config/Fieldset/Status.php +8 -14
- app/code/community/Webinterpret/Connector/Helper/Data.php +80 -16
- app/code/community/Webinterpret/Connector/etc/config.xml +2 -1
- app/code/community/Webinterpret/Connector/etc/env.ini +2 -0
- app/code/community/Webinterpret/Connector/etc/system.xml +15 -3
- app/design/adminhtml/default/default/template/webinterpret/system/config/fieldset/register.phtml +27 -0
- app/design/adminhtml/default/default/template/webinterpret/system/config/fieldset/status.phtml +0 -1
- package.xml +4 -4
app/code/community/Webinterpret/Connector/Block/Adminhtml/System/Config/Fieldset/Disabled.php
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Webinterpret_Connector_Block_Adminhtml_System_Config_Fieldset_Disabled
|
4 |
+
extends Mage_Adminhtml_Block_System_Config_Form_Field
|
5 |
+
{
|
6 |
+
protected function _getElementHtml($element)
|
7 |
+
{
|
8 |
+
$element->setDisabled('disabled');
|
9 |
+
return parent::_getElementHtml($element);
|
10 |
+
}
|
11 |
+
}
|
app/code/community/Webinterpret/Connector/Block/Adminhtml/System/Config/Fieldset/Register.php
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Custom renderer for Webinterpret status in System Configuration
|
5 |
+
*
|
6 |
+
* @category Webinterpret
|
7 |
+
* @package Webinterpret_Connector
|
8 |
+
* @author Webinterpret Team <info@webinterpret.com>
|
9 |
+
* @license http://opensource.org/licenses/osl-3.0.php
|
10 |
+
*/
|
11 |
+
class Webinterpret_Connector_Block_Adminhtml_System_Config_Fieldset_Register
|
12 |
+
extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
|
13 |
+
{
|
14 |
+
protected $_template = 'webinterpret/system/config/fieldset/register.phtml';
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Render fieldset html
|
18 |
+
*
|
19 |
+
* @param Varien_Data_Form_Element_Abstract $element
|
20 |
+
* @return string
|
21 |
+
*/
|
22 |
+
public function render(Varien_Data_Form_Element_Abstract $element)
|
23 |
+
{
|
24 |
+
// check if store is already registered
|
25 |
+
if (Mage::helper('webinterpret_connector')->isStoreRegistered()) {
|
26 |
+
return "";
|
27 |
+
}
|
28 |
+
$html = $this->_getHeaderHtml($element);
|
29 |
+
$html .= $this->toHtml();
|
30 |
+
$html .= $this->_getFooterHtml($element);
|
31 |
+
return $html;
|
32 |
+
}
|
33 |
+
}
|
app/code/community/Webinterpret/Connector/Block/Adminhtml/System/Config/Fieldset/Settings.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Custom renderer for Webinterpret status in System Configuration
|
5 |
+
*
|
6 |
+
* @category Webinterpret
|
7 |
+
* @package Webinterpret_Connector
|
8 |
+
* @author Webinterpret Team <info@webinterpret.com>
|
9 |
+
* @license http://opensource.org/licenses/osl-3.0.php
|
10 |
+
*/
|
11 |
+
class Webinterpret_Connector_Block_Adminhtml_System_Config_Fieldset_Settings extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
|
12 |
+
{
|
13 |
+
public function render(Varien_Data_Form_Element_Abstract $element)
|
14 |
+
{
|
15 |
+
if (Mage::helper('webinterpret_connector')->isStoreRegistered()) {
|
16 |
+
return parent::render($element);
|
17 |
+
}
|
18 |
+
return "";
|
19 |
+
}
|
20 |
+
}
|
app/code/community/Webinterpret/Connector/Block/Adminhtml/System/Config/Fieldset/Status.php
CHANGED
@@ -12,7 +12,7 @@ class Webinterpret_Connector_Block_Adminhtml_System_Config_Fieldset_Status
|
|
12 |
extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
|
13 |
{
|
14 |
protected $_template = 'webinterpret/system/config/fieldset/status.phtml';
|
15 |
-
|
16 |
/**
|
17 |
* Render fieldset html
|
18 |
*
|
@@ -21,18 +21,12 @@ class Webinterpret_Connector_Block_Adminhtml_System_Config_Fieldset_Status
|
|
21 |
*/
|
22 |
public function render(Varien_Data_Form_Element_Abstract $element)
|
23 |
{
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
{
|
32 |
-
$url = 'https://webstores.webinterpret.com/plugin/test';
|
33 |
-
$storeUrl = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);
|
34 |
-
$storeUrl = rtrim($storeUrl, '/');
|
35 |
-
$url .= '?' . http_build_query(array('url' => $storeUrl));
|
36 |
-
return $url;
|
37 |
}
|
38 |
}
|
12 |
extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
|
13 |
{
|
14 |
protected $_template = 'webinterpret/system/config/fieldset/status.phtml';
|
15 |
+
|
16 |
/**
|
17 |
* Render fieldset html
|
18 |
*
|
21 |
*/
|
22 |
public function render(Varien_Data_Form_Element_Abstract $element)
|
23 |
{
|
24 |
+
if (Mage::helper('webinterpret_connector')->isStoreRegistered()) {
|
25 |
+
$html = $this->_getHeaderHtml($element);
|
26 |
+
$html .= $this->toHtml();
|
27 |
+
$html .= $this->_getFooterHtml($element);
|
28 |
+
return $html;
|
29 |
+
}
|
30 |
+
return "";
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
}
|
32 |
}
|
app/code/community/Webinterpret/Connector/Helper/Data.php
CHANGED
@@ -51,14 +51,14 @@ class Webinterpret_Connector_Helper_Data extends Mage_Core_Helper_Abstract
|
|
51 |
|
52 |
if ($method == 'stream') {
|
53 |
$ctx = stream_context_create(array(
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
)
|
63 |
);
|
64 |
$contents = @file_get_contents($url, false, $ctx);
|
@@ -102,10 +102,10 @@ class Webinterpret_Connector_Helper_Data extends Mage_Core_Helper_Abstract
|
|
102 |
public function getEnvConfig()
|
103 |
{
|
104 |
foreach (array(
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
if (is_readable($path)) {
|
110 |
return parse_ini_file($path);
|
111 |
}
|
@@ -162,6 +162,67 @@ class Webinterpret_Connector_Helper_Data extends Mage_Core_Helper_Abstract
|
|
162 |
return Mage::getStoreConfig('webinterpret_connector/remote_assets_url') ?: $env['REMOTE_ASSETS_URL'];
|
163 |
}
|
164 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
public function isSignatureVerificationEnabled()
|
166 |
{
|
167 |
$env = $this->getEnvConfig();
|
@@ -428,11 +489,13 @@ class Webinterpret_Connector_Helper_Data extends Mage_Core_Helper_Abstract
|
|
428 |
@chmod($path, 0664);
|
429 |
}
|
430 |
if (!is_writeable($path)) {
|
431 |
-
$report['extension_files']['errors'][] = $this->__("File is not writable: %s<br>Please update the file permissions.",
|
|
|
432 |
}
|
433 |
}
|
434 |
} else {
|
435 |
-
$report['extension_files']['errors'][] = $this->__("File is missing: %s<br>Please upload the file or reinstall this extension using Magento Connect Manager.",
|
|
|
436 |
}
|
437 |
}
|
438 |
|
@@ -443,7 +506,8 @@ class Webinterpret_Connector_Helper_Data extends Mage_Core_Helper_Abstract
|
|
443 |
@chmod($path, 0775);
|
444 |
}
|
445 |
if (!is_writeable($path)) {
|
446 |
-
$report['extension_files']['errors'][] = $this->__("Directory is not writable: %s<br>Please update the file permissions.",
|
|
|
447 |
}
|
448 |
}
|
449 |
}
|
@@ -457,6 +521,6 @@ class Webinterpret_Connector_Helper_Data extends Mage_Core_Helper_Abstract
|
|
457 |
|
458 |
public function getExtensionVersion()
|
459 |
{
|
460 |
-
return (string)
|
461 |
}
|
462 |
}
|
51 |
|
52 |
if ($method == 'stream') {
|
53 |
$ctx = stream_context_create(array(
|
54 |
+
'http' =>
|
55 |
+
array(
|
56 |
+
'timeout' => $timeout,
|
57 |
+
),
|
58 |
+
'https' =>
|
59 |
+
array(
|
60 |
+
'timeout' => $timeout,
|
61 |
+
),
|
62 |
)
|
63 |
);
|
64 |
$contents = @file_get_contents($url, false, $ctx);
|
102 |
public function getEnvConfig()
|
103 |
{
|
104 |
foreach (array(
|
105 |
+
__DIR__ . '/../etc/env.ini',
|
106 |
+
__DIR__ . '/../../../../../../../env.ini',
|
107 |
+
__DIR__ . '/../../../../../../../env.ini.example',
|
108 |
+
) as $path) {
|
109 |
if (is_readable($path)) {
|
110 |
return parse_ini_file($path);
|
111 |
}
|
162 |
return Mage::getStoreConfig('webinterpret_connector/remote_assets_url') ?: $env['REMOTE_ASSETS_URL'];
|
163 |
}
|
164 |
|
165 |
+
public function getPluginRegisterUrl()
|
166 |
+
{
|
167 |
+
$env = $this->getEnvConfig();
|
168 |
+
return $env['PLUGIN_REGISTER_URL'];
|
169 |
+
}
|
170 |
+
|
171 |
+
public function getPluginIsRegisteredUrl()
|
172 |
+
{
|
173 |
+
$env = $this->getEnvConfig();
|
174 |
+
return $env['PLUGIN_IS_REGISTERED_URL'];
|
175 |
+
}
|
176 |
+
|
177 |
+
public function getRegisterFormData()
|
178 |
+
{
|
179 |
+
$user = Mage::getSingleton('admin/session');
|
180 |
+
$store_key = Mage::getStoreConfig('webinterpret_connector/key');
|
181 |
+
// generate store key if necessary
|
182 |
+
if ($store_key === '') {
|
183 |
+
$store_key = md5(uniqid(mt_rand(), true));
|
184 |
+
Mage::getConfig()->saveConfig('webinterpret_connector/key', $store_key);
|
185 |
+
Mage::getConfig()->reinit();
|
186 |
+
}
|
187 |
+
return array(
|
188 |
+
'plugin_register_url' => $this->getPluginRegisterUrl(),
|
189 |
+
'store_key' => $store_key,
|
190 |
+
'firstname' => $user->getUser()->getFirstname(),
|
191 |
+
'lastname' => $user->getUser()->getLastname(),
|
192 |
+
'email' => $user->getUser()->getEmail(),
|
193 |
+
'url' => $this->getStoreBaseUrl(),
|
194 |
+
'platform' => 'magento',
|
195 |
+
'success_url' => Mage::helper('core/url')->getCurrentUrl(),
|
196 |
+
);
|
197 |
+
}
|
198 |
+
|
199 |
+
public function isStoreRegistered()
|
200 |
+
{
|
201 |
+
$registered_site_url = Mage::getStoreConfig('webinterpret_connector/registered_site_url');
|
202 |
+
$site_url = $this->getStoreBaseUrl();
|
203 |
+
|
204 |
+
if ($registered_site_url === $site_url) {
|
205 |
+
return true;
|
206 |
+
}
|
207 |
+
|
208 |
+
$request_url = $this->getPluginIsRegisteredUrl() . '?' . http_build_query(array('url' => $site_url));
|
209 |
+
|
210 |
+
$ch = curl_init();
|
211 |
+
curl_setopt_array($ch, array(
|
212 |
+
CURLOPT_RETURNTRANSFER => 1,
|
213 |
+
CURLOPT_URL => $request_url
|
214 |
+
));
|
215 |
+
$response_body = curl_exec($ch);
|
216 |
+
curl_close($ch);
|
217 |
+
|
218 |
+
if ($response_body != '' && true === json_decode($response_body)) {
|
219 |
+
Mage::getConfig()->saveConfig('webinterpret_connector/registered_site_url', $site_url);
|
220 |
+
Mage::getConfig()->reinit();
|
221 |
+
return true;
|
222 |
+
}
|
223 |
+
return false;
|
224 |
+
}
|
225 |
+
|
226 |
public function isSignatureVerificationEnabled()
|
227 |
{
|
228 |
$env = $this->getEnvConfig();
|
489 |
@chmod($path, 0664);
|
490 |
}
|
491 |
if (!is_writeable($path)) {
|
492 |
+
$report['extension_files']['errors'][] = $this->__("File is not writable: %s<br>Please update the file permissions.",
|
493 |
+
$path);
|
494 |
}
|
495 |
}
|
496 |
} else {
|
497 |
+
$report['extension_files']['errors'][] = $this->__("File is missing: %s<br>Please upload the file or reinstall this extension using Magento Connect Manager.",
|
498 |
+
$path);
|
499 |
}
|
500 |
}
|
501 |
|
506 |
@chmod($path, 0775);
|
507 |
}
|
508 |
if (!is_writeable($path)) {
|
509 |
+
$report['extension_files']['errors'][] = $this->__("Directory is not writable: %s<br>Please update the file permissions.",
|
510 |
+
$path);
|
511 |
}
|
512 |
}
|
513 |
}
|
521 |
|
522 |
public function getExtensionVersion()
|
523 |
{
|
524 |
+
return (string)Mage::getConfig()->getNode()->modules->Webinterpret_Connector->version;
|
525 |
}
|
526 |
}
|
app/code/community/Webinterpret/Connector/etc/config.xml
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
<config>
|
9 |
<modules>
|
10 |
<Webinterpret_Connector>
|
11 |
-
<version>1.
|
12 |
</Webinterpret_Connector>
|
13 |
</modules>
|
14 |
<global>
|
@@ -97,6 +97,7 @@
|
|
97 |
<footer_enabled>1</footer_enabled>
|
98 |
<footer/>
|
99 |
<tracking_code/>
|
|
|
100 |
<plugin_id/>
|
101 |
<head/>
|
102 |
<installation_mode>1</installation_mode>
|
8 |
<config>
|
9 |
<modules>
|
10 |
<Webinterpret_Connector>
|
11 |
+
<version>1.5.0.0</version>
|
12 |
</Webinterpret_Connector>
|
13 |
</modules>
|
14 |
<global>
|
97 |
<footer_enabled>1</footer_enabled>
|
98 |
<footer/>
|
99 |
<tracking_code/>
|
100 |
+
<registered_site_url/>
|
101 |
<plugin_id/>
|
102 |
<head/>
|
103 |
<installation_mode>1</installation_mode>
|
app/code/community/Webinterpret/Connector/etc/env.ini
CHANGED
@@ -1,2 +1,4 @@
|
|
1 |
REMOTE_ASSETS_URL = //d2leqgr9fez74i.cloudfront.net
|
2 |
SIGNATURE_VERIFICATION = true
|
|
|
|
1 |
REMOTE_ASSETS_URL = //d2leqgr9fez74i.cloudfront.net
|
2 |
SIGNATURE_VERIFICATION = true
|
3 |
+
PLUGIN_REGISTER_URL = https://webstores.webinterpret.com/en/plugin/install/
|
4 |
+
PLUGIN_IS_REGISTERED_URL = https://webstores.webinterpret.com/en/plugin/install/is-registered
|
app/code/community/Webinterpret/Connector/etc/system.xml
CHANGED
@@ -16,10 +16,20 @@
|
|
16 |
<show_in_website>0</show_in_website>
|
17 |
<show_in_store>0</show_in_store>
|
18 |
<groups>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
<settings translate="label">
|
20 |
<label>Settings</label>
|
21 |
<frontend_type>text</frontend_type>
|
22 |
-
<
|
|
|
23 |
<show_in_default>1</show_in_default>
|
24 |
<show_in_website>0</show_in_website>
|
25 |
<show_in_store>0</show_in_store>
|
@@ -29,6 +39,7 @@
|
|
29 |
<label>Webinterpret Key</label>
|
30 |
<comment>Unique key for your store. If you don't have one then register at Webinterpret.com to get a new key.</comment>
|
31 |
<config_path>webinterpret_connector/key</config_path>
|
|
|
32 |
<frontend_type>text</frontend_type>
|
33 |
<sort_order>20</sort_order>
|
34 |
<show_in_default>1</show_in_default>
|
@@ -41,7 +52,7 @@
|
|
41 |
<label>Status</label>
|
42 |
<expanded>1</expanded>
|
43 |
<frontend_model>webinterpret_connector/adminhtml_system_config_fieldset_status</frontend_model>
|
44 |
-
<sort_order>
|
45 |
<show_in_default>1</show_in_default>
|
46 |
<show_in_website>0</show_in_website>
|
47 |
<show_in_store>0</show_in_store>
|
@@ -49,7 +60,8 @@
|
|
49 |
<advanced translate="label">
|
50 |
<label>Advanced</label>
|
51 |
<frontend_type>text</frontend_type>
|
52 |
-
<
|
|
|
53 |
<show_in_default>1</show_in_default>
|
54 |
<show_in_website>0</show_in_website>
|
55 |
<show_in_store>0</show_in_store>
|
16 |
<show_in_website>0</show_in_website>
|
17 |
<show_in_store>0</show_in_store>
|
18 |
<groups>
|
19 |
+
<register translate="label">
|
20 |
+
<label>Register</label>
|
21 |
+
<expanded>1</expanded>
|
22 |
+
<frontend_model>webinterpret_connector/adminhtml_system_config_fieldset_register</frontend_model>
|
23 |
+
<sort_order>10</sort_order>
|
24 |
+
<show_in_default>1</show_in_default>
|
25 |
+
<show_in_website>0</show_in_website>
|
26 |
+
<show_in_store>0</show_in_store>
|
27 |
+
</register>
|
28 |
<settings translate="label">
|
29 |
<label>Settings</label>
|
30 |
<frontend_type>text</frontend_type>
|
31 |
+
<frontend_model>webinterpret_connector/adminhtml_system_config_fieldset_settings</frontend_model>
|
32 |
+
<sort_order>20</sort_order>
|
33 |
<show_in_default>1</show_in_default>
|
34 |
<show_in_website>0</show_in_website>
|
35 |
<show_in_store>0</show_in_store>
|
39 |
<label>Webinterpret Key</label>
|
40 |
<comment>Unique key for your store. If you don't have one then register at Webinterpret.com to get a new key.</comment>
|
41 |
<config_path>webinterpret_connector/key</config_path>
|
42 |
+
<frontend_model>webinterpret_connector/adminhtml_system_config_fieldset_disabled</frontend_model>
|
43 |
<frontend_type>text</frontend_type>
|
44 |
<sort_order>20</sort_order>
|
45 |
<show_in_default>1</show_in_default>
|
52 |
<label>Status</label>
|
53 |
<expanded>1</expanded>
|
54 |
<frontend_model>webinterpret_connector/adminhtml_system_config_fieldset_status</frontend_model>
|
55 |
+
<sort_order>30</sort_order>
|
56 |
<show_in_default>1</show_in_default>
|
57 |
<show_in_website>0</show_in_website>
|
58 |
<show_in_store>0</show_in_store>
|
60 |
<advanced translate="label">
|
61 |
<label>Advanced</label>
|
62 |
<frontend_type>text</frontend_type>
|
63 |
+
<frontend_model>webinterpret_connector/adminhtml_system_config_fieldset_settings</frontend_model>
|
64 |
+
<sort_order>40</sort_order>
|
65 |
<show_in_default>1</show_in_default>
|
66 |
<show_in_website>0</show_in_website>
|
67 |
<show_in_store>0</show_in_store>
|
app/design/adminhtml/default/default/template/webinterpret/system/config/fieldset/register.phtml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @see Webinterpret_Connector_Block_Adminhtml_System_Config_Fieldset_Register
|
4 |
+
*/
|
5 |
+
|
6 |
+
$vars = Mage::helper('webinterpret_connector')->getRegisterFormData();
|
7 |
+
$path = $vars['plugin_register_url'];
|
8 |
+
unset($vars['plugin_register_url']);
|
9 |
+
$query = http_build_query( $vars );
|
10 |
+
?>
|
11 |
+
<div id="register-error" class="error" style="display: none">
|
12 |
+
<p>Failed to connect to Webinterpret Onboarding, please try again later</p>
|
13 |
+
</div>
|
14 |
+
<iframe id="register-iframe" src="<?php echo $path . '?' . $query ?>" style="margin-top: 20px; width: calc(100% - 20px); min-height: 1050px; height: calc(100vh - 125px)" scrolling="no" name="internal" onload="resizeIframe(this)"></iframe>
|
15 |
+
|
16 |
+
<script>
|
17 |
+
var xhr = new XMLHttpRequest;
|
18 |
+
xhr.open('HEAD', '<?php echo $path ?>', true);
|
19 |
+
xhr.onload = function () {
|
20 |
+
if (xhr.status !== 200) xhr.onerror();
|
21 |
+
};
|
22 |
+
xhr.onerror = function () {
|
23 |
+
document.getElementById('register-error').style.display = 'block';
|
24 |
+
document.getElementById('register-iframe').style.display = 'none';
|
25 |
+
};
|
26 |
+
xhr.send(null);
|
27 |
+
</script>
|
app/design/adminhtml/default/default/template/webinterpret/system/config/fieldset/status.phtml
CHANGED
@@ -62,4 +62,3 @@ $report = Mage::helper('webinterpret_connector')->selfTest();
|
|
62 |
<?php endforeach; ?>
|
63 |
|
64 |
</table>
|
65 |
-
<p class="webinterpret-test-connection"><a href="<?php echo $this->getRemoteTestUrl(); ?>" target="_blank">Test Connection</a></p>
|
62 |
<?php endforeach; ?>
|
63 |
|
64 |
</table>
|
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Webinterpret_Connector</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Translate and market your products internationally with Webinterpret. This is the official Magento extension for integrating with Webinterpret.</description>
|
11 |
<notes>Localized checkout.</notes>
|
12 |
<authors><author><name>Webinterpret</name><user>webinterpret</user><email>info@webinterpret.com</email></author></authors>
|
13 |
-
<date>2017-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir><dir name="Webinterpret"><dir name="Connector"><dir><dir name="Block"><dir name="Adminhtml"><file name="Notifications.php" hash="5e1935e32f1b5d10f0b76fee427a23a6"/><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Status.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.2</min><max>7.0.99</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Webinterpret_Connector</name>
|
4 |
+
<version>1.5.0.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Translate and market your products internationally with Webinterpret. This is the official Magento extension for integrating with Webinterpret.</description>
|
11 |
<notes>Localized checkout.</notes>
|
12 |
<authors><author><name>Webinterpret</name><user>webinterpret</user><email>info@webinterpret.com</email></author></authors>
|
13 |
+
<date>2017-07-14</date>
|
14 |
+
<time>11:53:23</time>
|
15 |
+
<contents><target name="magecommunity"><dir><dir name="Webinterpret"><dir name="Connector"><dir><dir name="Block"><dir name="Adminhtml"><file name="Notifications.php" hash="5e1935e32f1b5d10f0b76fee427a23a6"/><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Disabled.php" hash="89969097a4e1b2163dc77f92b4071a64"/><file name="Register.php" hash="bc102a7b50acf3059d16af4c05716c2b"/><file name="Settings.php" hash="756be19cce8e0ec3e16ed0113444614b"/><file name="Status.php" hash="8a630bd914b6df420ac650e647383a17"/></dir></dir></dir></dir><file name="Footer.php" hash="160f03e528d7e9411e85d524919fd280"/><file name="Head.php" hash="0032590c9bc1776b6a3c4683da680d9e"/><dir name="Product"><file name="View.php" hash="9d033ae77fbdeee82eef7b43c09ff784"/></dir></dir><dir name="Helper"><file name="Data.php" hash="1d347687a1d607f9cd6c729afe87eea9"/><file name="Verifier.php" hash="bef096e4d9639eceba9e07863713813f"/></dir><dir name="Model"><file name="Notification.php" hash="a62c3b7ff11cd2d1082c0d959d8eb295"/><file name="Observer.php" hash="0dda5243770ed67ca6dc04b7146535f4"/><file name="SignatureException.php" hash="9c5648a9fcada7d47086c88ef087e5ae"/></dir><dir name="StatusApi"><file name="AbstractStatusApiDiagnostics.php" hash="9ee5e9c5d5fec80554db3b8e186351f4"/><file name="PlatformDiagnostics.php" hash="4ed1af6d267eab00ccc8f9c8b6a88127"/><file name="PluginDiagnostics.php" hash="060179457dc5a10ff94d5bc199a2ff5d"/><file name="StatusApi.php" hash="5cdd2836c23f47a2ff7d17c2f4e0cab5"/><file name="StatusApiConfigurator.php" hash="01d5e2a0edc9d8f86bd830e16992ef98"/><file name="SystemDiagnostics.php" hash="a88a5dda8feb17b61e8f50de5a6c170a"/></dir><dir name="bridge2cart"><file name="bridge.php" hash="abfddf1013fe32620eb69e2f7471d6b7"/><file name="config.php" hash="ee9fb4a042465ce27bcb90de90309b04"/><file name="helper.php" hash="e0eb46061af54043ac98c413d57f2117"/></dir><dir name="controllers"><file name="CartController.php" hash="b9cb3f32037b79c3dc0a615336c17525"/><file name="ConfigurationController.php" hash="61d61f201dc54687f7779c1eddacc004"/><file name="DiagnosticsController.php" hash="9de88087e360f5a73063fe10a9192a07"/><file name="HelperController.php" hash="c7eb03f8730fb98d21ce483b84b579e1"/><file name="IndexController.php" hash="44c5c7a8e434a729b90b12a159a8be90"/></dir><dir name="etc"><file name="adminhtml.xml" hash="07e287503c40ce7c588efe7863c05002"/><file name="config.xml" hash="780ac4774efef72edb272487b0a730e9"/><file name="env.ini" hash="49cef14345adcf184945101d5ff93850"/><file name="system.xml" hash="27b525c32a6503cb036c34ea14423177"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="webinterpret"><file name="connector.xml" hash="867fafe49fa978668f6e5d7027c57aa6"/></dir></dir><dir name="template"><dir name="webinterpret"><dir name="system"><dir name="config"><file name="activate.phtml" hash="5ef389ad58cb1be9cc666fecd8379fbf"/><dir name="fieldset"><file name="banner.phtml" hash="921b677bd3e52d9c86172bdf26ab4a37"/><file name="register.phtml" hash="947838ff51f1ca83d8102e174a826394"/><file name="status.phtml" hash="859d34233426cd910c088637ad73703e"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="webinterpret"><file name="connector.xml" hash="08572e6e5b65b104d06d71b97b371df5"/></dir></dir><dir name="template"><dir name="webinterpret"><dir name="connector"><file name="footer.phtml" hash="bd48d0e36dea0936b9f28fbdada3b8c1"/><file name="head.phtml" hash="687b5575ab37f2f50a43e781e22810db"/><file name="product_view.phtml" hash="5567ce8f7687ed09c9eae407f7bc7b19"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Webinterpret_Connector.xml" hash="087c2742f6bcb89ed6a77921e6493feb"/></dir></target><target name="magelocale"><dir><dir name="de_DE"><file name="Webinterpret_Connector.csv" hash="91312fd3bd2645b88e3b3643b6b614a9"/></dir><dir name="en_US"><file name="Webinterpret_Connector.csv" hash="c382db753974630198cf029cf90b5d27"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.2</min><max>7.0.99</max></php></required></dependencies>
|
18 |
</package>
|