Mage_Econda - Version 1.1.5

Version Notes

Release for econda Web Controlling functions.

Download this release

Release Info

Developer Magento Core Team
Extension Mage_Econda
Version 1.1.5
Comparing to
See all releases


Code changes from version 1.1.4 to 1.1.5

app/code/local/Mage/Econda/Block/Econda.php CHANGED
@@ -101,7 +101,7 @@ class Mage_Econda_Block_Econda extends Mage_Core_Block_Template
101
  /*
102
  * start of emos string
103
  */
104
- $emosString = "\n\n<!-- Start Econda-Monitor M114 -->\n\n";
105
 
106
  $emos = new EMOS($pathToFile);
107
 
@@ -304,7 +304,14 @@ class Mage_Econda_Block_Econda extends Mage_Core_Block_Template
304
  /*
305
  * emos addSiteID
306
  */
307
- $siteName = $_SERVER['SERVER_NAME'];
 
 
 
 
 
 
 
308
  $emos->addSiteID($siteName);
309
 
310
  /*
@@ -588,7 +595,7 @@ class Mage_Econda_Block_Econda extends Mage_Core_Block_Template
588
  case 'REVIEW':
589
  $emos->addOrderProcess("6_".$eLang[42]);
590
  $actOrder = Mage::getSingleton('checkout/session')->getQuoteId();
591
- $session->setData('econda_order_id',$actOrder);
592
  break;
593
  case 'SUCCESS':
594
  $emos->addOrderProcess("7_".$eLang[41]);
@@ -597,37 +604,54 @@ class Mage_Econda_Block_Econda extends Mage_Core_Block_Template
597
  * addEmosBillingPageArray checkout
598
  */
599
  if(stristr($realUrl,'checkout/onepage/success/') != false || stristr($realUrl,'uospayment/success/') != false) {//onepage
600
- $lastOrder = Mage::getSingleton('checkout/type_onepage')->getLastOrderId();
601
- $tableSfq = $tablePrefix.'sales_flat_quote';
602
- $result = $db->query("SELECT entity_id FROM $tableSfq WHERE reserved_order_id = $lastOrder");
603
- $row = $result->fetch(PDO::FETCH_ASSOC);
604
- $entityId = $row['entity_id'];
605
- $lastOrderId = $lastOrder;
 
 
 
 
 
606
  }
607
  else{//multipage
608
- $entityId = intval($session->getData('econda_order_id'));
609
- $tableSfq = $tablePrefix.'sales_flat_quote';
610
- $result = $db->query("SELECT reserved_order_id FROM $tableSfq WHERE entity_id = $entityId");
611
- $row = $result->fetch(PDO::FETCH_ASSOC);
612
- $lastOrderId = $row['reserved_order_id'];
 
 
 
 
 
 
 
 
613
  }
614
  $tableSfqa = $tablePrefix.'sales_flat_quote_address';
615
  $result = $db->query("SELECT customer_id,city,postcode,country_id,base_grand_total,base_subtotal,base_tax_amount,base_shipping_tax_amount FROM $tableSfqa WHERE quote_id = $entityId and address_type = 'shipping'");
616
- $row = $result->fetch(PDO::FETCH_ASSOC);
617
- $custCountry = $row['country_id'];
618
- $custPostCode = $row['postcode'];
619
- $custCity = $row['city'];
620
- $custId = $row['customer_id'];
621
- $ordId = $lastOrderId;
622
- if(Mage::getStoreConfig($billingOption, $storeId) == '1') {
623
- $priceTotal = $row['base_subtotal'];
624
- }
625
- else if(Mage::getStoreConfig($billingOption, $storeId) == '2') {
626
- $priceTotal = $row['base_subtotal'] + $row['base_tax_amount'] - $row['base_shipping_tax_amount'];
 
 
 
 
 
 
627
  }
628
- else {
629
- $priceTotal = $row['base_grand_total'];
630
- }
631
  $priceTotal = $this->convertPrice($priceTotal);
632
  $custAdress = $custCountry.'/'.substr($custPostCode,0,1).'/'.substr($custPostCode,0,2).'/'.$custCity.'/'.$custPostCode;
633
  $emos->addEmosBillingPageArray($ordId,$custId,$priceTotal,$custCountry,$custPostCode,$custCity);
101
  /*
102
  * start of emos string
103
  */
104
+ $emosString = "\n\n<!-- Start Econda-Monitor M115 -->\n\n";
105
 
106
  $emos = new EMOS($pathToFile);
107
 
304
  /*
305
  * emos addSiteID
306
  */
307
+ $siteidValue = 'econda/econda/tracking_siteid';
308
+ $siteidOv = Mage::getStoreConfig($siteidValue, $storeId);
309
+ if(!empty($siteidOv) && trim($siteidOv) != "") {
310
+ $siteName = trim($siteidOv);
311
+ }
312
+ else {
313
+ $siteName = $_SERVER['SERVER_NAME'];
314
+ }
315
  $emos->addSiteID($siteName);
316
 
317
  /*
595
  case 'REVIEW':
596
  $emos->addOrderProcess("6_".$eLang[42]);
597
  $actOrder = Mage::getSingleton('checkout/session')->getQuoteId();
598
+ $session->setData('econda_order_id',$actOrder);
599
  break;
600
  case 'SUCCESS':
601
  $emos->addOrderProcess("7_".$eLang[41]);
604
  * addEmosBillingPageArray checkout
605
  */
606
  if(stristr($realUrl,'checkout/onepage/success/') != false || stristr($realUrl,'uospayment/success/') != false) {//onepage
607
+ $lastOrder = Mage::getSingleton('checkout/type_onepage')->getLastOrderId();
608
+ $lastOrderId = $lastOrder;
609
+ $quote = Mage::getSingleton('checkout/type_onepage')->getQuote();
610
+ $entityId = $quote->getData('entity_id');
611
+
612
+ if(empty($entityId)) {
613
+ $tableSfq = $tablePrefix.'sales_flat_quote';
614
+ $result = $db->query("SELECT entity_id FROM $tableSfq WHERE reserved_order_id = $lastOrder");
615
+ $row = $result->fetch(PDO::FETCH_ASSOC);
616
+ $entityId = $row['entity_id'];
617
+ }
618
  }
619
  else{//multipage
620
+ $entityId = intval($session->getData('econda_order_id'));
621
+ $orderIds = Mage::getSingleton('core/session')->getOrderIds(false);
622
+ if($orderIds && is_array($orderIds)) {
623
+ $lastOrderId = implode(' / ', $orderIds);
624
+ }
625
+ else {
626
+ $customerId = Mage::getSingleton('customer/session')->getCustomerId();
627
+ $tableSfqos = $tablePrefix.'sales_order';
628
+ $result = $db->query("SELECT increment_id FROM $tableSfqos WHERE customer_id = $customerId");
629
+ while($row = $result->fetch(PDO::FETCH_ASSOC)) {
630
+ $lastOrderId = $row['increment_id'];
631
+ }
632
+ }
633
  }
634
  $tableSfqa = $tablePrefix.'sales_flat_quote_address';
635
  $result = $db->query("SELECT customer_id,city,postcode,country_id,base_grand_total,base_subtotal,base_tax_amount,base_shipping_tax_amount FROM $tableSfqa WHERE quote_id = $entityId and address_type = 'shipping'");
636
+ $priceTotal = 0;
637
+
638
+ while($row = $result->fetch(PDO::FETCH_ASSOC)) {
639
+ $custCountry = $row['country_id'];
640
+ $custPostCode = $row['postcode'];
641
+ $custCity = $row['city'];
642
+ $custId = $row['customer_id'];
643
+ $ordId = $lastOrderId;
644
+ if(Mage::getStoreConfig($billingOption, $storeId) == '1') {
645
+ $priceTotal += $row['base_subtotal'];
646
+ }
647
+ else if(Mage::getStoreConfig($billingOption, $storeId) == '2') {
648
+ $priceTotal += $row['base_subtotal'] + $row['base_tax_amount'] - $row['base_shipping_tax_amount'];
649
+ }
650
+ else {
651
+ $priceTotal += $row['base_grand_total'];
652
+ }
653
  }
654
+
 
 
655
  $priceTotal = $this->convertPrice($priceTotal);
656
  $custAdress = $custCountry.'/'.substr($custPostCode,0,1).'/'.substr($custPostCode,0,2).'/'.$custCity.'/'.$custPostCode;
657
  $emos->addEmosBillingPageArray($ordId,$custId,$priceTotal,$custCountry,$custPostCode,$custCity);
app/code/local/Mage/Econda/Block/emos_org.php DELETED
@@ -1,792 +0,0 @@
1
- <?php
2
- /*******************************************************************************
3
- * EMOS PHP Bib 2
4
- * $Id: emos.php,v 1.15 2009/11/17 13:24:00 egaiser Exp $
5
- ********************************************************************************
6
-
7
- Copyright (c) 2004 - 2009 ECONDA GmbH Karlsruhe
8
- All rights reserved.
9
-
10
- ECONDA GmbH
11
- Eisenlohrstr. 43
12
- 76135 Karlsruhe
13
- Tel.: 0721/663035-0
14
- Fax.: 0721 663035-10
15
- info@econda.de
16
- www.econda.de
17
-
18
- Redistribution and use in source and binary forms, with or without modification,
19
- are permitted provided that the following conditions are met:
20
-
21
- * Redistributions of source code must retain the above copyright notice,
22
- this list of conditions and the following disclaimer.
23
- * Redistributions in binary form must reproduce the above copyright notice,
24
- this list of conditions and the following disclaimer in the documentation
25
- and/or other materials provided with the distribution.
26
- * Neither the name of the ECONDA GmbH nor the names of its contributors may
27
- be used to endorse or promote products derived from this software without
28
- specific prior written permission.
29
-
30
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
31
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
32
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
33
- IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
34
- INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
35
- BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
36
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
37
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
39
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40
-
41
- Changes:
42
-
43
- $Log: emos.php,v $
44
- Revision 1.15 2009/11/17 13:24:00 egaiser
45
- update to handle anchor tags and properties array
46
- added function trackMode to switch between anchor tags and properties array
47
- added function debugMode to show debug information
48
- added function rmvCdata to remove CDATA tag for properties array
49
- added function addMarker
50
- added function addTarget
51
- added function addGoal to set target conversion
52
- added function trackOnLoad to set automatic request on site load
53
- added function addScript for additional external Javascript integration
54
- several changes in structural output and string encoding
55
-
56
- Revision 1.14 2009/02/19 09:52:56 unaegele
57
- if function not exists fix (Removed in Revision 1.15)
58
-
59
- Revision 1.13 2007/08/17 08:40:33 unaegele
60
- added function addEMOSCustomPageArray
61
- added function getEMOSCustomPageArray
62
-
63
- Revision 1.12 2007/05/16 08:24:09 unaegele
64
- fix wrong reference to htmlspecialchars_decodephp4()
65
-
66
- Revision 1.11 2007/05/11 07:52:42 unaegele
67
- Update ECONDA Tel Number, prepare Release 20070510
68
-
69
- Revision 1.10 2007/05/11 07:45:53 unaegele
70
- added \n to addSid
71
-
72
- Revision 1.9 2007/05/10 12:19:04 unaegele
73
- Fix php 4 compatibility for the call to htmlspecialchars_decode()
74
- Replace traslated &nbsp;=chr(0xa0) with real spaces
75
-
76
- Revision 1.8 2007/05/04 10:17:31 unaegele
77
- several bugfixes
78
-
79
- Revision 1.7 2007/05/04 09:59:01 unaegele
80
- source code formating
81
-
82
- Revision 1.6 2007/05/04 09:55:12 unaegele
83
- *** empty log message ***
84
-
85
- Revision 1.5 2007/05/04 09:49:08 unaegele
86
- *** empty log message ***
87
-
88
- Revision 1.4 2007/05/04 09:43:48 unaegele
89
- Added methods addSiteID($siteid), addLangID($langid), addPageID($pageID), addCountryID($countryid)
90
-
91
- Revision 1.2 added URL Encoding, Dataformat
92
-
93
- Revision 1.1 added 1st party session tracking
94
-
95
- */
96
-
97
- /* PHP Helper Class to construct a ECONDA Monitor statement for the later
98
- * inclusion in a HTML/PHP Page.
99
- */
100
- class EMOS {
101
-
102
- /* Here we store the predefined parameter list */
103
- var $preScript = "";
104
-
105
- /* Here we store the additional script-files */
106
- var $inScript = "";
107
-
108
- /* Here we store additional parameters */
109
- var $postScript = "";
110
-
111
- /* path to the emos2.js script-file */
112
- var $pathToFile = "";
113
-
114
- /* Name of the script-file */
115
- var $scriptFileName = "emos2.js";
116
-
117
- /* session id for 1st party sessions*/
118
- var $emsid = "";
119
-
120
- /* visitor id for 1st partyx visitors */
121
- var $emvid = "";
122
-
123
- /* start js and init properties */
124
- var $jsStart = "<script type=\"text/javascript\">\n//<![CDATA[\n var emospro = {};\n";
125
-
126
- /* end js and fire properties */
127
- var $jsEnd = " window.emosPropertiesEvent(emospro);\n//]]>\n</script>\n";
128
-
129
- /* emos2 inclusion */
130
- var $emosBib = "";
131
-
132
- /* ec_event */
133
- var $ecString = "";
134
-
135
- /* remove cdata */
136
- var $rmvCdata = true;
137
-
138
- /* old style anchor tags*/
139
- var $anchorTags = true;
140
-
141
- /* count basket items */
142
- var $ecCounter = 0;
143
-
144
- /* send request on site load */
145
- var $emosFire = true;
146
-
147
- /* main out */
148
- var $retString = "";
149
-
150
- /* script to stopp request on site load */
151
- var $emosStopRequest = "<script type=\"text/javascript\">\n//<![CDATA[\n window.emosTrackVersion = 2;\n//]]>\n</script>\n";
152
-
153
- /* Debug Mode */
154
- var $emosDebug = 0;
155
-
156
- /* CSS Style and Div for Debug */
157
- var $debugOut = "\n<script type=\"text/javascript\">\n function hideEcondaDebug(){\n document.getElementById(\"econdaDebugTxt\").style.visibility = \"hidden\";\n document.getElementById(\"econdaDebugStat\").style.visibility = \"hidden\";\n document.getElementById(\"econdaDebug\").style.width = \"35px\";\n document.getElementById(\"econdaDebug\").style.height = \"15px\";\n document.getElementById(\"econdaDebugShow\").style.visibility = \"visible\";\n }\n function showEcondaDebug(){\n document.getElementById(\"econdaDebugTxt\").style.visibility = \"visible\";\n document.getElementById(\"econdaDebugStat\").style.visibility = \"visible\";\n document.getElementById(\"econdaDebug\").style.width = \"auto\";\n document.getElementById(\"econdaDebug\").style.height = \"auto\";\n document.getElementById(\"econdaDebugShow\").style.visibility = \"hidden\";\n }\n function econdaDebug(dbtxt){\n document.getElementById(\"econdaDebugTxt\").innerHTML = dbtxt;\n }\n</script>\n<div name=\"econdaDebug\" id=\"econdaDebug\" style=\"position:absolute; visibility: visible; font-family: sans-serif; font-size: 12px; color: #FFFFFF; background-color: #0088B2; left: 0px; top: 0px; width: auto; height: auto; padding: 3px; z-index: 1000;\">\n<textarea style=\"min-width: 760px; font-family: sans-serif; font-size: 13px; background-color: #FFFFFF;\" name=\"econdaDebugTxt\" id=\"econdaDebugTxt\" wrap=\"off\" cols=\"120\" rows=\"22\">\n";
158
- var $debugEnd = "</textarea>\n<div name=\"econdaDebugStat\" id=\"econdaDebugStat\" style=\"cursor: pointer; padding: 1px;\" align=\"right\" onClick=\"javascript:hideEcondaDebug();\">[econda debug mode]&nbsp;&nbsp;HIDE</div>\n<div name=\"econdaDebugShow\" id=\"econdaDebugShow\" style=\"position: absolute; visibility: hidden; top: 0px; left: 0px; cursor: pointer; z-index: 1001;\" onClick=\"javascript:showEcondaDebug();\">SHOW</div>\n</div>\n\n";
159
-
160
- /*
161
- * add compatibility function for php < 5.1
162
- */
163
- function htmlspecialchars_decode_php4($str) {
164
- return strtr($str, array_flip(get_html_translation_table(HTML_SPECIALCHARS)));
165
- }
166
-
167
- /* Constructor
168
- * Sets the path to the emos2.js js-bib and prepares the later calls
169
- *
170
- * @param $pathToFile The path to the js-bib (/js)
171
- * @param $scriptFileName If we want to have annother Filename than
172
- * emos2.js you can set it here
173
- */
174
- function EMOS($pathToFile , $scriptFileName = "emos2.js") {
175
- $this->pathToFile = $pathToFile;
176
- if(substr($this->pathToFile,-8) == 'emos2.js') {
177
- $this->pathToFile = substr($this->pathToFile,0,strlen($this->pathToFile)-8);
178
- }
179
- if(substr($this->pathToFile,-1) != '/') {
180
- $this->pathToFile .= '/';
181
- }
182
- $this->scriptFileName = $scriptFileName;
183
- if($this->scriptFileName == '' || $this->scriptFileName == null) {
184
- $this->scriptFileName = 'emos2.js';
185
- }
186
- $this->prepareInScript();
187
- }
188
-
189
- /* formats data/values/params by eliminating named entities and xml-entities */
190
- function emos_ItemFormat($item) {
191
- $item->productID = $this->emos_DataFormat($item->productID);
192
- $item->productName = $this->emos_DataFormat($item->productName);
193
- $item->productGroup = $this->emos_DataFormat($item->productGroup);
194
- $item->variant1 = $this->emos_DataFormat($item->variant1);
195
- $item->variant2 = $this->emos_DataFormat($item->variant2);
196
- $item->variant3 = $this->emos_DataFormat($item->variant3);
197
- return $item;
198
- }
199
-
200
- /* formats data/values/params by eliminating named entities and xml-entities */
201
- function emos_DataFormat($str) {
202
- if($this->anchorTags) {
203
- $str = urldecode($str);
204
- //2007-05-10 Fix incompatibility with php4
205
- if (function_exists('htmlspecialchars_decode')) {
206
- $str = htmlspecialchars_decode($str, ENT_QUOTES);
207
- } else {
208
- $str = $this->htmlspecialchars_decode_php4($str);
209
- }
210
- $str = html_entity_decode($str);
211
- $str = strip_tags($str);
212
- $str = trim($str);
213
-
214
- //2007-05-10 replace translated &nbsp; with spaces
215
- $nbsp = chr(0xa0);
216
- $str = str_replace($nbsp, " ", $str);
217
- $str = str_replace("\"", "", $str);
218
- $str = str_replace("'", "", $str);
219
- $str = str_replace("%", "", $str);
220
- $str = str_replace(",", "", $str);
221
- $str = str_replace(";", "", $str);
222
- /* remove unnecessary white spaces */
223
- while (true) {
224
- $str_temp = $str;
225
- $str = str_replace(" ", " ", $str);
226
-
227
- if ($str == $str_temp) {
228
- break;
229
- }
230
- }
231
- $str = str_replace(" / ", "/", $str);
232
- $str = str_replace(" /", "/", $str);
233
- $str = str_replace("/ ", "/", $str);
234
- $str = substr($str, 0, 254);
235
- $str = rawurlencode($str);
236
- }
237
- else {
238
- $str = utf8_decode($str);
239
- $str = html_entity_decode($str);
240
- $str = strip_tags($str);
241
- $str = utf8_encode($str);
242
- $str = addcslashes($str, "\\\"'&<>]");
243
- $str = trim($str);
244
- }
245
- return $str;
246
- }
247
-
248
- /* set the 1st party session id */
249
- function setSid($sid = "") {
250
- if ($sid) {
251
- $this->emsid = $sid;
252
- $this->appendPreScript("<a name=\"emos_sid\" title=\"$sid\"></a>\n");
253
- }
254
- }
255
-
256
- /* set the 1st party visitor id */
257
- function setVid($vid = "") {
258
- if ($vid) {
259
- $this->emvid = $vid;
260
- $this->appendPreScript("<a name=\"emos_vid\" title=\"$vid\"></a>");
261
- }
262
- }
263
-
264
- /* nothing to do. */
265
- function prettyPrint() {
266
- }
267
-
268
- /* Concatenates the current command and the $inScript */
269
- function appendInScript($stringToAppend) {
270
- $this->inScript .= $stringToAppend;
271
- }
272
-
273
- /* Concatenates the current command and the $proScript */
274
- function appendPreScript($stringToAppend) {
275
- $this->preScript .= $stringToAppend;
276
- }
277
-
278
- /* Concatenates the current command and the $postScript */
279
- function appendPostScript($stringToAppend) {
280
- $this->postScript .= $stringToAppend;
281
- }
282
-
283
- /* returns the emos2.js inclusion */
284
- function prepareInScript() {
285
- $this->emosBib .= "<script type=\"text/javascript\" src=\"".$this->pathToFile.$this->scriptFileName."\"></script>\n";
286
- }
287
-
288
- /* returns a javascript extra inclusion at defined position */
289
- function addScript($script) {
290
- $this->emosBib .= "<script type=\"text/javascript\" src=\"".$script."\"></script>\n";
291
- }
292
-
293
- /* returns the whole statement */
294
- function toString() {
295
- if(!$this->anchorTags){
296
- if($this->ecString != ""){
297
- $this->ecString = substr($this->ecString,0,-2)."\n";
298
- $this->ecString .= " ];\n";
299
- }
300
- else {
301
- $this->ecString = "";
302
- }
303
- if(!$this->emosFire) {
304
- $this->jsEnd = str_replace(" window.emosPropertiesEvent(emospro);\n","",$this->jsEnd);
305
- }
306
- if($this->rmvCdata) {
307
- $this->jsStart = str_replace("\n//<![CDATA[","",$this->jsStart);
308
- $this->jsEnd = str_replace("//]]>\n","",$this->jsEnd);
309
- $this->emosStopRequest = str_replace("\n//<![CDATA[","",$this->emosStopRequest);
310
- $this->emosStopRequest = str_replace("\n//]]>","",$this->emosStopRequest);
311
- }
312
- }
313
- if($this->anchorTags) { //anchor tags
314
- if($this->ecString != "") {
315
- $this->ecString .= "//]]>\n</script>\n";
316
- }
317
- if($this->rmvCdata) {
318
- $this->preScript = str_replace("\n//<![CDATA[","",$this->preScript);
319
- $this->preScript = str_replace("\n//]]>","",$this->preScript);
320
- $this->ecString = str_replace("\n//<![CDATA[","",$this->ecString);
321
- $this->ecString = str_replace("\n//]]>","",$this->ecString);
322
- }
323
- if($this->emosDebug > 0) {
324
- $this->retString .= $this->debugOut . $this->preScript . $this->postScript . $this->ecString . $this->emosBib . $this->inScript . $this->debugEnd;
325
- }
326
- if($this->emosDebug == 0 || $this->emosDebug == 2){
327
- $this->retString .= $this->preScript . $this->postScript . $this->ecString . $this->emosBib . $this->inScript;
328
- }
329
- }
330
- else {
331
- if($this->emosDebug > 0) {
332
- $this->retString .= $this->debugOut . $this->emosStopRequest . $this->emosBib . $this->jsStart . $this->preScript . $this->ecString . $this->postScript . $this->jsEnd . $this->inScript . $this->debugEnd;
333
- }
334
- if($this->emosDebug == 0 || $this->emosDebug == 2){
335
- $this->retString .= $this->emosStopRequest . $this->emosBib . $this->jsStart . $this->preScript . $this->ecString . $this->postScript . $this->jsEnd . $this->inScript;
336
- }
337
- }
338
- return $this->retString;
339
- }
340
-
341
- /* constructs anchor tags */
342
- function getAnchorTag($title = "", $rel = "", $rev = "") {
343
- $rel = $this->emos_DataFormat($rel);
344
- $rev = $this->emos_DataFormat($rev);
345
- $anchor = "<a name=\"emos_name\" title=\"".$title."\" rel=\"".$rel."\" rev=\"".$rev."\"></a>\n";
346
- return $anchor;
347
- }
348
-
349
- /* constructs a js property event */
350
- function getProperty($title = "", $rel = "", $rev = "", $brck = false) {
351
- if($this->anchorTags) {
352
- return $this->getAnchorTag($title, $rel, $rev);
353
- }
354
- $rel = $this->emos_DataFormat($rel);
355
- $rev = $this->emos_DataFormat($rev);
356
- $setRev = false;
357
- if(trim($rev) != "") {
358
- $setRev = true;
359
- }
360
- $out = " emospro.".$title." = ";
361
- if($setRev) {
362
- $out .= "[[";
363
- }
364
- $out .= "'".$rel."'";
365
- if($setRev) {
366
- if($brck) {
367
- $out .= "]]";
368
- }
369
- else {
370
- $out .= ",'".$rev."']]";
371
- }
372
- }
373
- $out .= ";\n";
374
- return $out;
375
- }
376
-
377
- /* adds a property event for marker tracking
378
- * emospro.marker = content
379
- */
380
- function addMarker($content) {
381
- $this->appendPreScript($this->getProperty("marker", $content, "", true));
382
- }
383
-
384
- /* adds a property event for target tracking
385
- * emospro.Target = [[group,name]]
386
- */
387
- function addTarget($group, $name) {
388
- $this->appendPreScript($this->getProperty("Target", $group, $name));
389
- }
390
-
391
- /* adds a property event for target conversion
392
- * emospro.cGoal = 0 or 1
393
- */
394
- function addGoal($goal) {
395
- $this->appendPreScript($this->getProperty("cGoal", $goal));
396
- }
397
-
398
- /* remove CDATA from script */
399
- function addCdata() {
400
- $this->rmvCdata = false;
401
- }
402
-
403
- /* set tracking mode
404
- * 2 = js properties, everything else = anchor tags
405
- */
406
- function trackMode($mode) {
407
- if($mode == 2) {
408
- $this->anchorTags = false;
409
- }
410
- }
411
-
412
- /* send request on site load
413
- * true or false
414
- */
415
- function trackOnLoad($send) {
416
- $this->emosFire = $send;
417
- }
418
-
419
- /* show debug informations inside a container
420
- * 1 = debug only, 2 = debug and send request
421
- */
422
- function debugMode($send) {
423
- $this->emosDebug = $send;
424
- }
425
-
426
- /* adds a property event for content tracking
427
- * emospro.content = content
428
- */
429
- function addContent($content) {
430
- $this->appendPreScript($this->getProperty("content", $content));
431
- }
432
-
433
- /* adds a property event for orderprocess tracking
434
- * emospro.orderProcess = processStep
435
- */
436
- function addOrderProcess($processStep) {
437
- $this->appendPreScript($this->getProperty("orderProcess", $processStep));
438
- }
439
-
440
- /* adds a property event for siteid tracking
441
- * emospro.siteid = siteid
442
- */
443
- function addSiteID($siteid) {
444
- $this->appendPreScript($this->getProperty("siteid", $siteid));
445
- }
446
-
447
- /* adds a property event for language tracking
448
- * emospro.langid = langid
449
- */
450
- function addLangID($langid) {
451
- $this->appendPreScript($this->getProperty("langid", $langid));
452
- }
453
-
454
- /* adds a property event for country tracking
455
- * emospro.countryid = countryid
456
- */
457
- function addCountryID($countryid) {
458
- $this->appendPreScript($this->getProperty("countryid", $countryid));
459
- }
460
-
461
- /* adds a property event for pageid tracking
462
- * emospro.pageid = pageID
463
- */
464
- function addPageID($pageID) {
465
- if(!$this->anchorTags) {
466
- $this->appendPreScript($this->getProperty("pageId", $pageID));
467
- }
468
- else {
469
- $this->appendPreScript("<script type=\"text/javascript\">\n//<![CDATA[\n window.emosPageId = '$pageID';\n//]]>\n</script>\n");
470
- }
471
- }
472
-
473
- /* adds a property event for search tracking
474
- * emospro.search = [[queryString,numberOfHits]]
475
- */
476
- function addSearch($queryString, $numberOfHits) {
477
- $this->appendPreScript($this->getProperty("search", $queryString, $numberOfHits));
478
- }
479
-
480
- /* adds a property event for registration tracking
481
- * The userid gets a md5() to fullfilll german datenschutzgesetz
482
- * emospro.register = [[userID,result]] //(result: 0=true,1=false)
483
- */
484
- function addRegister($userID, $result) {
485
- $this->appendPreScript($this->getProperty("register", md5($userID), $result));
486
- }
487
-
488
- /* adds a property event for login tracking
489
- * The userid gets a md5() to fullfilll german datenschutzgesetz
490
- * emospro.login = [[userID,result]] //(result: 0=true,1=false)
491
- */
492
- function addLogin($userID, $result) {
493
- $this->appendPreScript($this->getProperty("login", md5($userID), $result));
494
- }
495
-
496
- /* adds a property event for contact tracking
497
- * emospro.scontact = contactType
498
- */
499
- function addContact($contactType) {
500
- $this->appendPreScript($this->getProperty("scontact", $contactType));
501
- }
502
-
503
- /* adds a property event for download tracking
504
- * emospro.download = downloadLabel
505
- */
506
- function addDownload($downloadLabel) {
507
- $this->appendPreScript($this->getProperty("download", $downloadLabel));
508
- }
509
-
510
- /* constructs a emosECPageArray of given $event type
511
- * @param $item a instance of class EMOS_Item
512
- * @param $event Type of this event ("add","c_rmv","c_add")
513
- */
514
- function getEmosECPageArray($item, $event) {
515
- if(!$this->anchorTags){
516
- $item = $this->emos_ItemFormat($item);
517
- if($this->ecString == "") {
518
- $this->ecString .= " emospro.ec_Event = [\n";
519
- }
520
- $this->ecString .= " ['".$event."','".$item->productID."','".$item->productName."','".$item->price."','".$item->productGroup."','".$item->quantity."','".$item->variant1."','".$item->variant2."','".$item->variant2."'],\n";
521
- }
522
- else { //anchor tags
523
- $item = $this->emos_ItemFormat($item);
524
- if($this->ecCounter == 0) {
525
- $this->ecString .= "<script type=\"text/javascript\">\n//<![CDATA[\n";
526
- $this->ecString .= " var emosECPageArray = new Array();\n";
527
- }
528
- $this->ecString .=" emosECPageArray[".$this->ecCounter."] = new Array();\n" .
529
- " emosECPageArray[".$this->ecCounter."]['event'] = '".$event."';\n" .
530
- " emosECPageArray[".$this->ecCounter."]['id'] = '".$item->productID."';\n" .
531
- " emosECPageArray[".$this->ecCounter."]['name'] = '".$item->productName."';\n" .
532
- " emosECPageArray[".$this->ecCounter."]['preis'] = '".$item->price."';\n" .
533
- " emosECPageArray[".$this->ecCounter."]['group'] = '".$item->productGroup."';\n" .
534
- " emosECPageArray[".$this->ecCounter."]['anzahl'] = '".$item->quantity."';\n" .
535
- " emosECPageArray[".$this->ecCounter."]['var1'] = '".$item->variant1."';\n" .
536
- " emosECPageArray[".$this->ecCounter."]['var2'] = '".$item->variant2."';\n" .
537
- " emosECPageArray[".$this->ecCounter."]['var3'] = '".$item->variant3."';\n" ;
538
- $this->ecCounter += 1;
539
- }
540
- }
541
-
542
- /* adds a detailView to the preScript */
543
- function addDetailView($item) {
544
- $this->getEmosECPageArray($item, "view");
545
- }
546
-
547
- /* adds a removeFromBasket to the preScript */
548
- function removeFromBasket($item) {
549
- $this->getEmosECPageArray($item, "c_rmv");
550
- }
551
-
552
- /* adds a addToBasket to the preScript */
553
- function addToBasket($item) {
554
- $this->getEmosECPageArray($item, "c_add");
555
- }
556
-
557
- /* constructs a emosBillingPageArray of given $event type */
558
- function addEmosBillingPageArray($billingID = "", $customerNumber = "", $total = 0, $country = "", $cip = "", $city = "") {
559
- $out = $this->getEmosBillingArray($billingID, $customerNumber, $total, $country, $cip, $city, "emosBillingPageArray");
560
- $this->appendPreScript($out);
561
- }
562
-
563
- /* gets a emosBillingArray for a given ArrayName
564
- * md5 the customer id to to fullfilll german datenschutzgesetz
565
- */
566
- function getEmosBillingArray($billingID = "", $customerNumber = "", $total = 0, $country = "", $cip = "", $city = "", $arrayName = "") {
567
- $customerNumber = md5($customerNumber);
568
- $country = $this->emos_DataFormat($country);
569
- $cip = $this->emos_DataFormat($cip);
570
- $city = $this->emos_DataFormat($city);
571
-
572
- /* get a / separated location string for later drilldown */
573
- $ort = "";
574
- if ($country) {
575
- $ort .= "$country/";
576
- }
577
- if ($cip) {
578
- $ort .= substr($cip, 0, 1) . "/" . substr($cip, 0, 2) . "/";
579
- }
580
- if ($city) {
581
- $ort .= "$city/";
582
- }
583
- if ($cip) {
584
- $ort .= $cip;
585
- }
586
- if(!$this->anchorTags){
587
- $out = " emospro.billing = [['".$billingID."','".$customerNumber."','".$ort."','".$total."']];\n";
588
- }
589
- else { //anchor tags
590
- $out = "<script type=\"text/javascript\">\n//<![CDATA[\n" .
591
- " var ".$arrayName." = new Array();\n" .
592
- " ".$arrayName."[0] = '".$billingID."';\n" .
593
- " ".$arrayName."[1] = '".$customerNumber."';\n" .
594
- " ".$arrayName."[2] = '".$ort."';\n" .
595
- " ".$arrayName."[3] = '".$total."';\n" .
596
- "//]]>\n</script>\n";
597
- }
598
- return $out;
599
- }
600
-
601
- /* adds a emosBasket Page Array*/
602
- function addEmosBasketPageArray($basket) {
603
- if(!$this->anchorTags){
604
- $this->getEmosBasketPageArray($basket, "buy");
605
- }
606
- else {
607
- $this->getEmosBasketPageArray($basket, "emosBasketPageArray");
608
- }
609
- }
610
-
611
- /* returns a emosBasketArray of given Name */
612
- function getEmosBasketPageArray($basket, $event) {
613
- if(!$this->anchorTags){
614
- if($this->ecString == "") {
615
- $this->ecString .= " emospro.ec_Event = [\n";
616
- }
617
- foreach ($basket as $item) {
618
- $item = $this->emos_ItemFormat($item);
619
- $this->ecString .= " ['".$event."','".$item->productID."','".$item->productName."','".$item->price."','".$item->productGroup."','".$item->quantity."','".$item->variant1."','".$item->variant2."','".$item->variant2."'],\n";
620
- }
621
- }
622
- else {
623
- $out = "<script type=\"text/javascript\">\n//<![CDATA[\n" .
624
- " var ".$event." = new Array();\n";
625
- $count = 0;
626
- foreach ($basket as $item) {
627
- $item = $this->emos_ItemFormat($item);
628
- $out .= " ".$event."[".$count."]=new Array();\n";
629
- $out .= " ".$event."[".$count."][0]='".$item->productID."';\n";
630
- $out .= " ".$event."[".$count."][1]='".$item->productName."';\n";
631
- $out .= " ".$event."[".$count."][2]='".$item->price."';\n";
632
- $out .= " ".$event."[".$count."][3]='".$item->productGroup."';\n";
633
- $out .= " ".$event."[".$count."][4]='".$item->quantity."';\n";
634
- $out .= " ".$event."[".$count."][5]='".$item->variant1."';\n";
635
- $out .= " ".$event."[".$count."][6]='".$item->variant2."';\n";
636
- $out .= " ".$event."[".$count."][7]='".$item->variant3."';\n";
637
- $count++;
638
- }
639
- $out .= "//]]>\n</script>\n";
640
- $this->appendPreScript($out);
641
- }
642
- }
643
-
644
- /*
645
- * constructs a generic EmosCustomPageArray from a PHP Array
646
- */
647
- function getEmosCustomPageArray($listOfValues){
648
- $out = "";
649
- if(!$this->anchorTags){
650
- $counter = 0;
651
- foreach ($listOfValues as $value) {
652
- $value = $this->emos_DataFormat($value);
653
- if($counter == 0) {
654
- $out .= " emospro.".$value." = [[";
655
- }
656
- else {
657
- $out .= "'".$value."',";
658
- }
659
- $counter += 1;
660
- }
661
- $out = substr($out,0,-1);
662
- $out .= "]];\n";
663
- }
664
- else {
665
- $out .= "<script type=\"text/javascript\">\n";
666
- $out .= " window.emosCustomPageArray = [";
667
- foreach ($listOfValues as $value) {
668
- $value = $this->emos_DataFormat($value);
669
- $out .= "'".$value."',";
670
- }
671
- $out = substr($out,0,-1);
672
- $out .= "];\n";
673
- $out .= "</script>\n";
674
- }
675
- $this->appendPreScript($out);
676
- }
677
-
678
- /* constructs a emosCustomPageArray with 8 Variables and shortcut
679
- * @param $cType Type of this event - shortcut in config
680
- * @param $cVar1 first variable of this custom event (optional)
681
- * @param $cVar2 second variable of this custom event (optional)
682
- * @param $cVar3 third variable of this custom event (optional)
683
- * @param $cVar4 fourth variable of this custom event (optional)
684
- * @param $cVar5 fifth variable of this custom event (optional)
685
- * @param $cVar6 sixth variable of this custom event (optional)
686
- * @param $cVar7 seventh variable of this custom event (optional)
687
- * @param $cVar8 eighth variable of this custom event (optional)
688
- * @param $cVar9 nineth variable of this custom event (optional)
689
- * @param $cVar10 tenth variable of this custom event (optional)
690
- * @param $cVar11 eleventh variable of this custom event (optional)
691
- * @param $cVar12 twelveth variable of this custom event (optional)
692
- * @param $cVar13 thirteenth variable of this custom event (optional)
693
- */
694
- function addEmosCustomPageArray($cType=0, $cVar1=0, $cVar2=0, $cVar3=0, $cVar4=0, $cVar5=0, $cVar6=0, $cVar7=0, $cVar8=0, $cVar9=0, $cVar10=0, $cVar11=0, $cVar12=0, $cVar13=0) {
695
- $values[0] = $cType;
696
- if($cVar1) $values[1] = $cVar1;
697
- if($cVar2) $values[2] = $cVar2;
698
- if($cVar3) $values[3] = $cVar3;
699
- if($cVar4) $values[4] = $cVar4;
700
- if($cVar5) $values[5] = $cVar5;
701
- if($cVar6) $values[6] = $cVar6;
702
- if($cVar7) $values[7] = $cVar7;
703
- if($cVar8) $values[8] = $cVar8;
704
- if($cVar9) $values[9] = $cVar9;
705
- if($cVar10) $values[10] = $cVar10;
706
- if($cVar11) $values[11] = $cVar11;
707
- if($cVar12) $values[12] = $cVar12;
708
- if($cVar13) $values[13] = $cVar13;
709
- $this->getEmosCustomPageArray($values);
710
- }
711
- }
712
- /* EMOS class end */
713
-
714
- /* global Functions */
715
- function getEmosECEvent($item, $event) {
716
- $item = $this->emos_ItemFormat($item);
717
- $out = "";
718
- $out .= "emos_ecEvent('$event'," .
719
- "'$item->productID'," .
720
- "'$item->productName'," .
721
- "'$item->price'," .
722
- "'$item->productGroup'," .
723
- "'$item->quantity'," .
724
- "'$item->variant1'" .
725
- "'$item->variant2'" .
726
- "'$item->variant3');";
727
- return $out;
728
- }
729
-
730
- function getEmosViewEvent($item) {
731
- return getEmosECEvent($item, "view");
732
- }
733
-
734
- function getEmosAddToBasketEvent($item) {
735
- return getEmosECEvent($item, "c_add");
736
- }
737
-
738
- function getRemoveFromBasketEvent($item) {
739
- return getEmosECEvent($item, "c_rmv");
740
- }
741
-
742
- function getEmosBillingEventArray($billingID = "", $customerNumber = "", $total = 0, $country = "", $cip = "", $city = "") {
743
- $b = new EMOS();
744
- return $b->getEmosBillingArray($billingID, $customerNumber, $total, $country, $cip, $city, "emosBillingArray");
745
- }
746
-
747
- function getEMOSBasketEventArray($basket) {
748
- $b = new EMOS();
749
- return $b->getEmosBasketArray($basket, "emosBasketArray");
750
- }
751
-
752
- /* A Class to hold products as well a basket items
753
- * If you want to track a product view, set the quantity to 1.
754
- * For "real" basket items, the quantity should be given in your
755
- * shopping systems basket/shopping cart.
756
- *
757
- * Purpose of this class:
758
- * This class provides a common subset of features for most shopping systems
759
- * products or basket/cart items. So all you have to do is to convert your
760
- * products/articles/basket items/cart items to a EMOS_Items. And finally use
761
- * the functionaltiy of the EMOS class.
762
- * So for each shopping system we only have to do the conversion of the cart/basket
763
- * and items and we can (hopefully) keep the rest of code.
764
- *
765
- * Shopping carts:
766
- * A shopping cart / basket is a simple Array[] of EMOS items.
767
- * Convert your cart to a Array of EMOS_Items and your job is nearly done.
768
- */
769
- class EMOS_Item {
770
- /** unique Identifier of a product e.g. article number */
771
- var $productID = "NULL";
772
- /** the name of a product */
773
- var $productName = "NULL";
774
- /** the price of the product, it is your choice wether its gross or net */
775
- var $price = "NULL";
776
- /** the product group for this product, this is a drill down dimension
777
- * or tree-like structure
778
- * so you might want to use it like this:
779
- * productgroup/subgroup/subgroup/product
780
- */
781
- var $productGroup = "NULL";
782
- /* the quantity / number of products viewed/bought etc.. */
783
- var $quantity = "NULL";
784
- /** variant of the product e.g. size, color, brand ....
785
- * remember to keep the order of theses variants allways the same
786
- * decide which variant is which feature and stick to it
787
- */
788
- var $variant1 = "NULL";
789
- var $variant2 = "NULL";
790
- var $variant3 = "NULL";
791
- }
792
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/Mage/Econda/Model/System/Config/Source/Siteid.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Mage_Econda_Model_System_Config_Source_Siteid
4
+ {
5
+ public function toOptionArray()
6
+ {
7
+ return array(
8
+ array('value'=>'', 'label'=>Mage::helper('econda')->__(''))
9
+ );
10
+ }
11
+ }
12
+ ?>
app/code/local/Mage/Econda/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Mage_Econda>
5
- <version>1.1.4</version>
6
  </Mage_Econda>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <Mage_Econda>
5
+ <version>1.1.5</version>
6
  </Mage_Econda>
7
  </modules>
8
  <frontend>
app/code/local/Mage/Econda/etc/system.xml CHANGED
@@ -21,7 +21,7 @@
21
  *
22
  * @category
23
  * @package Econda_tracker
24
- * @copyright Copyright (c) 2009 econda GmbH (http://www.econda.de)
25
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
  */
27
  -->
@@ -63,12 +63,22 @@
63
  <show_in_website>1</show_in_website>
64
  <show_in_store>0</show_in_store>
65
  </tracking_version>
 
 
 
 
 
 
 
 
 
 
66
  <billing_total>
67
  <label>Billing and Prices</label>
68
  <comment>Get Billing and Prices with or without Tax and Shipping</comment>
69
  <frontend_type>select</frontend_type>
70
  <source_model>econda/system_config_source_billing</source_model>
71
- <sort_order>3</sort_order>
72
  <show_in_default>1</show_in_default>
73
  <show_in_website>1</show_in_website>
74
  <show_in_store>0</show_in_store>
21
  *
22
  * @category
23
  * @package Econda_tracker
24
+ * @copyright Copyright (c) 2010 econda GmbH (http://www.econda.de)
25
  * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
  */
27
  -->
63
  <show_in_website>1</show_in_website>
64
  <show_in_store>0</show_in_store>
65
  </tracking_version>
66
+ <tracking_siteid>
67
+ <label>Siteid</label>
68
+ <comment>Set Siteid manually. Only change this in agreement with econda. Leave empty, if not used.</comment>
69
+ <frontend_type>text</frontend_type>
70
+ <source_model>econda/system_config_source_siteid</source_model>
71
+ <sort_order>3</sort_order>
72
+ <show_in_default>1</show_in_default>
73
+ <show_in_website>1</show_in_website>
74
+ <show_in_store>0</show_in_store>
75
+ </tracking_siteid>
76
  <billing_total>
77
  <label>Billing and Prices</label>
78
  <comment>Get Billing and Prices with or without Tax and Shipping</comment>
79
  <frontend_type>select</frontend_type>
80
  <source_model>econda/system_config_source_billing</source_model>
81
+ <sort_order>4</sort_order>
82
  <show_in_default>1</show_in_default>
83
  <show_in_website>1</show_in_website>
84
  <show_in_store>0</show_in_store>
app/design/frontend/default/default/layout/econda.xml CHANGED
@@ -3,14 +3,28 @@
3
  <default>
4
  <reference name="before_body_end">
5
  <block type="econda/econda" after="-" name="econda">
6
- <action method="setTemplate"><template>econda/tracker.phtml</template></action>
7
  </block>
8
  </reference>
9
  </default>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  <checkout_onepage_index>
11
  <reference name="content">
12
- <block type="econda/econda" after="-" name="trackerop" template="econda/trackerop.phtml">
13
  </block>
14
  </reference>
15
  </checkout_onepage_index>
16
- </layout>
3
  <default>
4
  <reference name="before_body_end">
5
  <block type="econda/econda" after="-" name="econda">
6
+ <action method="setTemplate"><template>econda/tracker.phtml</template></action>
7
  </block>
8
  </reference>
9
  </default>
10
+ <checkout_multishipping_success>
11
+ <reference name="content">
12
+ <block type="econda/econda" before="-" name="econda">
13
+ <action method="setTemplate"><template>econda/trackerms.phtml</template></action>
14
+ </block>
15
+ </reference>
16
+ </checkout_multishipping_success>
17
+ <checkout_onepage_success>
18
+ <reference name="content">
19
+ <block type="econda/econda" before="-" name="econda">
20
+ <action method="setTemplate"><template>econda/trackerms.phtml</template></action>
21
+ </block>
22
+ </reference>
23
+ </checkout_onepage_success>
24
  <checkout_onepage_index>
25
  <reference name="content">
26
+ <block type="econda/econda" before="-" name="trackerop" template="econda/trackerop.phtml">
27
  </block>
28
  </reference>
29
  </checkout_onepage_index>
30
+ </layout>
app/design/frontend/default/default/template/econda/tracker.phtml CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  $realUrlNoOp = Mage::helper('core/url')->getCurrentUrl();
3
- if(stristr($realUrlNoOp,'checkout/onepage/index/') == false) {
4
  echo $this->getEmos();
5
- }
6
  ?>
7
 
8
 
1
  <?php
2
  $realUrlNoOp = Mage::helper('core/url')->getCurrentUrl();
3
+ if(stristr($realUrlNoOp,'checkout/onepage/index/') == false && stristr($realUrlNoOp,'checkout/multishipping/success/') == false && stristr($realUrlNoOp,'checkout/onepage/success/') == false && stristr($realUrlNoOp,'uospayment/success/') == false) {
4
  echo $this->getEmos();
5
+ }
6
  ?>
7
 
8
 
app/design/frontend/default/default/template/econda/trackerms.phtml ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <?php
2
+ echo $this->getEmos();
3
+ ?>
app/design/frontend/default/default/template/econda/trackerop.phtml CHANGED
@@ -2,7 +2,6 @@
2
 
3
  $realUrlOp = Mage::helper('core/url')->getCurrentUrl();
4
  $opsession = Mage::getSingleton('checkout/session');
5
-
6
  if(stristr($realUrlOp,'checkout/onepage/') != false) {
7
 
8
  $storeIdOp = $this->getStore();
@@ -52,7 +51,7 @@ if(stristr($realUrlOp,'checkout/onepage/') != false) {
52
  }
53
 
54
  if($emVersion == '2') {
55
- $emosOut = "\n<!-- Start Econda-Monitor M111 -->\n";
56
  $emosOut .= "\n<script type=\"text/javascript\">\n//<![CDATA[\n";
57
  $emosOut .= " window.emosTrackVersion = 2;\n";
58
  $emosOut .= "//]]>\n</script>";
@@ -67,7 +66,7 @@ if(stristr($realUrlOp,'checkout/onepage/') != false) {
67
  $emosOut .= $emosLogin;
68
  }
69
  else {
70
- $emosOut = "\n<!-- Start Econda-Monitor M111 -->\n";
71
  $emosOut .= "\n<a name=\"emos_name\" title=\"content\" rel=\"Start/".$eLang[38]."\" rev=\"\"></a>\n";
72
  $emosOut .= "<script type=\"text/javascript\">\n//<![CDATA[\n";
73
  $emosOut .= " window.emosPageId = '".$setPageId."'; \n";
2
 
3
  $realUrlOp = Mage::helper('core/url')->getCurrentUrl();
4
  $opsession = Mage::getSingleton('checkout/session');
 
5
  if(stristr($realUrlOp,'checkout/onepage/') != false) {
6
 
7
  $storeIdOp = $this->getStore();
51
  }
52
 
53
  if($emVersion == '2') {
54
+ $emosOut = "\n<!-- Start Econda-Monitor M115 -->\n";
55
  $emosOut .= "\n<script type=\"text/javascript\">\n//<![CDATA[\n";
56
  $emosOut .= " window.emosTrackVersion = 2;\n";
57
  $emosOut .= "//]]>\n</script>";
66
  $emosOut .= $emosLogin;
67
  }
68
  else {
69
+ $emosOut = "\n<!-- Start Econda-Monitor M115 -->\n";
70
  $emosOut .= "\n<a name=\"emos_name\" title=\"content\" rel=\"Start/".$eLang[38]."\" rev=\"\"></a>\n";
71
  $emosOut .= "<script type=\"text/javascript\">\n//<![CDATA[\n";
72
  $emosOut .= " window.emosPageId = '".$setPageId."'; \n";
app/locale/de_AT/Mage_Econda.csv CHANGED
@@ -1,9 +1,11 @@
1
- "Used Language","Verwendete Sprache"
2
- "Settings","Einstellungen"
3
- "Select only the language, which at the time of initial activation of your econda product has been selected.","Nur die Sprache verwenden, welche bei der ersten Aktivierung Ihres econda Produktes ausgew&#228hlt wurde."
4
- "Only newer versions of the emos2.js file (received after September 2009) can handle Version 2. Copy your personal emos2.js file into the direcotory /js/tracker/.","Nur neuere Versionen der emos2.js Datei (Erhalten ab September 2009) k&#246nnen mit Version 2 umgehen. Kopieren Sie Ihre personalisierte emos2.js Datei in das Verzeichnis /js/tracker/."
5
- "Total Price (Grand Total)","Gesamtpreis (Grand Total)"
6
- "Value of Goods without Tax (Subtotal)","Warenwert ohne Steuer (Subtotal)"
7
- "Value of Goods with Tax (Subtotal + Tax)","Warenwert mit Steuer (Subtotal + Tax)"
8
- "Get Billing and Prices with or without Tax and Shipping","Den Rechnungsbetrag und Preise mit oder ohne Steuer und Versandkosten &#252bertragen"
9
- "Billing and Prices","Rechnung und Preise"
 
 
1
+ "",""
2
+ "Used Language","Verwendete Sprache"
3
+ "Settings","Einstellungen"
4
+ "Select only the language, which at the time of initial activation of your econda product has been selected.","Nur die Sprache verwenden, welche bei der ersten Aktivierung Ihres econda Produktes ausgew&#228hlt wurde."
5
+ "Only newer versions of the emos2.js file (received after September 2009) can handle Version 2. Copy your personal emos2.js file into the direcotory /js/tracker/.","Nur neuere Versionen der emos2.js Datei (Erhalten ab September 2009) k&#246nnen mit Version 2 umgehen. Kopieren Sie Ihre personalisierte emos2.js Datei in das Verzeichnis /js/tracker/."
6
+ "Total Price (Grand Total)","Gesamtpreis (Grand Total)"
7
+ "Value of Goods without Tax (Subtotal)","Warenwert ohne Steuer (Subtotal)"
8
+ "Value of Goods with Tax (Subtotal + Tax)","Warenwert mit Steuer (Subtotal + Tax)"
9
+ "Get Billing and Prices with or without Tax and Shipping","Den Rechnungsbetrag und Preise mit oder ohne Steuer und Versandkosten &#252bertragen"
10
+ "Billing and Prices","Rechnung und Preise"
11
+ "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."
app/locale/de_CH/Mage_Econda.csv CHANGED
@@ -1,9 +1,11 @@
1
- "Used Language","Verwendete Sprache"
2
- "Settings","Einstellungen"
3
- "Select only the language, which at the time of initial activation of your econda product has been selected.","Nur die Sprache verwenden, welche bei der ersten Aktivierung Ihres econda Produktes ausgew&#228hlt wurde."
4
- "Only newer versions of the emos2.js file (received after September 2009) can handle Version 2. Copy your personal emos2.js file into the direcotory /js/tracker/.","Nur neuere Versionen der emos2.js Datei (Erhalten ab September 2009) k&#246nnen mit Version 2 umgehen. Kopieren Sie Ihre personalisierte emos2.js Datei in das Verzeichnis /js/tracker/."
5
- "Total Price (Grand Total)","Gesamtpreis (Grand Total)"
6
- "Value of Goods without Tax (Subtotal)","Warenwert ohne Steuer (Subtotal)"
7
- "Value of Goods with Tax (Subtotal + Tax)","Warenwert mit Steuer (Subtotal + Tax)"
8
- "Get Billing and Prices with or without Tax and Shipping","Den Rechnungsbetrag und Preise mit oder ohne Steuer und Versandkosten &#252bertragen"
9
- "Billing and Prices","Rechnung und Preise"
 
 
1
+ "",""
2
+ "Used Language","Verwendete Sprache"
3
+ "Settings","Einstellungen"
4
+ "Select only the language, which at the time of initial activation of your econda product has been selected.","Nur die Sprache verwenden, welche bei der ersten Aktivierung Ihres econda Produktes ausgew&#228hlt wurde."
5
+ "Only newer versions of the emos2.js file (received after September 2009) can handle Version 2. Copy your personal emos2.js file into the direcotory /js/tracker/.","Nur neuere Versionen der emos2.js Datei (Erhalten ab September 2009) k&#246nnen mit Version 2 umgehen. Kopieren Sie Ihre personalisierte emos2.js Datei in das Verzeichnis /js/tracker/."
6
+ "Total Price (Grand Total)","Gesamtpreis (Grand Total)"
7
+ "Value of Goods without Tax (Subtotal)","Warenwert ohne Steuer (Subtotal)"
8
+ "Value of Goods with Tax (Subtotal + Tax)","Warenwert mit Steuer (Subtotal + Tax)"
9
+ "Get Billing and Prices with or without Tax and Shipping","Den Rechnungsbetrag und Preise mit oder ohne Steuer und Versandkosten &#252bertragen"
10
+ "Billing and Prices","Rechnung und Preise"
11
+ "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."
app/locale/de_DE/Mage_Econda.csv CHANGED
@@ -1,9 +1,11 @@
1
- "Used Language","Verwendete Sprache"
2
- "Settings","Einstellungen"
3
- "Select only the language, which at the time of initial activation of your econda product has been selected.","Nur die Sprache verwenden, welche bei der ersten Aktivierung Ihres econda Produktes ausgew&#228hlt wurde."
4
- "Only newer versions of the emos2.js file (received after September 2009) can handle Version 2. Copy your personal emos2.js file into the direcotory /js/tracker/.","Nur neuere Versionen der emos2.js Datei (Erhalten ab September 2009) k&#246nnen mit Version 2 umgehen. Kopieren Sie Ihre personalisierte emos2.js Datei in das Verzeichnis /js/tracker/."
5
- "Total Price (Grand Total)","Gesamtpreis (Grand Total)"
6
- "Value of Goods without Tax (Subtotal)","Warenwert ohne Steuer (Subtotal)"
7
- "Value of Goods with Tax (Subtotal + Tax)","Warenwert mit Steuer (Subtotal + Tax)"
8
- "Get Billing and Prices with or without Tax and Shipping","Den Rechnungsbetrag und Preise mit oder ohne Steuer und Versandkosten &#252bertragen"
9
- "Billing and Prices","Rechnung und Preise"
 
 
1
+ "",""
2
+ "Used Language","Verwendete Sprache"
3
+ "Settings","Einstellungen"
4
+ "Select only the language, which at the time of initial activation of your econda product has been selected.","Nur die Sprache verwenden, welche bei der ersten Aktivierung Ihres econda Produktes ausgew&#228hlt wurde."
5
+ "Only newer versions of the emos2.js file (received after September 2009) can handle Version 2. Copy your personal emos2.js file into the direcotory /js/tracker/.","Nur neuere Versionen der emos2.js Datei (Erhalten ab September 2009) k&#246nnen mit Version 2 umgehen. Kopieren Sie Ihre personalisierte emos2.js Datei in das Verzeichnis /js/tracker/."
6
+ "Total Price (Grand Total)","Gesamtpreis (Grand Total)"
7
+ "Value of Goods without Tax (Subtotal)","Warenwert ohne Steuer (Subtotal)"
8
+ "Value of Goods with Tax (Subtotal + Tax)","Warenwert mit Steuer (Subtotal + Tax)"
9
+ "Get Billing and Prices with or without Tax and Shipping","Den Rechnungsbetrag und Preise mit oder ohne Steuer und Versandkosten &#252bertragen"
10
+ "Billing and Prices","Rechnung und Preise"
11
+ "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."
app/locale/en_US/Mage_Econda.csv CHANGED
@@ -1,9 +1,11 @@
1
- "Used Language","Used Language"
2
- "Settings","Settings"
3
- "Select only the language, which at the time of initial activation of your econda product has been selected.","Select only the language, which at the time of initial activation of your econda product has been selected."
4
- "Only newer versions of the emos2.js file (received after September 2009) can handle Version 2. Copy your personal emos2.js file into the direcotory /js/tracker/.","Only newer versions of the emos2.js file (received after September 2009) can handle Version 2. Copy your personal emos2.js file into the direcotory /js/tracker/."
5
- "Total Price (Grand Total)","Total Price (Grand Total)"
6
- "Value of Goods without Tax (Subtotal)","Value of Goods without Tax (Subtotal)"
7
- "Value of Goods with Tax (Subtotal + Tax)","Value of Goods with Tax (Subtotal + Tax)"
8
- "Get Billing with or without Tax and Shipping","Get Billing with or without Tax and Shipping"
9
- "Billing and Prices","Billing and Prices"
 
 
1
+ "",""
2
+ "Used Language","Used Language"
3
+ "Settings","Settings"
4
+ "Select only the language, which at the time of initial activation of your econda product has been selected.","Select only the language, which at the time of initial activation of your econda product has been selected."
5
+ "Only newer versions of the emos2.js file (received after September 2009) can handle Version 2. Copy your personal emos2.js file into the direcotory /js/tracker/.","Only newer versions of the emos2.js file (received after September 2009) can handle Version 2. Copy your personal emos2.js file into the direcotory /js/tracker/."
6
+ "Total Price (Grand Total)","Total Price (Grand Total)"
7
+ "Value of Goods without Tax (Subtotal)","Value of Goods without Tax (Subtotal)"
8
+ "Value of Goods with Tax (Subtotal + Tax)","Value of Goods with Tax (Subtotal + Tax)"
9
+ "Get Billing and Prices with or without Tax and Shipping","Get Billing and Prices with or without Tax and Shipping"
10
+ "Billing and Prices","Billing and Prices"
11
+ "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."
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Econda</name>
4
- <version>1.1.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Bindet econda Web Controlling in Magento ein. Weitere Informationen unter http://www.econda.de. Inserts econda Web Contolling into Magento. For further information visit http://www.econda.de/</description>
11
  <notes>Release for econda Web Controlling functions.</notes>
12
  <authors><author><name>ecdev</name><user>auto-converted</user><email>bebop30@gmx.net</email></author></authors>
13
- <date>2010-04-01</date>
14
- <time>08:20:51</time>
15
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="econda.xml" hash="cbb5b0bc56602498ea5fc0af88a847ab"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="econda.xml" hash="7997011c0987fd24178f27f2c9a89fc4"/></dir><dir name="template"><dir name="econda"><file name="tracker.phtml" hash="5515312a89fa5529c22b76bfe0396fa8"/><file name="trackerop.phtml" hash="dba2f8f060c7fdbffad02f13f518f95f"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_AT"><file name="Mage_Econda.csv" hash="cf3aeac031057a2e42d3e5dbb41ccf2f"/></dir><dir name="de_CH"><file name="Mage_Econda.csv" hash="cf3aeac031057a2e42d3e5dbb41ccf2f"/></dir><dir name="de_DE"><file name="Mage_Econda.csv" hash="cf3aeac031057a2e42d3e5dbb41ccf2f"/></dir><dir name="en_US"><file name="Mage_Econda.csv" hash="9868c857164cf016232e8d75a6299501"/></dir></target><target name="mageweb"><dir name="js"><dir name="tracker"><file name="emosop.js" hash="ffedf0cf5e271d4e984ac6135cbfe2b8"/></dir></dir></target><target name="magelocal"><dir name="Mage"><dir name="Econda"><dir name="Block"><file name="Econda.php" hash="4e42c947fd75d52cd235853cc2a685b5"/><file name="emos.php" hash="ce0028bd1b9230ab7e10df24e957a07a"/><file name="emos_org.php" hash="ce0028bd1b9230ab7e10df24e957a07a"/><dir name="Adminhtml"><file name="Econda.php" hash="dfe2f3270e832a0f9952e262a26a12ee"/><file name="Tracker.php" hash="9a8820c2f5d1b105dfeb023926e0d368"/><dir name="Econda"><file name="Edit.php" hash="43a19bcffd20b3e4c4b497503f7adf2a"/><file name="Grid.php" hash="d92771738a4e196a9ebb255e94e5c8eb"/><dir name="Edit"><file name="Form.php" hash="8e765540fc4aaaf487cbc976b74147bc"/><file name="Tabs.php" hash="86e7ac45dfaa6ac89e30c709f5311538"/><dir name="Tab"><file name="Form.php" hash="eb9530cada5105bf190b927b970744b7"/></dir></dir></dir><dir name="Tracker"><file name="Edit.php" hash="c0496415a5f1d0021b1d2d2313ed0eff"/><file name="Grid.php" hash="3318d472ac71cce739696b287cb81557"/><dir name="Edit"><file name="Form.php" hash="f292fa68f4782eadcac34d757fdce073"/><file name="Tabs.php" hash="c02f68b55b22d77158b841c89af5b230"/><dir name="Tab"><file name="Form.php" hash="3f463742e5f9c61e88c929c70502bf22"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="253cbb1316220834b9c6222792e59fc4"/><dir name="Adminhtml"><file name="EcondaController.php" hash="8dad3d7cb5ec59fadc5bb1ba5aafae14"/><file name="TrackerController.php" hash="12fdf5c3b1c9ca04cc899faf3272a3e0"/></dir></dir><dir name="etc"><file name="config.xml" hash="cf8f3fd51d329c4569281ab6ea428856"/><file name="system.xml" hash="30b602a82960bca4e3c0c50f77491cc5"/></dir><dir name="Helper"><file name="Data.php" hash="a2e8e8cc0b42886d8e7fdf6239ac5180"/></dir><dir name="Language"><file name="english.php" hash="d0fa9b08a9cfb9e7c5e8003a5839a22f"/><file name="german.php" hash="d181289a8024e2b4d9f69150fad54ddc"/></dir><dir name="Model"><file name="Econda.php" hash="2129423b43edaa5ad86ca1ce2925f4d5"/><file name="Status.php" hash="8c73ee6feba08a3a9c9cf73105751cbd"/><dir name="Mysql4"><file name="Econda.php" hash="9e3244467bdb6bef7519e90c7b8b9dd8"/><file name="Tracker.php" hash="d0493cdc60d3b3fd7d3e548480641823"/><dir name="Econda"><file name="Collection.php" hash="78207d4301d2d3b6a63121f8b57ae989"/></dir><dir name="Tracker"><file name="Collection.php" hash="411183409afca6ec33aff08fa4884d0f"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Billing.php" hash="13b88fbca03555fc6e5ac8ce82cb0b63"/><file name="Language.php" hash="47d570575b7251fb0f022add31210de1"/><file name="Tracking.php" hash="0040d7a07d501751b8d589d25d98c99d"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Econda.xml" hash="4857a6367896368610cda11f31de2822"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Econda</name>
4
+ <version>1.1.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/bsd-license.php">BSD</license>
7
  <channel>community</channel>
10
  <description>Bindet econda Web Controlling in Magento ein. Weitere Informationen unter http://www.econda.de. Inserts econda Web Contolling into Magento. For further information visit http://www.econda.de/</description>
11
  <notes>Release for econda Web Controlling functions.</notes>
12
  <authors><author><name>ecdev</name><user>auto-converted</user><email>bebop30@gmx.net</email></author></authors>
13
+ <date>2010-06-10</date>
14
+ <time>11:49:11</time>
15
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="econda.xml" hash="cbb5b0bc56602498ea5fc0af88a847ab"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="econda.xml" hash="78b79b11372bcad10d2878de1e37e940"/></dir><dir name="template"><dir name="econda"><file name="tracker.phtml" hash="bcfc890d1f3629c9d5b257a4db25bdc3"/><file name="trackerms.phtml" hash="211ec314e674bf87688e4ee2f12c1cec"/><file name="trackerop.phtml" hash="7d20735fe9764a927e804f238558e0f9"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_AT"><file name="Mage_Econda.csv" hash="bfba4d67b0d62c47a26aeb404f40b17c"/></dir><dir name="de_CH"><file name="Mage_Econda.csv" hash="bfba4d67b0d62c47a26aeb404f40b17c"/></dir><dir name="de_DE"><file name="Mage_Econda.csv" hash="bfba4d67b0d62c47a26aeb404f40b17c"/></dir><dir name="en_US"><file name="Mage_Econda.csv" hash="64d8975467674af7f73ad538073e5a51"/></dir></target><target name="mageweb"><dir name="js"><dir name="tracker"><file name="emosop.js" hash="ffedf0cf5e271d4e984ac6135cbfe2b8"/></dir></dir></target><target name="magelocal"><dir name="Mage"><dir name="Econda"><dir name="Block"><file name="Econda.php" hash="04ef553d127b271c9e8edf74b5428b02"/><file name="emos.php" hash="ce0028bd1b9230ab7e10df24e957a07a"/><dir name="Adminhtml"><file name="Econda.php" hash="dfe2f3270e832a0f9952e262a26a12ee"/><file name="Tracker.php" hash="9a8820c2f5d1b105dfeb023926e0d368"/><dir name="Econda"><file name="Edit.php" hash="43a19bcffd20b3e4c4b497503f7adf2a"/><file name="Grid.php" hash="d92771738a4e196a9ebb255e94e5c8eb"/><dir name="Edit"><file name="Form.php" hash="8e765540fc4aaaf487cbc976b74147bc"/><file name="Tabs.php" hash="86e7ac45dfaa6ac89e30c709f5311538"/><dir name="Tab"><file name="Form.php" hash="eb9530cada5105bf190b927b970744b7"/></dir></dir></dir><dir name="Tracker"><file name="Edit.php" hash="c0496415a5f1d0021b1d2d2313ed0eff"/><file name="Grid.php" hash="3318d472ac71cce739696b287cb81557"/><dir name="Edit"><file name="Form.php" hash="f292fa68f4782eadcac34d757fdce073"/><file name="Tabs.php" hash="c02f68b55b22d77158b841c89af5b230"/><dir name="Tab"><file name="Form.php" hash="3f463742e5f9c61e88c929c70502bf22"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="253cbb1316220834b9c6222792e59fc4"/><dir name="Adminhtml"><file name="EcondaController.php" hash="8dad3d7cb5ec59fadc5bb1ba5aafae14"/><file name="TrackerController.php" hash="12fdf5c3b1c9ca04cc899faf3272a3e0"/></dir></dir><dir name="etc"><file name="config.xml" hash="4ca574b6f296c9a6a59bc8f9dba27421"/><file name="system.xml" hash="0374fe72e57873f8be4b4fba6cdc9adb"/></dir><dir name="Helper"><file name="Data.php" hash="a2e8e8cc0b42886d8e7fdf6239ac5180"/></dir><dir name="Language"><file name="english.php" hash="d0fa9b08a9cfb9e7c5e8003a5839a22f"/><file name="german.php" hash="d181289a8024e2b4d9f69150fad54ddc"/></dir><dir name="Model"><file name="Econda.php" hash="2129423b43edaa5ad86ca1ce2925f4d5"/><file name="Status.php" hash="8c73ee6feba08a3a9c9cf73105751cbd"/><dir name="Mysql4"><file name="Econda.php" hash="9e3244467bdb6bef7519e90c7b8b9dd8"/><file name="Tracker.php" hash="d0493cdc60d3b3fd7d3e548480641823"/><dir name="Econda"><file name="Collection.php" hash="78207d4301d2d3b6a63121f8b57ae989"/></dir><dir name="Tracker"><file name="Collection.php" hash="411183409afca6ec33aff08fa4884d0f"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Billing.php" hash="13b88fbca03555fc6e5ac8ce82cb0b63"/><file name="Language.php" hash="47d570575b7251fb0f022add31210de1"/><file name="Siteid.php" hash="8d9b69845dd851a60e16ed7e38574720"/><file name="Tracking.php" hash="0040d7a07d501751b8d589d25d98c99d"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Econda.xml" hash="4857a6367896368610cda11f31de2822"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>