Mage_Econda - Version 1.5.7

Version Notes

Integration of econda Web Controlling functions.

Download this release

Release Info

Developer ecdev
Extension Mage_Econda
Version 1.5.7
Comparing to
See all releases


Code changes from version 1.5.6 to 1.5.7

app/code/local/Mage/Econda/Block/Econda.php CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
@@ -86,9 +86,14 @@ class Mage_Econda_Block_Econda extends Mage_Core_Block_Template
86
  $contentPath = "Start";
87
  $contentPath .= Mage::getModel('econda/base')->getContentBreadcrumb();
88
  $contentPath .= Mage::getModel('econda/base')->getContentCustom();
89
- if(trim($contentPath) == 'Start' || trim($contentPath) == 'Start/') {
90
- $contentPath = str_replace('/','',$contentPath);
91
- $contentPath .= Mage::getModel('econda/base')->getContentDefault();
 
 
 
 
 
92
  }
93
  $contentPath = str_replace('//','/',$contentPath);
94
 
@@ -114,8 +119,8 @@ class Mage_Econda_Block_Econda extends Mage_Core_Block_Template
114
  /**
115
  * Add lang id
116
  */
117
- $getLocale = Mage::getModel('econda/base')->getLangId();
118
- $emos->addLangID($getLocale);
119
 
120
  /**
121
  * Save pageID, siteID and langID into session for onePageCheckout
@@ -232,7 +237,7 @@ class Mage_Econda_Block_Econda extends Mage_Core_Block_Template
232
  /**
233
  * Display script code
234
  */
235
- $emosString = "\n\n<!-- Start Econda-Monitor M156 -->\n";
236
  $emosString .= $emos->toString();
237
  $emosString .= "<!-- End Econda-Monitor -->\n\n";
238
 
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
86
  $contentPath = "Start";
87
  $contentPath .= Mage::getModel('econda/base')->getContentBreadcrumb();
88
  $contentPath .= Mage::getModel('econda/base')->getContentCustom();
89
+ $pageRoute = Mage::app()->getRequest()->getRouteName();
90
+ $PageName = Mage::getSingleton('cms/page')->getIdentifier();
91
+
92
+ if($pageRoute != 'cms' && $PageName != 'home') {
93
+ if(trim($contentPath) == 'Start' || trim($contentPath) == 'Start/') {
94
+ $contentPath = str_replace('/','',$contentPath);
95
+ $contentPath .= Mage::getModel('econda/base')->getContentDefault();
96
+ }
97
  }
98
  $contentPath = str_replace('//','/',$contentPath);
99
 
119
  /**
120
  * Add lang id
121
  */
122
+ $langName = Mage::getModel('econda/base')->getLangId($storeId);
123
+ $emos->addLangID($langName);
124
 
125
  /**
126
  * Save pageID, siteID and langID into session for onePageCheckout
237
  /**
238
  * Display script code
239
  */
240
+ $emosString = "\n\n<!-- Start Econda-Monitor M157 -->\n";
241
  $emosString .= $emos->toString();
242
  $emosString .= "<!-- End Econda-Monitor -->\n\n";
243
 
app/code/local/Mage/Econda/Block/EcondaOp.php CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
@@ -66,7 +66,7 @@ class Mage_Econda_Block_EcondaOp extends Mage_Core_Block_Template
66
  $emosLogin .= " emospro.login = [['".$customerId."','0']];\n";
67
  $opsession->setData('econda_logged','2');
68
  }
69
- $emosOut = "\n\n<!-- Start Econda-Monitor M156 -->\n";
70
  $emosOut .= "<script type=\"text/javascript\">\n//<![CDATA[\n";
71
  $emosOut .= " window.emosTrackVersion = 2;\n";
72
  $emosOut .= "//]]>\n</script>";
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
66
  $emosLogin .= " emospro.login = [['".$customerId."','0']];\n";
67
  $opsession->setData('econda_logged','2');
68
  }
69
+ $emosOut = "\n\n<!-- Start Econda-Monitor M157 -->\n";
70
  $emosOut .= "<script type=\"text/javascript\">\n//<![CDATA[\n";
71
  $emosOut .= " window.emosTrackVersion = 2;\n";
72
  $emosOut .= "//]]>\n</script>";
app/code/local/Mage/Econda/Block/Emos.php CHANGED
@@ -4,7 +4,7 @@
4
  * $Id: emos.php,v 1.15 2009/11/17 13:24:00 egaiser Exp $
5
  ********************************************************************************
6
 
7
- Copyright (c) 2004 - 2011 ECONDA GmbH Karlsruhe
8
  All rights reserved.
9
 
10
  ECONDA GmbH
4
  * $Id: emos.php,v 1.15 2009/11/17 13:24:00 egaiser Exp $
5
  ********************************************************************************
6
 
7
+ Copyright (c) 2004 - 2012 ECONDA GmbH Karlsruhe
8
  All rights reserved.
9
 
10
  ECONDA GmbH
app/code/local/Mage/Econda/Helper/Data.php CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
app/code/local/Mage/Econda/Model/Base.php CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
@@ -56,13 +56,13 @@ class Mage_Econda_Model_Base extends Mage_Core_Model_Abstract
56
  public function getSearch()
57
  {
58
  $search = null;
59
- if(Mage::helper('catalogSearch')->getQueryText() != null) {
60
- $searchQuery = Mage::helper('catalogSearch')->getQueryText();
61
- $getQuery = Mage::helper('catalogSearch')->getQuery();
62
  $searchQuery = $getQuery->query_text;
63
  $searchHitsRes = $getQuery->num_results;
64
  $searchHits = (int)$searchHitsRes;
65
- $search = array($searchQuery, $searchHits);
66
  }
67
  if(stristr($this->realUrl,'/catalogsearch/advanced/result/?') != false) {
68
  $searchQuery = '';
@@ -71,7 +71,7 @@ class Mage_Econda_Model_Base extends Mage_Core_Model_Abstract
71
  $searchQuery .= $val['value'];
72
  }
73
  $productCollectionRes = Mage::getSingleton('catalogsearch/advanced')->getProductCollection();
74
- $productCollection = sizeof($productCollectionRes);
75
  $search = array($searchQuery, $productCollection);
76
  }
77
  return $search;
@@ -111,10 +111,16 @@ class Mage_Econda_Model_Base extends Mage_Core_Model_Abstract
111
  *
112
  * @return string
113
  */
114
- public function getLangId()
115
  {
116
- $getLocale = Mage::app()->getStore()->getStoreId();
117
- return $getLocale;
 
 
 
 
 
 
118
  }
119
 
120
  /**
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
56
  public function getSearch()
57
  {
58
  $search = null;
59
+ if(Mage::helper('catalogsearch')->getQueryText() != null) {
60
+ $searchQuery = Mage::helper('catalogsearch')->getQueryText();
61
+ $getQuery = Mage::helper('catalogsearch')->getQuery();
62
  $searchQuery = $getQuery->query_text;
63
  $searchHitsRes = $getQuery->num_results;
64
  $searchHits = (int)$searchHitsRes;
65
+ $search = array($searchQuery, $searchHits);
66
  }
67
  if(stristr($this->realUrl,'/catalogsearch/advanced/result/?') != false) {
68
  $searchQuery = '';
71
  $searchQuery .= $val['value'];
72
  }
73
  $productCollectionRes = Mage::getSingleton('catalogsearch/advanced')->getProductCollection();
74
+ $productCollection = $productCollectionRes->getSize();
75
  $search = array($searchQuery, $productCollection);
76
  }
77
  return $search;
111
  *
112
  * @return string
113
  */
114
+ public function getLangId($storeId)
115
  {
116
+ $langidOv = Mage::getStoreConfig('econda/econda_settings/tracking_langid', $storeId);
117
+ if(!empty($langidOv) && trim($langidOv) != "") {
118
+ $langName = trim($langidOv);
119
+ }
120
+ else {
121
+ $langName = Mage::app()->getStore()->getStoreId();
122
+ }
123
+ return $langName;
124
  }
125
 
126
  /**
app/code/local/Mage/Econda/Model/Basket.php CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
app/code/local/Mage/Econda/Model/Cancellation.php DELETED
@@ -1,188 +0,0 @@
1
- <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * @category Mage
16
- * @package Mage_Econda
17
- * @copyright Copyright (c) 2010 econda GmbH (http://www.econda.de)
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
-
21
- /**
22
- * Generate standard tracking values
23
- */
24
- class Mage_Econda_Model_Cancellation extends Mage_Core_Model_Abstract
25
- {
26
- /**
27
- * Default param
28
- *
29
- */
30
- private $_wsdl = "Cancellation.wsdl";
31
- private $_headers = array();
32
- private $_response = null;
33
- private $_client = null;
34
- private $_data = null;
35
- private $_dataArray = null;
36
- private $_responseSize = 0;
37
- private $_connSuccess = false;
38
-
39
- /**
40
- * Set wsdl file
41
- *
42
- * @param wsdl|url
43
- * @return void
44
- */
45
- public function setWsdl($wsdlFile)
46
- {
47
- $this->_wsdl = $wsdlFile;
48
- return;
49
- }
50
-
51
- /**
52
- * Initialize web service
53
- *
54
- * @param user|password|client id
55
- * @return void
56
- */
57
- public function openWebservice($username, $password, $client)
58
- {
59
- try {
60
- $this->_client = new SoapClient($this->_wsdl);
61
- }
62
- catch(Exception $e) {
63
- $this->_response .= "The Webservice could not be established! Probably wsdl file is not found.";
64
- return;
65
- }
66
- $this->_connSuccess = true;
67
- $this->_setHeaders($username, $password, $client);
68
- return;
69
- }
70
-
71
- /**
72
- * Set headers for connection
73
- *
74
- * @param user|password|client id
75
- * @return void
76
- */
77
- private function _setHeaders($username, $password, $client)
78
- {
79
- if($this->_connSuccess) {
80
- $this->_headers[] = new SoapHeader('webservices.econda.de', 'username', $username);
81
- $this->_headers[] = new SoapHeader('webservices.econda.de', 'password', $password);
82
- $this->_headers[] = new SoapHeader('webservices.econda.de', 'client', $client);
83
- $this->_client->__setSoapHeaders($this->_headers);
84
- }
85
- return;
86
- }
87
-
88
- /**
89
- * Submit single cancellation
90
- *
91
- * @param order id|order sum|cancellation type
92
- * @return void
93
- */
94
- public function doCancellation($order, $sum, $type = 'Storno')
95
- {
96
- if($this->_connSuccess) {
97
- $order = strval($order);
98
- $type = strval(utf8_encode($type));
99
- $gregorianDate = date("Y-m-d")."T".date("H:i:s");
100
- $this->_data = array("data" => array("cancellationDate" => $gregorianDate,
101
- "cancellationSum" => $this->_convertPrice($sum),
102
- "cancellationType" => $type,
103
- "orderNo" => $order));
104
- $this->_response = $this->_client->doCancellation($this->_data);
105
- }
106
- return;
107
- }
108
-
109
- /**
110
- * Submit multi cancellations
111
- *
112
- * @param cancellation array
113
- * @return void;
114
- */
115
- public function doCancellations($cancellations)
116
- {
117
- if($this->_connSuccess) {
118
- $stornoArray = array();
119
- $gregorianDate = date("Y-m-d")."T".date("H:i:s");
120
- for($i=0,$count=sizeof($cancellations);$i<$count;$i++) {
121
- $order = strval($cancellations[$i][0]);
122
- $type = strval(utf8_encode($cancellations[$i][2]));
123
- $sum = $cancellations[$i][1];
124
- $stornoArray[] = array("cancellationDate" => $gregorianDate,
125
- "cancellationSum" => $this->_convertPrice($sum),
126
- "cancellationType" => $type,
127
- "orderNo" => $order
128
- );
129
- }
130
- $this->_responseSize = sizeof($cancellations);
131
- $this->_dataArray = array("dataArray" => $stornoArray);
132
- $this->_response = $this->_client->doCancellations($this->_dataArray);
133
- }
134
- return;
135
- }
136
-
137
- /**
138
- * Get response from webservice
139
- *
140
- * @return string
141
- */
142
- public function getResponse()
143
- {
144
- if($this->_connSuccess) {
145
- $retString = "Response from econda Webservice:<br />";
146
- if($this->_responseSize > 0) {
147
- for($i=0; $i<$this->_responseSize; $i++) {
148
- $retString .= $this->_response->doCancellationsReturn->messages->item[$i]->type.": ";
149
- $retString .= $this->_response->doCancellationsReturn->messages->item[$i]->code." - ";;
150
- $retString .= $this->_response->doCancellationsReturn->messages->item[$i]->message."<br />";
151
- }
152
- }
153
- else {
154
- $retString .= $this->_response->doCancellationReturn->messages->item->type.": ";
155
- $retString .= $this->_response->doCancellationReturn->messages->item->code." - ";;
156
- $retString .= $this->_response->doCancellationReturn->messages->item->message."<br />";
157
- }
158
- return $retString;
159
- }
160
- else {
161
- return $this->_response;
162
- }
163
- }
164
-
165
- /**
166
- * Format price
167
- *
168
- * @param price string
169
- * @return number
170
- */
171
- private function _convertPrice($price)
172
- {
173
- $price = preg_replace('/[^0-9,.]/i','',$price);
174
- $price = str_replace(',','.',$price);
175
- $priceArr = explode('.', $price);
176
- $priceCorr = $price;
177
- if(count($priceArr) > 2) {
178
- $priceCorr = "";
179
- for($i=0; $i<=count($priceArr)-2; $i++) {
180
- $priceCorr .= $priceArr[$i];
181
- }
182
- $priceCorr .= ".".$priceArr[count($priceArr)-1];
183
- }
184
- $priceCorr = number_format($priceCorr,2,".","");
185
- return $priceCorr;
186
- }
187
- }
188
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Mage/Econda/Model/Item.php CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  class Mage_Econda_Model_Item extends Mage_Core_Model_Abstract
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  class Mage_Econda_Model_Item extends Mage_Core_Model_Abstract
app/code/local/Mage/Econda/Model/System/Config/Source/Billing.php CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  class Mage_Econda_Model_System_Config_Source_Billing
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  class Mage_Econda_Model_System_Config_Source_Billing
app/code/local/Mage/Econda/Model/System/Config/Source/Langid.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category Mage
16
+ * @package Mage_Econda
17
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+ class Mage_Econda_Model_System_Config_Source_Langid
21
+ {
22
+
23
+ /**
24
+ * returns the value for siteid field in backend
25
+ */
26
+ public function toOptionArray()
27
+ {
28
+ return array(
29
+ array('value'=>'', 'label'=>Mage::helper('econda')->__(''))
30
+ );
31
+ }
32
+ }
app/code/local/Mage/Econda/Model/System/Config/Source/Language.php CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  class Mage_Econda_Model_System_Config_Source_Language
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  class Mage_Econda_Model_System_Config_Source_Language
app/code/local/Mage/Econda/Model/System/Config/Source/Siteid.php CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  class Mage_Econda_Model_System_Config_Source_Siteid
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  class Mage_Econda_Model_System_Config_Source_Siteid
app/code/local/Mage/Econda/etc/config.xml CHANGED
@@ -6,12 +6,12 @@
6
  receive a copy of the license and are unable to * obtain it through the world-wide-web,
7
  please send an email * to license@magentocommerce.com so we can send you
8
  a copy immediately. * * @category Mage * @package Mage_Econda * @copyright
9
- Copyright (c) 2011 econda GmbH (http://www.econda.de) * @license http://opensource.org/licenses/osl-3.0.php
10
  Open Software License (OSL 3.0) */ -->
11
  <config>
12
  <modules>
13
  <Mage_Econda>
14
- <version>1.5.6</version>
15
  </Mage_Econda>
16
  </modules>
17
  <frontend>
6
  receive a copy of the license and are unable to * obtain it through the world-wide-web,
7
  please send an email * to license@magentocommerce.com so we can send you
8
  a copy immediately. * * @category Mage * @package Mage_Econda * @copyright
9
+ Copyright (c) 2012 econda GmbH (http://www.econda.de) * @license http://opensource.org/licenses/osl-3.0.php
10
  Open Software License (OSL 3.0) */ -->
11
  <config>
12
  <modules>
13
  <Mage_Econda>
14
+ <version>1.5.7</version>
15
  </Mage_Econda>
16
  </modules>
17
  <frontend>
app/code/local/Mage/Econda/etc/system.xml CHANGED
@@ -15,7 +15,7 @@
15
  *
16
  * @category Mage
17
  * @package Mage_Econda
18
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
  -->
@@ -28,7 +28,7 @@
28
  <sort_order>335</sort_order>
29
  <show_in_default>1</show_in_default>
30
  <show_in_website>1</show_in_website>
31
- <show_in_store>0</show_in_store>
32
  <groups>
33
  <info translate="label">
34
  <label>Info</label>
@@ -36,7 +36,7 @@
36
  <frontend_type>text</frontend_type>
37
  <show_in_default>1</show_in_default>
38
  <show_in_website>1</show_in_website>
39
- <show_in_store>0</show_in_store>
40
  <comment><![CDATA[
41
  <div style="font-family:Arial,sans-serif;background-color:white;color:#000000;font-size:13px;">
42
  <table border="0" cellpadding="0" cellspacing="0" style="width:640px;padding:2px;margin:4px;">
@@ -78,7 +78,7 @@
78
  <sort_order>11</sort_order>
79
  <show_in_default>1</show_in_default>
80
  <show_in_website>1</show_in_website>
81
- <show_in_store>0</show_in_store>
82
  <comment><![CDATA[
83
  <div style="font-family:Arial,sans-serif;background-color:white;color:#000000;font-size:13px;">
84
  <table border="0" cellpadding="0" cellspacing="0" style="width:640px;padding:2px;margin:4px;">
@@ -145,7 +145,7 @@
145
  <sort_order>12</sort_order>
146
  <show_in_default>1</show_in_default>
147
  <show_in_website>1</show_in_website>
148
- <show_in_store>0</show_in_store>
149
  <comment><![CDATA[
150
  <div style="font-family:Arial,sans-serif;background-color:white;color:#000000;font-size:13px;">
151
  <table border="0" cellpadding="0" cellspacing="0" style="width:640px;padding:2px;margin:4px;">
@@ -176,7 +176,7 @@
176
  <sort_order>13</sort_order>
177
  <show_in_default>1</show_in_default>
178
  <show_in_website>1</show_in_website>
179
- <show_in_store>0</show_in_store>
180
  <comment><![CDATA[
181
  <div style="font-family:Arial,sans-serif;background-color:white;color:#000000;font-size:13px;">
182
  <table border="0" cellpadding="0" cellspacing="0" style="width:640px;padding:2px;margin:4px;">
@@ -214,7 +214,7 @@
214
  <sort_order>14</sort_order>
215
  <show_in_default>1</show_in_default>
216
  <show_in_website>1</show_in_website>
217
- <show_in_store>0</show_in_store>
218
  <fields>
219
  <tracking_language>
220
  <label>Used Language</label>
@@ -234,14 +234,24 @@
234
  <sort_order>3</sort_order>
235
  <show_in_default>1</show_in_default>
236
  <show_in_website>1</show_in_website>
237
- <show_in_store>0</show_in_store>
238
  </tracking_siteid>
 
 
 
 
 
 
 
 
 
 
239
  <billing_total>
240
  <label>Billing and Prices</label>
241
  <comment>Get Billing and Prices with or without Tax and Shipping</comment>
242
  <frontend_type>select</frontend_type>
243
  <source_model>econda/system_config_source_billing</source_model>
244
- <sort_order>4</sort_order>
245
  <show_in_default>1</show_in_default>
246
  <show_in_website>1</show_in_website>
247
  <show_in_store>0</show_in_store>
15
  *
16
  * @category Mage
17
  * @package Mage_Econda
18
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
  -->
28
  <sort_order>335</sort_order>
29
  <show_in_default>1</show_in_default>
30
  <show_in_website>1</show_in_website>
31
+ <show_in_store>1</show_in_store>
32
  <groups>
33
  <info translate="label">
34
  <label>Info</label>
36
  <frontend_type>text</frontend_type>
37
  <show_in_default>1</show_in_default>
38
  <show_in_website>1</show_in_website>
39
+ <show_in_store>1</show_in_store>
40
  <comment><![CDATA[
41
  <div style="font-family:Arial,sans-serif;background-color:white;color:#000000;font-size:13px;">
42
  <table border="0" cellpadding="0" cellspacing="0" style="width:640px;padding:2px;margin:4px;">
78
  <sort_order>11</sort_order>
79
  <show_in_default>1</show_in_default>
80
  <show_in_website>1</show_in_website>
81
+ <show_in_store>1</show_in_store>
82
  <comment><![CDATA[
83
  <div style="font-family:Arial,sans-serif;background-color:white;color:#000000;font-size:13px;">
84
  <table border="0" cellpadding="0" cellspacing="0" style="width:640px;padding:2px;margin:4px;">
145
  <sort_order>12</sort_order>
146
  <show_in_default>1</show_in_default>
147
  <show_in_website>1</show_in_website>
148
+ <show_in_store>1</show_in_store>
149
  <comment><![CDATA[
150
  <div style="font-family:Arial,sans-serif;background-color:white;color:#000000;font-size:13px;">
151
  <table border="0" cellpadding="0" cellspacing="0" style="width:640px;padding:2px;margin:4px;">
176
  <sort_order>13</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
  <comment><![CDATA[
181
  <div style="font-family:Arial,sans-serif;background-color:white;color:#000000;font-size:13px;">
182
  <table border="0" cellpadding="0" cellspacing="0" style="width:640px;padding:2px;margin:4px;">
214
  <sort_order>14</sort_order>
215
  <show_in_default>1</show_in_default>
216
  <show_in_website>1</show_in_website>
217
+ <show_in_store>1</show_in_store>
218
  <fields>
219
  <tracking_language>
220
  <label>Used Language</label>
234
  <sort_order>3</sort_order>
235
  <show_in_default>1</show_in_default>
236
  <show_in_website>1</show_in_website>
237
+ <show_in_store>1</show_in_store>
238
  </tracking_siteid>
239
+ <tracking_langid>
240
+ <label>Langid</label>
241
+ <comment>Set Langid manually. Only change this in agreement with econda. Leave empty, if not used.</comment>
242
+ <frontend_type>text</frontend_type>
243
+ <source_model>econda/system_config_source_langid</source_model>
244
+ <sort_order>4</sort_order>
245
+ <show_in_default>1</show_in_default>
246
+ <show_in_website>1</show_in_website>
247
+ <show_in_store>1</show_in_store>
248
+ </tracking_langid>
249
  <billing_total>
250
  <label>Billing and Prices</label>
251
  <comment>Get Billing and Prices with or without Tax and Shipping</comment>
252
  <frontend_type>select</frontend_type>
253
  <source_model>econda/system_config_source_billing</source_model>
254
+ <sort_order>5</sort_order>
255
  <show_in_default>1</show_in_default>
256
  <show_in_website>1</show_in_website>
257
  <show_in_store>0</show_in_store>
app/design/frontend/base/default/layout/econda.xml CHANGED
@@ -15,7 +15,7 @@
15
  *
16
  * @category Mage
17
  * @package Mage_Econda
18
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
  -->
15
  *
16
  * @category Mage
17
  * @package Mage_Econda
18
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
  -->
app/design/frontend/base/default/template/econda/tracker.phtml CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  echo $this->getEmos();
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  echo $this->getEmos();
app/design/frontend/default/default/layout/econda.xml CHANGED
@@ -15,7 +15,7 @@
15
  *
16
  * @category Mage
17
  * @package Mage_Econda
18
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
  -->
15
  *
16
  * @category Mage
17
  * @package Mage_Econda
18
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
  -->
app/design/frontend/default/default/template/econda/tracker.phtml CHANGED
@@ -14,7 +14,7 @@
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  echo $this->getEmos();
14
  *
15
  * @category Mage
16
  * @package Mage_Econda
17
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  echo $this->getEmos();
app/etc/modules/Mage_Econda.xml CHANGED
@@ -15,7 +15,7 @@
15
  *
16
  * @category Mage
17
  * @package Mage_Econda
18
- * @copyright Copyright (c) 2011 econda GmbH (http://www.econda.de)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
  -->
15
  *
16
  * @category Mage
17
  * @package Mage_Econda
18
+ * @copyright Copyright (c) 2012 econda GmbH (http://www.econda.de)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
  -->
app/locale/de_AT/Mage_Econda.csv CHANGED
@@ -7,4 +7,5 @@
7
  "Get Billing and Prices with or without Tax and Shipping","Den Rechnungsbetrag und Preise mit oder ohne Steuer und Versandkosten &#252bertragen"
8
  "Billing and Prices","Rechnung und Preise"
9
  "Set Siteid manually. Only change this in agreement with econda. Leave empty, if not used.","Manuelle Festlegung der Siteid. Nur in Abstimmung mit econda vornehmen. Frei lassen, falls nicht ben&#246tigt."
 
10
  "Test it for free","Jetzt kostenlos testen"
7
  "Get Billing and Prices with or without Tax and Shipping","Den Rechnungsbetrag und Preise mit oder ohne Steuer und Versandkosten &#252bertragen"
8
  "Billing and Prices","Rechnung und Preise"
9
  "Set Siteid manually. Only change this in agreement with econda. Leave empty, if not used.","Manuelle Festlegung der Siteid. Nur in Abstimmung mit econda vornehmen. Frei lassen, falls nicht ben&#246tigt."
10
+ "Set Langid manually. Only change this in agreement with econda. Leave empty, if not used.","Manuelle Festlegung der Langid. Nur in Abstimmung mit econda vornehmen. Frei lassen, falls nicht ben&#246tigt."
11
  "Test it for free","Jetzt kostenlos testen"
app/locale/de_CH/Mage_Econda.csv CHANGED
@@ -7,4 +7,5 @@
7
  "Get Billing and Prices with or without Tax and Shipping","Den Rechnungsbetrag und Preise mit oder ohne Steuer und Versandkosten &#252bertragen"
8
  "Billing and Prices","Rechnung und Preise"
9
  "Set Siteid manually. Only change this in agreement with econda. Leave empty, if not used.","Manuelle Festlegung der Siteid. Nur in Abstimmung mit econda vornehmen. Frei lassen, falls nicht ben&#246tigt."
 
10
  "Test it for free","Jetzt kostenlos testen"
7
  "Get Billing and Prices with or without Tax and Shipping","Den Rechnungsbetrag und Preise mit oder ohne Steuer und Versandkosten &#252bertragen"
8
  "Billing and Prices","Rechnung und Preise"
9
  "Set Siteid manually. Only change this in agreement with econda. Leave empty, if not used.","Manuelle Festlegung der Siteid. Nur in Abstimmung mit econda vornehmen. Frei lassen, falls nicht ben&#246tigt."
10
+ "Set Langid manually. Only change this in agreement with econda. Leave empty, if not used.","Manuelle Festlegung der Langid. Nur in Abstimmung mit econda vornehmen. Frei lassen, falls nicht ben&#246tigt."
11
  "Test it for free","Jetzt kostenlos testen"
app/locale/de_DE/Mage_Econda.csv CHANGED
@@ -7,4 +7,5 @@
7
  "Get Billing and Prices with or without Tax and Shipping","Den Rechnungsbetrag und Preise mit oder ohne Steuer und Versandkosten &#252bertragen"
8
  "Billing and Prices","Rechnung und Preise"
9
  "Set Siteid manually. Only change this in agreement with econda. Leave empty, if not used.","Manuelle Festlegung der Siteid. Nur in Abstimmung mit econda vornehmen. Frei lassen, falls nicht ben&#246tigt."
 
10
  "Test it for free","Jetzt kostenlos testen"
7
  "Get Billing and Prices with or without Tax and Shipping","Den Rechnungsbetrag und Preise mit oder ohne Steuer und Versandkosten &#252bertragen"
8
  "Billing and Prices","Rechnung und Preise"
9
  "Set Siteid manually. Only change this in agreement with econda. Leave empty, if not used.","Manuelle Festlegung der Siteid. Nur in Abstimmung mit econda vornehmen. Frei lassen, falls nicht ben&#246tigt."
10
+ "Set Langid manually. Only change this in agreement with econda. Leave empty, if not used.","Manuelle Festlegung der Langid. Nur in Abstimmung mit econda vornehmen. Frei lassen, falls nicht ben&#246tigt."
11
  "Test it for free","Jetzt kostenlos testen"
app/locale/en_US/Mage_Econda.csv CHANGED
@@ -7,4 +7,5 @@
7
  "Get Billing and Prices with or without Tax and Shipping","Get Billing and Prices with or without Tax and Shipping"
8
  "Billing and Prices","Billing and Prices"
9
  "Set Siteid manually. Only change this in agreement with econda. Leave empty, if not used.","Set Siteid manually. Only change this in agreement with econda. Leave empty, if not used."
 
10
  "Test it for free","Test it for free"
7
  "Get Billing and Prices with or without Tax and Shipping","Get Billing and Prices with or without Tax and Shipping"
8
  "Billing and Prices","Billing and Prices"
9
  "Set Siteid manually. Only change this in agreement with econda. Leave empty, if not used.","Set Siteid manually. Only change this in agreement with econda. Leave empty, if not used."
10
+ "Set Langid manually. Only change this in agreement with econda. Leave empty, if not used.","Set Langid manually. Only change this in agreement with econda. Leave empty, if not used."
11
  "Test it for free","Test it for free"
js/tracker/emosop.js CHANGED
@@ -1,5 +1,5 @@
1
  // econda one page checkout helper
2
- // Copyright 2009-2011 econda GmbH
3
  var sendOne = 1;
4
  var orderProcess = '';
5
  var contentLabel = '';
1
  // econda one page checkout helper
2
+ // Copyright 2009-2012 econda GmbH
3
  var sendOne = 1;
4
  var orderProcess = '';
5
  var contentLabel = '';
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Econda</name>
4
- <version>1.5.6</version>
5
  <stability>stable</stability>
6
- <license uri="http://opensource.org/licenses/osl-3.0.php">OSL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Bindet econda Web Shop Controlling in Magento ein. Inserts econda Web Shop Contolling into Magento.</summary>
10
  <description>Bindet econda Web Shop Controlling in Magento ein. Weitere Informationen unter http://www.econda.de. Inserts econda Web Shop Contolling into Magento. For further information visit http://www.econda.de/</description>
11
  <notes>Integration of econda Web Controlling functions.</notes>
12
- <authors><author><name>ecdev</name><user>auto-converted</user><email>bebop30@gmx.net</email></author></authors>
13
- <date>2011-03-02</date>
14
- <time>15:11:39</time>
15
- <contents><target name="magelocale"><dir name="de_AT"><file name="Mage_Econda.csv" hash="3d7fa85b5b0937ed6aebdeacd4baee86"/></dir><dir name="de_CH"><file name="Mage_Econda.csv" hash="3d7fa85b5b0937ed6aebdeacd4baee86"/></dir><dir name="de_DE"><file name="Mage_Econda.csv" hash="3d7fa85b5b0937ed6aebdeacd4baee86"/></dir><dir name="en_US"><file name="Mage_Econda.csv" hash="19027c08d453acf6f88d9d4866203a94"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="econda.xml" hash="b246d7ac21ddf846533cad0063521669"/></dir><dir name="template"><dir name="econda"><file name="tracker.phtml" hash="396ed7d4cfa91e3192f9deaa09376d91"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="econda.xml" hash="b246d7ac21ddf846533cad0063521669"/></dir><dir name="template"><dir name="econda"><file name="tracker.phtml" hash="396ed7d4cfa91e3192f9deaa09376d91"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="tracker"><file name="emos2.js" hash="9063366f40aa9cb4065d5f1091a47f6a"/><file name="emosop.js" hash="a3c52bc5a3378e42754a9d90eff63b33"/></dir></dir></target><target name="magelocal"><dir name="Mage"><dir name="Econda"><dir name="Block"><file name="Econda.php" hash="161535ca027dc3b8a97878628853775a"/><file name="EcondaOp.php" hash="d3e273e4694c80576f6931f0fd01b707"/><file name="Emos.php" hash="5eb0b8e1a041c7b0b62b1bdc1cae3025"/></dir><dir name="etc"><file name="config.xml" hash="43873ca2f07df9b71a8f25f1d558db11"/><file name="system.xml" hash="34b54d956d9c28aeb21b68303d2e9c1b"/></dir><dir name="Helper"><file name="Data.php" hash="594c19902a006cc55aeb4914fca3a559"/></dir><dir name="Model"><file name="Base.php" hash="1d1d4df3bd22cea0dfc52837cde79d1e"/><file name="Basket.php" hash="278a60d060d7066f1f2682bec64b6fd8"/><file name="Cancellation.php" hash="f8e8c5b4f9a218a0a58af06c4e256ef8"/><file name="Item.php" hash="93603c0b98675697e723d54f51afc2e0"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Billing.php" hash="fc5b34406e5c5365ab5eb055dbeb9027"/><file name="Language.php" hash="6d0080dab0fe91d6a77f2a699b5e6f62"/><file name="Siteid.php" hash="6d496050d9aafae7d10f29ac544567e5"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Econda.xml" hash="bd9c935d379e7343bd91e79372bc426e"/></dir></target></contents>
16
  <compatible/>
17
- <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Econda</name>
4
+ <version>1.5.7</version>
5
  <stability>stable</stability>
6
+ <license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Bindet econda Web Shop Controlling in Magento ein. Inserts econda Web Shop Contolling into Magento.</summary>
10
  <description>Bindet econda Web Shop Controlling in Magento ein. Weitere Informationen unter http://www.econda.de. Inserts econda Web Shop Contolling into Magento. For further information visit http://www.econda.de/</description>
11
  <notes>Integration of econda Web Controlling functions.</notes>
12
+ <authors><author><name>ecdev</name><user>orgonflow</user><email>bebop30@gmx.net</email></author></authors>
13
+ <date>2012-02-02</date>
14
+ <time>14:09:52</time>
15
+ <contents><target name="magelocal"><dir name="Mage"><dir name="Econda"><dir name="Block"><file name="Econda.php" hash="8540eee693bb0e0621cce8d14e00b573"/><file name="EcondaOp.php" hash="426c0ce8b9875c01488d956a9fc6d08d"/><file name="Emos.php" hash="6cba2a96256438cc20f74946ed9090a2"/></dir><dir name="Helper"><file name="Data.php" hash="2d50748fa3d1808ea099972920978608"/></dir><dir name="Model"><file name="Base.php" hash="a5b6171df94f5762b2975a6e3e50bc7d"/><file name="Basket.php" hash="fc5a6522971b1285992ac80bc3941b7e"/><file name="Item.php" hash="9618a9100ea8dc320117eb085f1a3e8f"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Billing.php" hash="76be1f2dd15b4a5ef0da884b8b14064a"/><file name="Langid.php" hash="3a7417848f5290bdfd847be1048f0282"/><file name="Language.php" hash="9213fdd301cd1bd06cc2d630b8a48f17"/><file name="Siteid.php" hash="8ba8e62ef049507f7a16217b7dc5bb52"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="f34b59fd5c26bd131d04c8efaf02da70"/><file name="system.xml" hash="43ca0ce2beb54570037c035005fc2163"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="econda"><file name="tracker.phtml" hash="1fce4699f3f8c3cf285a77514a59dd9f"/></dir></dir><dir name="layout"><file name="econda.xml" hash="abb9e9cebc5c19beb3e3adbca92d9785"/></dir></dir></dir><dir name="base"><dir name="default"><dir name="template"><dir name="econda"><file name="tracker.phtml" hash="1fce4699f3f8c3cf285a77514a59dd9f"/></dir></dir><dir name="layout"><file name="econda.xml" hash="abb9e9cebc5c19beb3e3adbca92d9785"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Econda.xml" hash="a2b5aef713dd6df06ec41792ce51adf9"/></dir></target><target name="mageweb"><dir name="js"><dir name="tracker"><file name="emosop.js" hash="228bdef1308a698a0c864f43aac4a717"/><file name="emos2.js" hash="9063366f40aa9cb4065d5f1091a47f6a"/></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Mage_Econda.csv" hash="de7eaf349d6691de31ce3c878e55400a"/></dir><dir name="de_AT"><file name="Mage_Econda.csv" hash="de7eaf349d6691de31ce3c878e55400a"/></dir><dir name="de_CH"><file name="Mage_Econda.csv" hash="de7eaf349d6691de31ce3c878e55400a"/></dir><dir name="en_US"><file name="Mage_Econda.csv" hash="40739a9b0e7638e83173a952b738a0dd"/></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>