Version Notes
If you have ideas for improvements or find bugs, please send them to Franck Charpentier at www.auguria.net, with Auguria LastReviews as part of the subject line.
Download this release
Release Info
Developer | Auguria |
Extension | Auguria_Sponsorship |
Version | 1.2.7 |
Comparing to | |
See all releases |
Code changes from version 1.2.6 to 1.2.7
- app/code/community/Auguria/Sponsorship/Helper/Config.php +59 -59
- app/code/community/Auguria/Sponsorship/Helper/Data.php +22 -4
- app/code/community/Auguria/Sponsorship/Lib/OpenInviter/config.php +15 -17
- app/code/community/Auguria/Sponsorship/Model/Observer.php +117 -97
- app/code/community/Auguria/Sponsorship/Model/Total/Quote/Discount.php +1 -1
- app/code/community/Auguria/Sponsorship/controllers/PointsController.php +6 -2
- app/code/community/Auguria/Sponsorship/etc/config.xml +18 -9
- app/code/community/Auguria/Sponsorship/sql/auguria_sponsorship_setup/mysql4-install-0.1.0.php +3 -2
- app/design/frontend/base/default/layout/auguria/sponsorship.xml +9 -7
- app/locale/de_DE/template/email/auguria/sponsorship/sponsorship_notification.html +73 -0
- app/locale/en_US/template/email/auguria/sponsorship/sponsorship_notification.html +73 -0
- app/locale/es_ES/template/email/auguria/sponsorship/sponsorship_notification.html +73 -0
- app/locale/fr_FR/Auguria_Sponsorship.csv +1 -0
- media/sponsorship/openinviter/fleurs jaune.jpg +0 -0
- media/sponsorship/openinviter/google.png +0 -0
- package.xml +7 -7
app/code/community/Auguria/Sponsorship/Helper/Config.php
CHANGED
@@ -15,7 +15,7 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
15 |
{
|
16 |
return Mage::getStoreConfig('auguria_sponsorship/general/module_mode');
|
17 |
}
|
18 |
-
|
19 |
public function getPointsTypes()
|
20 |
{
|
21 |
$types = Array();
|
@@ -31,7 +31,7 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
31 |
}
|
32 |
return $types;
|
33 |
}
|
34 |
-
|
35 |
/**
|
36 |
* Check if fidelity mode is activated (accumulated not included)
|
37 |
* @return boolean
|
@@ -45,7 +45,7 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
45 |
}
|
46 |
return false;
|
47 |
}
|
48 |
-
|
49 |
/**
|
50 |
* Check if sponsorship mode is activated (accumulated not included)
|
51 |
* @return boolean
|
@@ -59,7 +59,7 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
59 |
}
|
60 |
return false;
|
61 |
}
|
62 |
-
|
63 |
/**
|
64 |
* Check if accumulated mode is activated
|
65 |
* @return boolean
|
@@ -72,7 +72,7 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
72 |
}
|
73 |
return false;
|
74 |
}
|
75 |
-
|
76 |
/**
|
77 |
* Get points validity from configuration depending on mode
|
78 |
* @param string $mode
|
@@ -84,7 +84,7 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
84 |
if ($mode==null) {
|
85 |
$mode = $this->getModuleMode();
|
86 |
}
|
87 |
-
|
88 |
if ($mode=='accumulated') {
|
89 |
$config['accumulated'] = Mage::getStoreConfig('auguria_sponsorship/accumulated/points_validity');
|
90 |
}
|
@@ -100,40 +100,40 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
100 |
}
|
101 |
return $config;
|
102 |
}
|
103 |
-
|
104 |
public function getFidelityPointsValidity($mode=null)
|
105 |
{
|
106 |
if ($mode==null) {
|
107 |
$mode = $this->getModuleMode();
|
108 |
}
|
109 |
-
|
110 |
if ($mode=='accumulated') {
|
111 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/points_validity');
|
112 |
}
|
113 |
elseif ($mode=='separated'
|
114 |
|| $mode=='fidelity') {
|
115 |
return Mage::getStoreConfig('auguria_sponsorship/fidelity/points_validity');
|
116 |
-
}
|
117 |
return 0;
|
118 |
}
|
119 |
-
|
120 |
public function getSponsorshipPointsValidity($mode=null)
|
121 |
{
|
122 |
if ($mode==null) {
|
123 |
$mode = $this->getModuleMode();
|
124 |
}
|
125 |
-
|
126 |
if ($mode=='accumulated') {
|
127 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/points_validity');
|
128 |
}
|
129 |
elseif ($mode=='separated'
|
130 |
|| $mode=='sponsorship') {
|
131 |
return Mage::getStoreConfig('auguria_sponsorship/sponsor/points_validity');
|
132 |
-
}
|
133 |
return 0;
|
134 |
}
|
135 |
-
|
136 |
-
|
137 |
/**
|
138 |
* Get points to cash value from configuration depending on mode
|
139 |
* @param string $mode
|
@@ -160,7 +160,7 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
160 |
}
|
161 |
return $config;
|
162 |
}
|
163 |
-
|
164 |
/**
|
165 |
* Check if cart exchange is activated depending on module mode
|
166 |
* @param string $mode
|
@@ -187,13 +187,13 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
187 |
}
|
188 |
return $activated;
|
189 |
}
|
190 |
-
|
191 |
public function isInvitAllowedWithoutOrder($mode=null)
|
192 |
{
|
193 |
if ($mode==null) {
|
194 |
$mode = $this->getModuleMode();
|
195 |
}
|
196 |
-
|
197 |
if ($mode=='accumulated') {
|
198 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/optional_order');
|
199 |
}
|
@@ -203,7 +203,7 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
203 |
}
|
204 |
return 0;
|
205 |
}
|
206 |
-
|
207 |
/**
|
208 |
* Get sponsorship percent from configuration depending on module mode
|
209 |
* @param string $mode
|
@@ -214,17 +214,17 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
214 |
if ($mode==null) {
|
215 |
$mode = $this->getModuleMode();
|
216 |
}
|
217 |
-
|
218 |
if ($mode=='accumulated') {
|
219 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/sponsor_percent');
|
220 |
}
|
221 |
elseif ($mode=='sponsorship'
|
222 |
|| $mode=='separated') {
|
223 |
-
return Mage::getStoreConfig('auguria_sponsorship/sponsor/sponsor_percent');
|
224 |
}
|
225 |
return 0;
|
226 |
}
|
227 |
-
|
228 |
|
229 |
/**
|
230 |
* Check if invit registred users is allowed
|
@@ -236,17 +236,17 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
236 |
if ($mode==null) {
|
237 |
$mode = $this->getModuleMode();
|
238 |
}
|
239 |
-
|
240 |
if ($mode=='accumulated') {
|
241 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/allow_invit_registred_users');
|
242 |
}
|
243 |
elseif ($mode=='sponsorship'
|
244 |
|| $mode=='separated') {
|
245 |
-
return Mage::getStoreConfig('auguria_sponsorship/sponsor/allow_invit_registred_users');
|
246 |
}
|
247 |
return 0;
|
248 |
}
|
249 |
-
|
250 |
/**
|
251 |
* Get points earned for subscription to the newsletter depending on module mode
|
252 |
* @param string $mode
|
@@ -257,17 +257,17 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
257 |
if ($mode==null) {
|
258 |
$mode = $this->getModuleMode();
|
259 |
}
|
260 |
-
|
261 |
if ($mode=='accumulated') {
|
262 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/newsletter_points');
|
263 |
}
|
264 |
elseif ($mode=='fidelity'
|
265 |
|| $mode=='separated') {
|
266 |
-
return Mage::getStoreConfig('auguria_sponsorship/fidelity/newsletter_points');
|
267 |
}
|
268 |
return 0;
|
269 |
}
|
270 |
-
|
271 |
/**
|
272 |
* Get points earned for first order depending on module mode
|
273 |
* @param string $mode
|
@@ -278,17 +278,17 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
278 |
if ($mode==null) {
|
279 |
$mode = $this->getModuleMode();
|
280 |
}
|
281 |
-
|
282 |
if ($mode=='accumulated') {
|
283 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/first_order_points');
|
284 |
}
|
285 |
elseif ($mode=='fidelity'
|
286 |
|| $mode=='separated') {
|
287 |
-
return Mage::getStoreConfig('auguria_sponsorship/fidelity/first_order_points');
|
288 |
}
|
289 |
return 0;
|
290 |
}
|
291 |
-
|
292 |
/**
|
293 |
* Get points earned for first order depending on module mode
|
294 |
* @param string $mode
|
@@ -299,18 +299,18 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
299 |
if ($mode==null) {
|
300 |
$mode = $this->getModuleMode();
|
301 |
}
|
302 |
-
|
303 |
if ($mode=='accumulated') {
|
304 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/godson_first_order_points');
|
305 |
}
|
306 |
-
elseif ($mode=='
|
307 |
|| $mode=='separated') {
|
308 |
-
return Mage::getStoreConfig('auguria_sponsorship/sponsor/godson_first_order_points');
|
309 |
}
|
310 |
return 0;
|
311 |
}
|
312 |
-
|
313 |
-
|
314 |
/**
|
315 |
* Get sponsorship max levels from configuration depending on module mode
|
316 |
* @param string $mode
|
@@ -321,19 +321,19 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
321 |
if ($mode==null) {
|
322 |
$mode = $this->getModuleMode();
|
323 |
}
|
324 |
-
|
325 |
if ($mode=='accumulated') {
|
326 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/sponsor_levels');
|
327 |
}
|
328 |
elseif ($mode=='sponsorship'
|
329 |
|| $mode=='separated') {
|
330 |
-
return Mage::getStoreConfig('auguria_sponsorship/sponsor/sponsor_levels');
|
331 |
}
|
332 |
return 0;
|
333 |
}
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
/**
|
338 |
* Check if sponsorship notification is enabled depending on module mode
|
339 |
* @param string $mode
|
@@ -344,17 +344,17 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
344 |
if ($mode==null) {
|
345 |
$mode = $this->getModuleMode();
|
346 |
}
|
347 |
-
|
348 |
if ($mode=='accumulated') {
|
349 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/notification_enabled');
|
350 |
}
|
351 |
elseif ($mode=='sponsorship'
|
352 |
|| $mode=='separated') {
|
353 |
-
return Mage::getStoreConfig('auguria_sponsorship/sponsor/notification_enabled');
|
354 |
}
|
355 |
return false;
|
356 |
}
|
357 |
-
|
358 |
/**
|
359 |
* Check if sponsorship notification is enabled depending on module mode
|
360 |
* @param string $mode
|
@@ -365,17 +365,17 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
365 |
if ($mode==null) {
|
366 |
$mode = $this->getModuleMode();
|
367 |
}
|
368 |
-
|
369 |
if ($mode=='accumulated') {
|
370 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/notification');
|
371 |
}
|
372 |
elseif ($mode=='sponsorship'
|
373 |
|| $mode=='separated') {
|
374 |
-
return Mage::getStoreConfig('auguria_sponsorship/sponsor/notification');
|
375 |
}
|
376 |
return false;
|
377 |
}
|
378 |
-
|
379 |
/**
|
380 |
* Get sponsorship invitation validity depending on module mode
|
381 |
* @param string $mode
|
@@ -383,56 +383,56 @@ class Auguria_Sponsorship_Helper_Config extends Mage_Core_Helper_Abstract
|
|
383 |
*/
|
384 |
public function getInvitationValidity()
|
385 |
{
|
386 |
-
|
387 |
return Mage::getStoreConfig('auguria_sponsorship/invitation/sponsor_invitation_validity');
|
388 |
}
|
389 |
-
|
390 |
public function cancelFidelityEarnedPointsOnCreditMemo($mode=null)
|
391 |
{
|
392 |
if ($mode==null) {
|
393 |
$mode = $this->getModuleMode();
|
394 |
}
|
395 |
-
|
396 |
if ($mode=='accumulated') {
|
397 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/cancel_earned_points');
|
398 |
}
|
399 |
elseif ($mode=='fidelity'
|
400 |
|| $mode=='separated') {
|
401 |
-
return Mage::getStoreConfig('auguria_sponsorship/fidelity/cancel_earned_points');
|
402 |
}
|
403 |
return false;
|
404 |
-
|
405 |
}
|
406 |
-
|
407 |
public function cancelSponsorshipEarnedPointsOnCreditMemo($mode=null)
|
408 |
{
|
409 |
if ($mode==null) {
|
410 |
$mode = $this->getModuleMode();
|
411 |
}
|
412 |
-
|
413 |
if ($mode=='accumulated') {
|
414 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/cancel_earned_points');
|
415 |
}
|
416 |
elseif ($mode=='sponsorship'
|
417 |
|| $mode=='separated') {
|
418 |
-
return Mage::getStoreConfig('auguria_sponsorship/sponsor/cancel_earned_points');
|
419 |
}
|
420 |
return false;
|
421 |
-
|
422 |
}
|
423 |
-
|
424 |
public function cancelUsedPointsOnCreditMemo($type)
|
425 |
{
|
426 |
if ($type=='accumulated') {
|
427 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/cancel_cart_points');
|
428 |
}
|
429 |
elseif ($type=='sponsorship') {
|
430 |
-
return Mage::getStoreConfig('auguria_sponsorship/sponsor/cancel_cart_points');
|
431 |
}
|
432 |
elseif ($type=='fidelity') {
|
433 |
-
return Mage::getStoreConfig('auguria_sponsorship/fidelity/cancel_cart_points');
|
434 |
}
|
435 |
return false;
|
436 |
-
|
437 |
}
|
438 |
}
|
15 |
{
|
16 |
return Mage::getStoreConfig('auguria_sponsorship/general/module_mode');
|
17 |
}
|
18 |
+
|
19 |
public function getPointsTypes()
|
20 |
{
|
21 |
$types = Array();
|
31 |
}
|
32 |
return $types;
|
33 |
}
|
34 |
+
|
35 |
/**
|
36 |
* Check if fidelity mode is activated (accumulated not included)
|
37 |
* @return boolean
|
45 |
}
|
46 |
return false;
|
47 |
}
|
48 |
+
|
49 |
/**
|
50 |
* Check if sponsorship mode is activated (accumulated not included)
|
51 |
* @return boolean
|
59 |
}
|
60 |
return false;
|
61 |
}
|
62 |
+
|
63 |
/**
|
64 |
* Check if accumulated mode is activated
|
65 |
* @return boolean
|
72 |
}
|
73 |
return false;
|
74 |
}
|
75 |
+
|
76 |
/**
|
77 |
* Get points validity from configuration depending on mode
|
78 |
* @param string $mode
|
84 |
if ($mode==null) {
|
85 |
$mode = $this->getModuleMode();
|
86 |
}
|
87 |
+
|
88 |
if ($mode=='accumulated') {
|
89 |
$config['accumulated'] = Mage::getStoreConfig('auguria_sponsorship/accumulated/points_validity');
|
90 |
}
|
100 |
}
|
101 |
return $config;
|
102 |
}
|
103 |
+
|
104 |
public function getFidelityPointsValidity($mode=null)
|
105 |
{
|
106 |
if ($mode==null) {
|
107 |
$mode = $this->getModuleMode();
|
108 |
}
|
109 |
+
|
110 |
if ($mode=='accumulated') {
|
111 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/points_validity');
|
112 |
}
|
113 |
elseif ($mode=='separated'
|
114 |
|| $mode=='fidelity') {
|
115 |
return Mage::getStoreConfig('auguria_sponsorship/fidelity/points_validity');
|
116 |
+
}
|
117 |
return 0;
|
118 |
}
|
119 |
+
|
120 |
public function getSponsorshipPointsValidity($mode=null)
|
121 |
{
|
122 |
if ($mode==null) {
|
123 |
$mode = $this->getModuleMode();
|
124 |
}
|
125 |
+
|
126 |
if ($mode=='accumulated') {
|
127 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/points_validity');
|
128 |
}
|
129 |
elseif ($mode=='separated'
|
130 |
|| $mode=='sponsorship') {
|
131 |
return Mage::getStoreConfig('auguria_sponsorship/sponsor/points_validity');
|
132 |
+
}
|
133 |
return 0;
|
134 |
}
|
135 |
+
|
136 |
+
|
137 |
/**
|
138 |
* Get points to cash value from configuration depending on mode
|
139 |
* @param string $mode
|
160 |
}
|
161 |
return $config;
|
162 |
}
|
163 |
+
|
164 |
/**
|
165 |
* Check if cart exchange is activated depending on module mode
|
166 |
* @param string $mode
|
187 |
}
|
188 |
return $activated;
|
189 |
}
|
190 |
+
|
191 |
public function isInvitAllowedWithoutOrder($mode=null)
|
192 |
{
|
193 |
if ($mode==null) {
|
194 |
$mode = $this->getModuleMode();
|
195 |
}
|
196 |
+
|
197 |
if ($mode=='accumulated') {
|
198 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/optional_order');
|
199 |
}
|
203 |
}
|
204 |
return 0;
|
205 |
}
|
206 |
+
|
207 |
/**
|
208 |
* Get sponsorship percent from configuration depending on module mode
|
209 |
* @param string $mode
|
214 |
if ($mode==null) {
|
215 |
$mode = $this->getModuleMode();
|
216 |
}
|
217 |
+
|
218 |
if ($mode=='accumulated') {
|
219 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/sponsor_percent');
|
220 |
}
|
221 |
elseif ($mode=='sponsorship'
|
222 |
|| $mode=='separated') {
|
223 |
+
return Mage::getStoreConfig('auguria_sponsorship/sponsor/sponsor_percent');
|
224 |
}
|
225 |
return 0;
|
226 |
}
|
227 |
+
|
228 |
|
229 |
/**
|
230 |
* Check if invit registred users is allowed
|
236 |
if ($mode==null) {
|
237 |
$mode = $this->getModuleMode();
|
238 |
}
|
239 |
+
|
240 |
if ($mode=='accumulated') {
|
241 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/allow_invit_registred_users');
|
242 |
}
|
243 |
elseif ($mode=='sponsorship'
|
244 |
|| $mode=='separated') {
|
245 |
+
return Mage::getStoreConfig('auguria_sponsorship/sponsor/allow_invit_registred_users');
|
246 |
}
|
247 |
return 0;
|
248 |
}
|
249 |
+
|
250 |
/**
|
251 |
* Get points earned for subscription to the newsletter depending on module mode
|
252 |
* @param string $mode
|
257 |
if ($mode==null) {
|
258 |
$mode = $this->getModuleMode();
|
259 |
}
|
260 |
+
|
261 |
if ($mode=='accumulated') {
|
262 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/newsletter_points');
|
263 |
}
|
264 |
elseif ($mode=='fidelity'
|
265 |
|| $mode=='separated') {
|
266 |
+
return Mage::getStoreConfig('auguria_sponsorship/fidelity/newsletter_points');
|
267 |
}
|
268 |
return 0;
|
269 |
}
|
270 |
+
|
271 |
/**
|
272 |
* Get points earned for first order depending on module mode
|
273 |
* @param string $mode
|
278 |
if ($mode==null) {
|
279 |
$mode = $this->getModuleMode();
|
280 |
}
|
281 |
+
|
282 |
if ($mode=='accumulated') {
|
283 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/first_order_points');
|
284 |
}
|
285 |
elseif ($mode=='fidelity'
|
286 |
|| $mode=='separated') {
|
287 |
+
return Mage::getStoreConfig('auguria_sponsorship/fidelity/first_order_points');
|
288 |
}
|
289 |
return 0;
|
290 |
}
|
291 |
+
|
292 |
/**
|
293 |
* Get points earned for first order depending on module mode
|
294 |
* @param string $mode
|
299 |
if ($mode==null) {
|
300 |
$mode = $this->getModuleMode();
|
301 |
}
|
302 |
+
|
303 |
if ($mode=='accumulated') {
|
304 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/godson_first_order_points');
|
305 |
}
|
306 |
+
elseif ($mode=='sponsorship'
|
307 |
|| $mode=='separated') {
|
308 |
+
return Mage::getStoreConfig('auguria_sponsorship/sponsor/godson_first_order_points');
|
309 |
}
|
310 |
return 0;
|
311 |
}
|
312 |
+
|
313 |
+
|
314 |
/**
|
315 |
* Get sponsorship max levels from configuration depending on module mode
|
316 |
* @param string $mode
|
321 |
if ($mode==null) {
|
322 |
$mode = $this->getModuleMode();
|
323 |
}
|
324 |
+
|
325 |
if ($mode=='accumulated') {
|
326 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/sponsor_levels');
|
327 |
}
|
328 |
elseif ($mode=='sponsorship'
|
329 |
|| $mode=='separated') {
|
330 |
+
return Mage::getStoreConfig('auguria_sponsorship/sponsor/sponsor_levels');
|
331 |
}
|
332 |
return 0;
|
333 |
}
|
334 |
+
|
335 |
+
|
336 |
+
|
337 |
/**
|
338 |
* Check if sponsorship notification is enabled depending on module mode
|
339 |
* @param string $mode
|
344 |
if ($mode==null) {
|
345 |
$mode = $this->getModuleMode();
|
346 |
}
|
347 |
+
|
348 |
if ($mode=='accumulated') {
|
349 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/notification_enabled');
|
350 |
}
|
351 |
elseif ($mode=='sponsorship'
|
352 |
|| $mode=='separated') {
|
353 |
+
return Mage::getStoreConfig('auguria_sponsorship/sponsor/notification_enabled');
|
354 |
}
|
355 |
return false;
|
356 |
}
|
357 |
+
|
358 |
/**
|
359 |
* Check if sponsorship notification is enabled depending on module mode
|
360 |
* @param string $mode
|
365 |
if ($mode==null) {
|
366 |
$mode = $this->getModuleMode();
|
367 |
}
|
368 |
+
|
369 |
if ($mode=='accumulated') {
|
370 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/notification');
|
371 |
}
|
372 |
elseif ($mode=='sponsorship'
|
373 |
|| $mode=='separated') {
|
374 |
+
return Mage::getStoreConfig('auguria_sponsorship/sponsor/notification');
|
375 |
}
|
376 |
return false;
|
377 |
}
|
378 |
+
|
379 |
/**
|
380 |
* Get sponsorship invitation validity depending on module mode
|
381 |
* @param string $mode
|
383 |
*/
|
384 |
public function getInvitationValidity()
|
385 |
{
|
386 |
+
|
387 |
return Mage::getStoreConfig('auguria_sponsorship/invitation/sponsor_invitation_validity');
|
388 |
}
|
389 |
+
|
390 |
public function cancelFidelityEarnedPointsOnCreditMemo($mode=null)
|
391 |
{
|
392 |
if ($mode==null) {
|
393 |
$mode = $this->getModuleMode();
|
394 |
}
|
395 |
+
|
396 |
if ($mode=='accumulated') {
|
397 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/cancel_earned_points');
|
398 |
}
|
399 |
elseif ($mode=='fidelity'
|
400 |
|| $mode=='separated') {
|
401 |
+
return Mage::getStoreConfig('auguria_sponsorship/fidelity/cancel_earned_points');
|
402 |
}
|
403 |
return false;
|
404 |
+
|
405 |
}
|
406 |
+
|
407 |
public function cancelSponsorshipEarnedPointsOnCreditMemo($mode=null)
|
408 |
{
|
409 |
if ($mode==null) {
|
410 |
$mode = $this->getModuleMode();
|
411 |
}
|
412 |
+
|
413 |
if ($mode=='accumulated') {
|
414 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/cancel_earned_points');
|
415 |
}
|
416 |
elseif ($mode=='sponsorship'
|
417 |
|| $mode=='separated') {
|
418 |
+
return Mage::getStoreConfig('auguria_sponsorship/sponsor/cancel_earned_points');
|
419 |
}
|
420 |
return false;
|
421 |
+
|
422 |
}
|
423 |
+
|
424 |
public function cancelUsedPointsOnCreditMemo($type)
|
425 |
{
|
426 |
if ($type=='accumulated') {
|
427 |
return Mage::getStoreConfig('auguria_sponsorship/accumulated/cancel_cart_points');
|
428 |
}
|
429 |
elseif ($type=='sponsorship') {
|
430 |
+
return Mage::getStoreConfig('auguria_sponsorship/sponsor/cancel_cart_points');
|
431 |
}
|
432 |
elseif ($type=='fidelity') {
|
433 |
+
return Mage::getStoreConfig('auguria_sponsorship/fidelity/cancel_cart_points');
|
434 |
}
|
435 |
return false;
|
436 |
+
|
437 |
}
|
438 |
}
|
app/code/community/Auguria/Sponsorship/Helper/Data.php
CHANGED
@@ -147,6 +147,24 @@ class Auguria_Sponsorship_Helper_Data extends Mage_Core_Helper_Abstract
|
|
147 |
return $points;
|
148 |
}
|
149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
public function getFidelityPoints($customer=null)
|
151 |
{
|
152 |
if($customer==null){
|
@@ -316,21 +334,21 @@ class Auguria_Sponsorship_Helper_Data extends Mage_Core_Helper_Abstract
|
|
316 |
if($customer==null){
|
317 |
$customer = Mage::getSingleton('customer/session')->getCustomer();
|
318 |
}
|
319 |
-
$points = $this->
|
320 |
$mode = Mage::helper('auguria_sponsorship/config')->getModuleMode();
|
321 |
$pointsToCash = Mage::helper('auguria_sponsorship/config')->getPointsToCash($mode);
|
322 |
$cash = Array();
|
323 |
if ($mode=='accumulated') {
|
324 |
-
$cash['accumulated'] = (float)$pointsToCash['accumulated']*(
|
325 |
}
|
326 |
else {
|
327 |
if($mode=='separated'
|
328 |
|| $mode=='fidelity') {
|
329 |
-
$cash['fidelity'] = (float)$pointsToCash['fidelity']*(float)$
|
330 |
}
|
331 |
if($mode=='separated'
|
332 |
|| $mode=='sponsorship') {
|
333 |
-
$cash['sponsorship'] = (float)$pointsToCash['sponsorship']*(float)$
|
334 |
}
|
335 |
}
|
336 |
return $cash;
|
147 |
return $points;
|
148 |
}
|
149 |
|
150 |
+
public function getCustomerAvailablePoints()
|
151 |
+
{
|
152 |
+
$customerPoints = $this->getPoints();
|
153 |
+
$customerSessionPoints = Mage::getSingleton('customer/session')->getData('auguria_gift_points');
|
154 |
+
$availablePoints = Array();
|
155 |
+
if (count($customerPoints>0)) {
|
156 |
+
foreach ($customerPoints as $mode=>$points) {
|
157 |
+
if (isset($customerSessionPoints[$mode])) {
|
158 |
+
$availablePoints[$mode] = $points-(float)$customerSessionPoints[$mode];
|
159 |
+
}
|
160 |
+
else {
|
161 |
+
$availablePoints[$mode] = $points;
|
162 |
+
}
|
163 |
+
}
|
164 |
+
}
|
165 |
+
return $availablePoints;
|
166 |
+
}
|
167 |
+
|
168 |
public function getFidelityPoints($customer=null)
|
169 |
{
|
170 |
if($customer==null){
|
334 |
if($customer==null){
|
335 |
$customer = Mage::getSingleton('customer/session')->getCustomer();
|
336 |
}
|
337 |
+
$points = $this->getCustomerAvailablePoints();
|
338 |
$mode = Mage::helper('auguria_sponsorship/config')->getModuleMode();
|
339 |
$pointsToCash = Mage::helper('auguria_sponsorship/config')->getPointsToCash($mode);
|
340 |
$cash = Array();
|
341 |
if ($mode=='accumulated') {
|
342 |
+
$cash['accumulated'] = (float)$pointsToCash['accumulated']*(float)$points['accumulated'];
|
343 |
}
|
344 |
else {
|
345 |
if($mode=='separated'
|
346 |
|| $mode=='fidelity') {
|
347 |
+
$cash['fidelity'] = (float)$pointsToCash['fidelity']*(float)$points['fidelity'];
|
348 |
}
|
349 |
if($mode=='separated'
|
350 |
|| $mode=='sponsorship') {
|
351 |
+
$cash['sponsorship'] = (float)$pointsToCash['sponsorship']*(float)$points['sponsorship'];
|
352 |
}
|
353 |
}
|
354 |
return $cash;
|
app/code/community/Auguria/Sponsorship/Lib/OpenInviter/config.php
CHANGED
@@ -1,20 +1,18 @@
|
|
1 |
<?php
|
|
|
2 |
$openinviter_settings=array(
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
'message_body'=>"",
|
18 |
-
'message_subject'=>""
|
19 |
-
);
|
20 |
?>
|
1 |
<?php
|
2 |
+
|
3 |
$openinviter_settings=array(
|
4 |
+
"username"=>"",
|
5 |
+
"private_key"=>"",
|
6 |
+
"cookie_path"=>"/tmp",
|
7 |
+
"transport"=>"curl",
|
8 |
+
"local_debug"=>"on_error",
|
9 |
+
"remote_debug"=>"",
|
10 |
+
"hosted"=>"",
|
11 |
+
"proxies"=>array(),
|
12 |
+
"stats"=>"",
|
13 |
+
"plugins_cache_time"=>"1800",
|
14 |
+
"plugins_cache_file"=>"oi_plugins.php",
|
15 |
+
"update_files"=>true,
|
16 |
+
"stats_user"=>"",
|
17 |
+
"stats_password"=>"");
|
|
|
|
|
|
|
18 |
?>
|
app/code/community/Auguria/Sponsorship/Model/Observer.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
*/
|
8 |
class Auguria_Sponsorship_Model_Observer
|
9 |
-
{
|
10 |
/**
|
11 |
* Calcul total order points on sales_order_payment_pay event
|
12 |
* @param Varien_Event_Observer $observer
|
@@ -21,35 +21,35 @@ class Auguria_Sponsorship_Model_Observer
|
|
21 |
$moduleFidelity = Mage::helper('auguria_sponsorship/config')->isFidelityEnabled();
|
22 |
$moduleSponsor = Mage::helper('auguria_sponsorship/config')->isSponsorshipEnabled();
|
23 |
$moduleAccumulated = Mage::helper('auguria_sponsorship/config')->isAccumulatedEnabled();
|
24 |
-
|
25 |
if ($moduleFidelity==1||$moduleSponsor==1||$moduleAccumulated==1)
|
26 |
{
|
27 |
//récupération de la commande et des articles
|
28 |
$order = $observer->getInvoice()->getOrder();
|
29 |
$orderDate = $order->getUpdatedAt();
|
30 |
$orderId = $order->getEntityId();
|
31 |
-
|
32 |
//définition du client
|
33 |
$cId = $order->getCustomerId();
|
34 |
-
|
35 |
//definition du websiteid
|
36 |
$wId = $order->getStore()->getWebsiteId();
|
37 |
-
|
38 |
//definition du groupe du client
|
39 |
$customer = Mage::getModel('customer/customer')->load($cId);
|
40 |
$gId = $customer->getGroupId();
|
41 |
-
|
42 |
//definition du sponsor de premier niveau
|
43 |
$sponsorId = (int)$customer->getSponsor();
|
44 |
$sponsor = Mage::getModel('customer/customer')->load($sponsorId);
|
45 |
$special_rate = (int)$sponsor->getData('special_rate');
|
46 |
-
|
47 |
//variable de points
|
48 |
$tCatalogFidelityPoints=0;
|
49 |
$tCatalogSponsorPoints=0;
|
50 |
$tCartFidelityPoints=0;
|
51 |
$tCartSponsorPoints=0;
|
52 |
-
|
53 |
//calcul des points catalogue et mise à jour de lacommande pour chaque ligne
|
54 |
foreach ($order->getAllItems() as $item)
|
55 |
{
|
@@ -60,7 +60,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
60 |
$pId = $item->getData('product_id');
|
61 |
$qte = $item->getData('qty_ordered');
|
62 |
$data = $item->getData();
|
63 |
-
|
64 |
if ($moduleFidelity==1 || $moduleAccumulated==1)
|
65 |
{
|
66 |
//récupération et affectation des points catalog pour chaque article commandé
|
@@ -69,53 +69,53 @@ class Auguria_Sponsorship_Model_Observer
|
|
69 |
$catalogFidelityPoints = $catalogFidelityPoints*$qte;
|
70 |
//ajout des points aux items de commande
|
71 |
$data['catalog_fidelity_points'] = $catalogFidelityPoints;
|
72 |
-
|
73 |
//calcul du total de points catalogue
|
74 |
$tCatalogFidelityPoints = $tCatalogFidelityPoints+$catalogFidelityPoints;
|
75 |
-
|
76 |
//calcul du total de points panier
|
77 |
$tCartFidelityPoints = $tCartFidelityPoints+(float)$item->getCartFidelityPoints();
|
78 |
}
|
79 |
-
|
80 |
if (($moduleAccumulated==1 || $moduleSponsor==1) && $special_rate==0)
|
81 |
{
|
82 |
//récupération et affectation des points catalog pour chaque article commandé
|
83 |
$catalogSponsorPoints = $this->getRulePoints($date, $wId, $gId, $pId, 'sponsor');
|
84 |
-
|
85 |
//multiplication des points par la quantité
|
86 |
$catalogSponsorPoints = $catalogSponsorPoints*$qte;
|
87 |
-
|
88 |
//ajout des points aux items de commande
|
89 |
$data['catalog_sponsor_points'] = $catalogSponsorPoints;
|
90 |
//calcul du total de points catalogue
|
91 |
$tCatalogSponsorPoints = $tCatalogSponsorPoints+$catalogSponsorPoints;
|
92 |
-
|
93 |
//calcul du total de points panier
|
94 |
$tCartSponsorPoints = $tCartSponsorPoints+$item->getCartSponsorPoints();
|
95 |
}
|
96 |
//si un taux spécial est défini pour le parrain direct
|
97 |
elseif (($moduleAccumulated==1 || $moduleSponsor==1) && $special_rate!=0)
|
98 |
{
|
99 |
-
//Redéfinition du taux à appliquer dans la commande
|
100 |
//ajout des points aux items de commande
|
101 |
$data['catalog_sponsor_points'] = 0;
|
102 |
$specialratepoints = $item->getData('price')*$qte*$special_rate/100;
|
103 |
$data['cart_sponsor_points'] = $specialratepoints;
|
104 |
}
|
105 |
-
|
106 |
$item->setData($data);
|
107 |
$item->save();
|
108 |
}
|
109 |
}
|
110 |
-
|
111 |
$order->save();
|
112 |
-
|
113 |
//Ajout du total des points fidelite
|
114 |
if ($tCatalogFidelityPoints != 0 || $tCartFidelityPoints != 0 ) {
|
115 |
$this->_addFidelityPoints($customer, $tCatalogFidelityPoints+$tCartFidelityPoints, 'order', $orderId, $orderDate);
|
116 |
$customer->save();
|
117 |
}
|
118 |
-
|
119 |
//Ajout du total des points de parrainage si le parrain n'a pas de taux spécial
|
120 |
if (($tCatalogSponsorPoints != 0 || $tCartSponsorPoints != 0) && $special_rate==0) {
|
121 |
$this->_addSponsorPoints($sponsor, $customer, $tCatalogSponsorPoints+$tCartSponsorPoints, 'order', $orderId, $orderDate);
|
@@ -131,7 +131,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
131 |
Mage::log(Mage::helper('auguria_sponsorship')->__("An error occured while saving points : %s",$e->getMessage()));
|
132 |
}
|
133 |
}
|
134 |
-
|
135 |
/**
|
136 |
* Get catalog fidelity or sponsor points depends on $type
|
137 |
* @param date $date
|
@@ -218,7 +218,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
218 |
else {
|
219 |
$sponsor = Mage::helper('auguria_sponsorship')->addSponsorshipPoints($sponsor, $SPoints);
|
220 |
$sponsor->save();
|
221 |
-
|
222 |
//Save operation in logs table
|
223 |
$data = array(
|
224 |
'godson_id' => $godsonId,
|
@@ -229,10 +229,10 @@ class Auguria_Sponsorship_Model_Observer
|
|
229 |
'points' => $SPoints
|
230 |
);
|
231 |
$this->_addAuguriaSponsorshipLog($data);
|
232 |
-
|
233 |
//Send notification
|
234 |
$this->_sendSponsorNotification($sponsor, $godsonId, $SPoints, Mage::helper('auguria_sponsorship')->getSponsorshipPoints($sponsor));
|
235 |
-
|
236 |
//incrémentation des points à ajouter
|
237 |
$SPoints = ($SPoints*$ratio)/100;
|
238 |
//le parrain devient le filleul
|
@@ -242,11 +242,11 @@ class Auguria_Sponsorship_Model_Observer
|
|
242 |
}
|
243 |
}
|
244 |
}
|
245 |
-
|
246 |
/**
|
247 |
* Link customer with his sponsor on customer_save_before
|
248 |
* @param Array $observer
|
249 |
-
*/
|
250 |
public function setSponsorOnRegister($observer)
|
251 |
{
|
252 |
try
|
@@ -263,7 +263,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
263 |
Mage::log(Mage::helper('auguria_sponsorship')->__("An error occured while linking sponsor : %s",$e->getMessage()));
|
264 |
}
|
265 |
}
|
266 |
-
|
267 |
/**
|
268 |
* Link customer with his sponsor and update sponsor's sponsorship points validity
|
269 |
* @param Mage_Customer_Model_Customer $customer
|
@@ -284,7 +284,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
284 |
$cookie->delete('sponsorship_firstname');
|
285 |
$cookie->delete('sponsorship_lastname');
|
286 |
}
|
287 |
-
|
288 |
//update sponsor points validity
|
289 |
$sponsor = Mage::getModel('customer/customer')->load($sponsorId);
|
290 |
$validityType = '';
|
@@ -301,7 +301,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
301 |
}
|
302 |
}
|
303 |
}
|
304 |
-
|
305 |
/**
|
306 |
* Link customer with his sponsor on checkout_submit_all_after
|
307 |
* @param Array $observer
|
@@ -311,13 +311,13 @@ class Auguria_Sponsorship_Model_Observer
|
|
311 |
//checkout_type_onepage_save_order_after
|
312 |
$quote = $observer['quote'];
|
313 |
$order = $observer['order'];
|
314 |
-
|
315 |
if ($order) {
|
316 |
//if it's a new customer or if we allow to sponsor a registred user
|
317 |
if ($quote->getData('checkout_method') == Mage_Sales_Model_Quote::CHECKOUT_METHOD_REGISTER
|
318 |
|| Mage::helper('auguria_sponsorship/config')->isRegistredUsersInvitationAllowed() == 1) {
|
319 |
-
|
320 |
-
$customerId = $order->getCustomerId();
|
321 |
if ($customerId != '')
|
322 |
{
|
323 |
$customer = Mage::getModel("customer/customer")->load($customerId);
|
@@ -344,7 +344,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
344 |
try {
|
345 |
$sponsor = Mage::helper('auguria_sponsorship')->addSponsorshipPoints($sponsor, $specialratepoints);
|
346 |
$sponsor->save();
|
347 |
-
|
348 |
//save operation in logs
|
349 |
$data = array(
|
350 |
'godson_id' => $godson->getId(),
|
@@ -355,7 +355,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
355 |
'points' => (float)$specialratepoints
|
356 |
);
|
357 |
$this->_addAuguriaSponsorshipLog($data);
|
358 |
-
|
359 |
//Send notification to sponsor
|
360 |
$this->_sendSponsorNotification($sponsor, $godsonId, $pointsToAdd, $tSPoints);
|
361 |
}
|
@@ -364,7 +364,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
364 |
}
|
365 |
|
366 |
}
|
367 |
-
|
368 |
/**
|
369 |
* Create cookie to link customer with his sponsor
|
370 |
* @param Array() $observer
|
@@ -377,36 +377,36 @@ class Auguria_Sponsorship_Model_Observer
|
|
377 |
* base url / module / controller / action / parametres
|
378 |
* http://www.inkonso.com/cms/index/index/sponsor_id/x/nom/xxx/prenom/xxx/email/xxx
|
379 |
*/
|
380 |
-
$sponsorId = $controller->getRequest()->getParam('sponsor_id');
|
381 |
if ($sponsorId!='')
|
382 |
{
|
383 |
$nom = $controller->getRequest()->getParam('nom');
|
384 |
$prenom = $controller->getRequest()->getParam('prenom');
|
385 |
$email = $controller->getRequest()->getParam('email');
|
386 |
-
|
387 |
//stockage des variables dans la session
|
388 |
$session = Mage::getSingleton('core/session');
|
389 |
$session->setData('sponsor_id',$sponsorId);
|
390 |
$session->setData('firstname',$prenom);
|
391 |
$session->setData('lastname',$nom);
|
392 |
$session->setData('email',$email);
|
393 |
-
|
394 |
-
//stockage de l'id du parrain dans un cookie
|
395 |
$sponsorInvitationValidity = Mage::helper('auguria_sponsorship/config')->getInvitationValidity();
|
396 |
$period =3600*24*$sponsorInvitationValidity;
|
397 |
-
|
398 |
$cookie = Mage::getModel('core/cookie');
|
399 |
$cookie->set('sponsorship_id', $sponsorId, $period);
|
400 |
$cookie->set('sponsorship_firstname', $prenom, $period);
|
401 |
$cookie->set('sponsorship_lastname', $nom, $period);
|
402 |
$cookie->set('sponsorship_email', $email, $period);
|
403 |
-
|
404 |
-
$controller->getRequest()->setParam('sponsor_id', null);
|
405 |
}
|
406 |
}
|
407 |
-
|
408 |
/**
|
409 |
-
*
|
410 |
* Add fidelity points if customer subscribe to newletter while registration
|
411 |
* @param Varien_Event_Observer $observer
|
412 |
*/
|
@@ -435,9 +435,9 @@ class Auguria_Sponsorship_Model_Observer
|
|
435 |
Mage::log(Mage::helper('auguria_sponsorship')->__("An error occured while adding news letter points : %s",$e->getMessage()));
|
436 |
}
|
437 |
}
|
438 |
-
|
439 |
/**
|
440 |
-
*
|
441 |
* Add fidelity points to customer and sponsorship points to sponsor on first order
|
442 |
* @param Varien_Event_Observer $observer
|
443 |
*/
|
@@ -447,39 +447,39 @@ class Auguria_Sponsorship_Model_Observer
|
|
447 |
{
|
448 |
$godsonFirstOrderPoints = Mage::helper('auguria_sponsorship/config')->getFidelityFirstOrderPoints();
|
449 |
$sponsorFirstOrderPoints = Mage::helper('auguria_sponsorship/config')->getGodsonFirstOrderPoints();
|
450 |
-
|
451 |
//Check if we have to add points on first order
|
452 |
if ($godsonFirstOrderPoints>0 || $sponsorFirstOrderPoints>0)
|
453 |
{
|
454 |
$invoice = $observer->getInvoice();
|
455 |
$customerId = $invoice->getCustomerId();
|
456 |
-
|
457 |
//Get customer paid invoices
|
458 |
$invoices = Mage::getResourceModel('sales/order_invoice_collection');
|
459 |
$invoices->getSelect()->join(array('o'=>$invoices->getTable('sales/order')), 'main_table.order_id = o.entity_id','o.customer_id');
|
460 |
-
|
461 |
$invoices->addAttributeToSelect('state')
|
462 |
->addAttributeToFilter('o.customer_id', $customerId)
|
463 |
->addAttributeToFilter('main_table.state', Mage_Sales_Model_Order_Invoice::STATE_PAID);
|
464 |
-
|
465 |
if ($invoices->count() == 0)
|
466 |
-
{
|
467 |
$customer = Mage::getModel('customer/customer')->load($customerId);
|
468 |
-
|
469 |
//Add fidelity points to customer
|
470 |
if ($godsonFirstOrderPoints >0)
|
471 |
{
|
472 |
$this->_addFidelityPoints($customer, $godsonFirstOrderPoints, 'first', $invoice->getOrderId());
|
473 |
$customer->save();
|
474 |
}
|
475 |
-
|
476 |
//Add sponsorship points
|
477 |
$sponsorId = $customer->getSponsor();
|
478 |
if (isset($sponsorId) && $sponsorId>0 && $sponsorFirstOrderPoints>0)
|
479 |
{
|
480 |
$sponsor = Mage::getModel('customer/customer')->load($sponsorId);
|
481 |
$this->_addSponsorPoints($sponsor, $customer, $sponsorFirstOrderPoints, 'first', $invoice->getOrderId());
|
482 |
-
|
483 |
}
|
484 |
}
|
485 |
}
|
@@ -489,7 +489,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
489 |
Mage::log(Mage::helper('auguria_sponsorship')->__("An error occured while adding first order points :".$e->getMessage()));
|
490 |
}
|
491 |
}
|
492 |
-
|
493 |
/**
|
494 |
* Update sponsorship tab customer fields from adminhtml customer form on customer_save_before
|
495 |
* @param Varien_Event_Observer $observer
|
@@ -498,14 +498,14 @@ class Auguria_Sponsorship_Model_Observer
|
|
498 |
{
|
499 |
//@TODO check each parameters
|
500 |
$form = Mage::app()->getRequest()->getParam('sponsorship');
|
501 |
-
if (is_array($form) && !empty($form)) {
|
502 |
foreach ($form as $key=>$value) {
|
503 |
$observer->getCustomer()->setData($key, $value);
|
504 |
}
|
505 |
}
|
506 |
return $observer;
|
507 |
}
|
508 |
-
|
509 |
/**
|
510 |
* Insert log if points are modified on customer_save_after
|
511 |
* @param Varien_Event_Observer $observer
|
@@ -519,7 +519,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
519 |
foreach ($keys as $key) {
|
520 |
if ($customer->dataHasChangedFor($key)) {
|
521 |
$points = (float)$customer->getData($key) - (float)$customer->getOrigData($key);
|
522 |
-
$data = Array('points'=>$points,
|
523 |
'customer_id'=>$customer->getId(),
|
524 |
'record_type'=>'admin');
|
525 |
$this->_addAuguriaSponsorshipLog($data);
|
@@ -528,7 +528,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
528 |
}
|
529 |
}
|
530 |
}
|
531 |
-
|
532 |
/**
|
533 |
* Update sponsorship fields from frontend customer form on customer_save_before
|
534 |
* @param Varien_Event_Observer $observer
|
@@ -562,7 +562,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
562 |
}
|
563 |
}
|
564 |
/*Create action*/
|
565 |
-
else {
|
566 |
if ($sponsorId = Mage::helper("auguria_sponsorship")->searchSponsorId($customer->getEmail())) {
|
567 |
$customer->setData('sponsor',$sponsorId);
|
568 |
$cookie = Mage::getSingleton('core/cookie');
|
@@ -576,28 +576,28 @@ class Auguria_Sponsorship_Model_Observer
|
|
576 |
}
|
577 |
return $observer;
|
578 |
}
|
579 |
-
|
580 |
/**
|
581 |
* Send notification to sponsor when godson make him earn points
|
582 |
* @param Mage_Customer_Model_Customer $sponsor
|
583 |
* @param Int $godchildId
|
584 |
* @param Float $addedPoints
|
585 |
* @param Float $totalPoints
|
586 |
-
*/
|
587 |
protected function _sendSponsorNotification($sponsor, $godchildId, $addedPoints, $totalPoints)
|
588 |
-
{
|
589 |
if (Mage::helper('auguria_sponsorship/config')->isSponsorshipNotificationEnabled()==1) {
|
590 |
$godchild = Mage::getModel('customer/customer')->load($godchildId);
|
591 |
$mailTemplate = Mage::getModel('auguria_sponsorship/Core_Email_Template');
|
592 |
-
|
593 |
$sender_name = Mage::getStoreConfig('trans_email/ident_sales/name');
|
594 |
$sender_email = Mage::getStoreConfig('trans_email/ident_sales/email');
|
595 |
-
|
596 |
$subject = Mage::helper('auguria_sponsorship')->__('%s sponsor points', Mage::helper('auguria_sponsorship/mail')->getStoreName());
|
597 |
-
|
598 |
$sender = array("name"=>$sender_name, "email"=>$sender_email);
|
599 |
$recipient_email = $sponsor->getData('email');
|
600 |
-
|
601 |
$postObject = new Varien_Object();
|
602 |
$postObject->setData(Array ("sender_name" => $sender_name,
|
603 |
"sender_email" => $sender_email,
|
@@ -624,9 +624,9 @@ class Auguria_Sponsorship_Model_Observer
|
|
624 |
}
|
625 |
}
|
626 |
}
|
627 |
-
|
628 |
/**
|
629 |
-
* Remove points from customer account if auguria_sponsorship_discount is set
|
630 |
* on checkout_submit_all_after
|
631 |
* @param array $observer
|
632 |
*/
|
@@ -635,7 +635,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
635 |
$order = $observer['order'];
|
636 |
if ($order) {
|
637 |
if ((float)$order->getAuguriaSponsorshipDiscountAmount()<0) {
|
638 |
-
$customerId = $order->getCustomerId();
|
639 |
if ($customerId != '')
|
640 |
{
|
641 |
$pointsToCash = Mage::helper('auguria_sponsorship/config')->getPointsToCash();
|
@@ -652,7 +652,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
652 |
$orderSponsor = (float)$order->getAuguriaSponsorshipSponsorPointsUsed()/(float)$pointsToCash['sponsorship'];
|
653 |
}
|
654 |
$type = Array();
|
655 |
-
|
656 |
if ((float)$orderAccumulated > 0
|
657 |
||(float)$orderSponsor > 0
|
658 |
||(float)$orderFidelity > 0) {
|
@@ -683,17 +683,17 @@ class Auguria_Sponsorship_Model_Observer
|
|
683 |
$customer->setFidelityPoints($points);
|
684 |
$type['fidelity'] = $usedPoints;
|
685 |
}
|
686 |
-
}
|
687 |
$customer->save();
|
688 |
-
|
689 |
if ($usedPoints>0) {
|
690 |
-
$data = Array('points'=>-$usedPoints,
|
691 |
'customer_id'=>$customerId,
|
692 |
'record_type'=>'cart',
|
693 |
'record_id'=>$order->getId(),
|
694 |
'datetime'=>$order->getUpdatedAt());
|
695 |
$this->_addAuguriaSponsorshipLog($data);
|
696 |
-
|
697 |
if (count($type)>0) {
|
698 |
foreach($type as $key=>$points) {
|
699 |
$echange = Mage::getModel('auguria_sponsorship/change');
|
@@ -718,7 +718,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
718 |
}
|
719 |
}
|
720 |
}
|
721 |
-
|
722 |
/**
|
723 |
* Insert data in points logs table
|
724 |
* @param array $data
|
@@ -735,9 +735,9 @@ class Auguria_Sponsorship_Model_Observer
|
|
735 |
$log->save();
|
736 |
return true;
|
737 |
}
|
738 |
-
return false;
|
739 |
}
|
740 |
-
|
741 |
/**
|
742 |
* Add Auguria_Sponsorship points in quote according to defined rules on salesrule_validator_process event
|
743 |
* @param array(
|
@@ -756,14 +756,14 @@ class Auguria_Sponsorship_Model_Observer
|
|
756 |
$result = $observer['result'];
|
757 |
$address = $observer['address'];
|
758 |
$qty = $observer['qty'];
|
759 |
-
|
760 |
$rulePercent = min(100, $rule->getDiscountAmount());
|
761 |
$price = $item->getDiscountCalculationPrice();
|
762 |
$baseItemPrice = ($price !== null) ? $item->getBaseDiscountCalculationPrice() : $item->getBaseCalculationPrice();
|
763 |
-
|
764 |
$cartFidelityPoints = 0;
|
765 |
$cartSponsorPoints = 0;
|
766 |
-
|
767 |
switch ($rule->getSimpleAction()) {
|
768 |
case 'fidelity_points_by_fixed':
|
769 |
if ($step = $rule->getDiscountStep()) {
|
@@ -819,16 +819,16 @@ class Auguria_Sponsorship_Model_Observer
|
|
819 |
}
|
820 |
$result->setData('cart_fidelity_points',$cartFidelityPoints);
|
821 |
$result->setData('cart_sponsor_points',$cartSponsorPoints);
|
822 |
-
|
823 |
$cartFidelityPoints = max((float)$item->getCartFidelityPoints(), (float)$cartFidelityPoints);
|
824 |
$cartSponsorPoints = max((float)$item->getCartSponsorPoints(), (float)$cartSponsorPoints);
|
825 |
-
|
826 |
$item->setCartFidelityPoints($cartFidelityPoints);
|
827 |
$item->setCartSponsorPoints($cartSponsorPoints);
|
828 |
-
|
829 |
return $this;
|
830 |
}
|
831 |
-
|
832 |
/**
|
833 |
* Cancel used and gained points while credit memo creation using sales_order_creditmemo_save_before event
|
834 |
* @param array $observer
|
@@ -846,7 +846,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
846 |
//Cancel used points
|
847 |
//@TODO check credit memo sold the order ?
|
848 |
$this->_cancelUsedPoints($order);
|
849 |
-
|
850 |
//Remove winning points
|
851 |
//calcul fidelity points to remove and ratio for sponsorship points
|
852 |
$earnedFidelityPoints = 0;
|
@@ -858,10 +858,10 @@ class Auguria_Sponsorship_Model_Observer
|
|
858 |
if ($creditMemoItems->count()>0) {
|
859 |
foreach ($creditMemoItems as $creditmemoItem) {
|
860 |
$orderItem = $creditmemoItem->getOrderItem();
|
861 |
-
|
862 |
//fidelity points
|
863 |
$earnedFidelityPoints += (float)$orderItem->getCatalogFidelityPoints()+(float)$orderItem->getCartFidelityPoints();
|
864 |
-
$tmpFidelityPoints = (float)$orderItem->getCatalogFidelityPoints()+(float)$orderItem->getCartFidelityPoints();
|
865 |
if($orderItem->getQtyInvoiced()!=0) {
|
866 |
$tmpFidelityPoints = ($tmpFidelityPoints*$creditmemoItem->getQty())/$orderItem->getQtyInvoiced();
|
867 |
}
|
@@ -869,7 +869,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
869 |
|
870 |
//sponsorship points
|
871 |
$earnedSponsorPoints += (float)$orderItem->getCatalogSponsorPoints()+(float)$orderItem->getCartSponsorPoints();
|
872 |
-
$tmpSponsorPoints = (float)$orderItem->getCatalogSponsorPoints()+(float)$orderItem->getCartSponsorPoints();
|
873 |
if($orderItem->getQtyInvoiced()!=0) {
|
874 |
$tmpSponsorPoints = ($tmpSponsorPoints*$creditmemoItem->getQty())/$orderItem->getQtyInvoiced();
|
875 |
}
|
@@ -879,7 +879,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
879 |
$ratio = $backSponsorPoints/$earnedSponsorPoints;
|
880 |
}
|
881 |
}
|
882 |
-
|
883 |
//remove fidelity points
|
884 |
if ($backFidelityPoints>0) {
|
885 |
if (Mage::helper('auguria_sponsorship/config')->cancelFidelityEarnedPointsOnCreditMemo()){
|
@@ -898,12 +898,12 @@ class Auguria_Sponsorship_Model_Observer
|
|
898 |
$this->_addAuguriaSponsorshipLog($data);
|
899 |
}
|
900 |
}
|
901 |
-
|
902 |
//remove sponsorship points according to logs and applying ratio
|
903 |
-
if (Mage::helper('auguria_sponsorship/config')->cancelSponsorshipEarnedPointsOnCreditMemo()){
|
904 |
$collection = Mage::getResourceModel('auguria_sponsorship/log_collection')
|
905 |
->addFieldToFilter('record_type', 'order')
|
906 |
-
->addFieldToFilter('record_id', $order->getId());
|
907 |
if ($collection->count()>0){
|
908 |
foreach ($collection as $log) {
|
909 |
$points = 0;
|
@@ -915,7 +915,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
915 |
Mage::helper('auguria_sponsorship')->setSponsorshipPoints($customer, $points);
|
916 |
$customer->save();
|
917 |
}
|
918 |
-
|
919 |
if ($points>0) {
|
920 |
$data = array(
|
921 |
'godson_id' => $log->getGodsonId(),
|
@@ -931,7 +931,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
931 |
}
|
932 |
}
|
933 |
}
|
934 |
-
|
935 |
/**
|
936 |
* Cancel used points while on order cancellation
|
937 |
* As there is no event on cancellation we use sales_order_save_before event and we check status
|
@@ -946,7 +946,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
946 |
$this->_cancelUsedPoints($order);
|
947 |
}
|
948 |
}
|
949 |
-
|
950 |
/**
|
951 |
* Add to customer used points in an order and log it
|
952 |
* @param Mage_Sales_Model_Order $order
|
@@ -955,7 +955,7 @@ class Auguria_Sponsorship_Model_Observer
|
|
955 |
{
|
956 |
$customerId = $order->getCustomerId();
|
957 |
$customer = Mage::getModel('customer/customer')->load($customerId);
|
958 |
-
|
959 |
$usedPoints = Array();
|
960 |
$usedPoints['accumulated'] = $order->getAuguriaSponsorshipAccumulatedPointsUsed();
|
961 |
$usedPoints['sponsorship'] = $order->getAuguriaSponsorshipSponsorPointsUsed();
|
@@ -996,4 +996,24 @@ class Auguria_Sponsorship_Model_Observer
|
|
996 |
$this->_addAuguriaSponsorshipLog($data);
|
997 |
}
|
998 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
999 |
}
|
6 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
*/
|
8 |
class Auguria_Sponsorship_Model_Observer
|
9 |
+
{
|
10 |
/**
|
11 |
* Calcul total order points on sales_order_payment_pay event
|
12 |
* @param Varien_Event_Observer $observer
|
21 |
$moduleFidelity = Mage::helper('auguria_sponsorship/config')->isFidelityEnabled();
|
22 |
$moduleSponsor = Mage::helper('auguria_sponsorship/config')->isSponsorshipEnabled();
|
23 |
$moduleAccumulated = Mage::helper('auguria_sponsorship/config')->isAccumulatedEnabled();
|
24 |
+
|
25 |
if ($moduleFidelity==1||$moduleSponsor==1||$moduleAccumulated==1)
|
26 |
{
|
27 |
//récupération de la commande et des articles
|
28 |
$order = $observer->getInvoice()->getOrder();
|
29 |
$orderDate = $order->getUpdatedAt();
|
30 |
$orderId = $order->getEntityId();
|
31 |
+
|
32 |
//définition du client
|
33 |
$cId = $order->getCustomerId();
|
34 |
+
|
35 |
//definition du websiteid
|
36 |
$wId = $order->getStore()->getWebsiteId();
|
37 |
+
|
38 |
//definition du groupe du client
|
39 |
$customer = Mage::getModel('customer/customer')->load($cId);
|
40 |
$gId = $customer->getGroupId();
|
41 |
+
|
42 |
//definition du sponsor de premier niveau
|
43 |
$sponsorId = (int)$customer->getSponsor();
|
44 |
$sponsor = Mage::getModel('customer/customer')->load($sponsorId);
|
45 |
$special_rate = (int)$sponsor->getData('special_rate');
|
46 |
+
|
47 |
//variable de points
|
48 |
$tCatalogFidelityPoints=0;
|
49 |
$tCatalogSponsorPoints=0;
|
50 |
$tCartFidelityPoints=0;
|
51 |
$tCartSponsorPoints=0;
|
52 |
+
|
53 |
//calcul des points catalogue et mise à jour de lacommande pour chaque ligne
|
54 |
foreach ($order->getAllItems() as $item)
|
55 |
{
|
60 |
$pId = $item->getData('product_id');
|
61 |
$qte = $item->getData('qty_ordered');
|
62 |
$data = $item->getData();
|
63 |
+
|
64 |
if ($moduleFidelity==1 || $moduleAccumulated==1)
|
65 |
{
|
66 |
//récupération et affectation des points catalog pour chaque article commandé
|
69 |
$catalogFidelityPoints = $catalogFidelityPoints*$qte;
|
70 |
//ajout des points aux items de commande
|
71 |
$data['catalog_fidelity_points'] = $catalogFidelityPoints;
|
72 |
+
|
73 |
//calcul du total de points catalogue
|
74 |
$tCatalogFidelityPoints = $tCatalogFidelityPoints+$catalogFidelityPoints;
|
75 |
+
|
76 |
//calcul du total de points panier
|
77 |
$tCartFidelityPoints = $tCartFidelityPoints+(float)$item->getCartFidelityPoints();
|
78 |
}
|
79 |
+
|
80 |
if (($moduleAccumulated==1 || $moduleSponsor==1) && $special_rate==0)
|
81 |
{
|
82 |
//récupération et affectation des points catalog pour chaque article commandé
|
83 |
$catalogSponsorPoints = $this->getRulePoints($date, $wId, $gId, $pId, 'sponsor');
|
84 |
+
|
85 |
//multiplication des points par la quantité
|
86 |
$catalogSponsorPoints = $catalogSponsorPoints*$qte;
|
87 |
+
|
88 |
//ajout des points aux items de commande
|
89 |
$data['catalog_sponsor_points'] = $catalogSponsorPoints;
|
90 |
//calcul du total de points catalogue
|
91 |
$tCatalogSponsorPoints = $tCatalogSponsorPoints+$catalogSponsorPoints;
|
92 |
+
|
93 |
//calcul du total de points panier
|
94 |
$tCartSponsorPoints = $tCartSponsorPoints+$item->getCartSponsorPoints();
|
95 |
}
|
96 |
//si un taux spécial est défini pour le parrain direct
|
97 |
elseif (($moduleAccumulated==1 || $moduleSponsor==1) && $special_rate!=0)
|
98 |
{
|
99 |
+
//Redéfinition du taux à appliquer dans la commande
|
100 |
//ajout des points aux items de commande
|
101 |
$data['catalog_sponsor_points'] = 0;
|
102 |
$specialratepoints = $item->getData('price')*$qte*$special_rate/100;
|
103 |
$data['cart_sponsor_points'] = $specialratepoints;
|
104 |
}
|
105 |
+
|
106 |
$item->setData($data);
|
107 |
$item->save();
|
108 |
}
|
109 |
}
|
110 |
+
|
111 |
$order->save();
|
112 |
+
|
113 |
//Ajout du total des points fidelite
|
114 |
if ($tCatalogFidelityPoints != 0 || $tCartFidelityPoints != 0 ) {
|
115 |
$this->_addFidelityPoints($customer, $tCatalogFidelityPoints+$tCartFidelityPoints, 'order', $orderId, $orderDate);
|
116 |
$customer->save();
|
117 |
}
|
118 |
+
|
119 |
//Ajout du total des points de parrainage si le parrain n'a pas de taux spécial
|
120 |
if (($tCatalogSponsorPoints != 0 || $tCartSponsorPoints != 0) && $special_rate==0) {
|
121 |
$this->_addSponsorPoints($sponsor, $customer, $tCatalogSponsorPoints+$tCartSponsorPoints, 'order', $orderId, $orderDate);
|
131 |
Mage::log(Mage::helper('auguria_sponsorship')->__("An error occured while saving points : %s",$e->getMessage()));
|
132 |
}
|
133 |
}
|
134 |
+
|
135 |
/**
|
136 |
* Get catalog fidelity or sponsor points depends on $type
|
137 |
* @param date $date
|
218 |
else {
|
219 |
$sponsor = Mage::helper('auguria_sponsorship')->addSponsorshipPoints($sponsor, $SPoints);
|
220 |
$sponsor->save();
|
221 |
+
|
222 |
//Save operation in logs table
|
223 |
$data = array(
|
224 |
'godson_id' => $godsonId,
|
229 |
'points' => $SPoints
|
230 |
);
|
231 |
$this->_addAuguriaSponsorshipLog($data);
|
232 |
+
|
233 |
//Send notification
|
234 |
$this->_sendSponsorNotification($sponsor, $godsonId, $SPoints, Mage::helper('auguria_sponsorship')->getSponsorshipPoints($sponsor));
|
235 |
+
|
236 |
//incrémentation des points à ajouter
|
237 |
$SPoints = ($SPoints*$ratio)/100;
|
238 |
//le parrain devient le filleul
|
242 |
}
|
243 |
}
|
244 |
}
|
245 |
+
|
246 |
/**
|
247 |
* Link customer with his sponsor on customer_save_before
|
248 |
* @param Array $observer
|
249 |
+
*/
|
250 |
public function setSponsorOnRegister($observer)
|
251 |
{
|
252 |
try
|
263 |
Mage::log(Mage::helper('auguria_sponsorship')->__("An error occured while linking sponsor : %s",$e->getMessage()));
|
264 |
}
|
265 |
}
|
266 |
+
|
267 |
/**
|
268 |
* Link customer with his sponsor and update sponsor's sponsorship points validity
|
269 |
* @param Mage_Customer_Model_Customer $customer
|
284 |
$cookie->delete('sponsorship_firstname');
|
285 |
$cookie->delete('sponsorship_lastname');
|
286 |
}
|
287 |
+
|
288 |
//update sponsor points validity
|
289 |
$sponsor = Mage::getModel('customer/customer')->load($sponsorId);
|
290 |
$validityType = '';
|
301 |
}
|
302 |
}
|
303 |
}
|
304 |
+
|
305 |
/**
|
306 |
* Link customer with his sponsor on checkout_submit_all_after
|
307 |
* @param Array $observer
|
311 |
//checkout_type_onepage_save_order_after
|
312 |
$quote = $observer['quote'];
|
313 |
$order = $observer['order'];
|
314 |
+
|
315 |
if ($order) {
|
316 |
//if it's a new customer or if we allow to sponsor a registred user
|
317 |
if ($quote->getData('checkout_method') == Mage_Sales_Model_Quote::CHECKOUT_METHOD_REGISTER
|
318 |
|| Mage::helper('auguria_sponsorship/config')->isRegistredUsersInvitationAllowed() == 1) {
|
319 |
+
|
320 |
+
$customerId = $order->getCustomerId();
|
321 |
if ($customerId != '')
|
322 |
{
|
323 |
$customer = Mage::getModel("customer/customer")->load($customerId);
|
344 |
try {
|
345 |
$sponsor = Mage::helper('auguria_sponsorship')->addSponsorshipPoints($sponsor, $specialratepoints);
|
346 |
$sponsor->save();
|
347 |
+
|
348 |
//save operation in logs
|
349 |
$data = array(
|
350 |
'godson_id' => $godson->getId(),
|
355 |
'points' => (float)$specialratepoints
|
356 |
);
|
357 |
$this->_addAuguriaSponsorshipLog($data);
|
358 |
+
|
359 |
//Send notification to sponsor
|
360 |
$this->_sendSponsorNotification($sponsor, $godsonId, $pointsToAdd, $tSPoints);
|
361 |
}
|
364 |
}
|
365 |
|
366 |
}
|
367 |
+
|
368 |
/**
|
369 |
* Create cookie to link customer with his sponsor
|
370 |
* @param Array() $observer
|
377 |
* base url / module / controller / action / parametres
|
378 |
* http://www.inkonso.com/cms/index/index/sponsor_id/x/nom/xxx/prenom/xxx/email/xxx
|
379 |
*/
|
380 |
+
$sponsorId = $controller->getRequest()->getParam('sponsor_id');
|
381 |
if ($sponsorId!='')
|
382 |
{
|
383 |
$nom = $controller->getRequest()->getParam('nom');
|
384 |
$prenom = $controller->getRequest()->getParam('prenom');
|
385 |
$email = $controller->getRequest()->getParam('email');
|
386 |
+
|
387 |
//stockage des variables dans la session
|
388 |
$session = Mage::getSingleton('core/session');
|
389 |
$session->setData('sponsor_id',$sponsorId);
|
390 |
$session->setData('firstname',$prenom);
|
391 |
$session->setData('lastname',$nom);
|
392 |
$session->setData('email',$email);
|
393 |
+
|
394 |
+
//stockage de l'id du parrain dans un cookie
|
395 |
$sponsorInvitationValidity = Mage::helper('auguria_sponsorship/config')->getInvitationValidity();
|
396 |
$period =3600*24*$sponsorInvitationValidity;
|
397 |
+
|
398 |
$cookie = Mage::getModel('core/cookie');
|
399 |
$cookie->set('sponsorship_id', $sponsorId, $period);
|
400 |
$cookie->set('sponsorship_firstname', $prenom, $period);
|
401 |
$cookie->set('sponsorship_lastname', $nom, $period);
|
402 |
$cookie->set('sponsorship_email', $email, $period);
|
403 |
+
|
404 |
+
$controller->getRequest()->setParam('sponsor_id', null);
|
405 |
}
|
406 |
}
|
407 |
+
|
408 |
/**
|
409 |
+
*
|
410 |
* Add fidelity points if customer subscribe to newletter while registration
|
411 |
* @param Varien_Event_Observer $observer
|
412 |
*/
|
435 |
Mage::log(Mage::helper('auguria_sponsorship')->__("An error occured while adding news letter points : %s",$e->getMessage()));
|
436 |
}
|
437 |
}
|
438 |
+
|
439 |
/**
|
440 |
+
*
|
441 |
* Add fidelity points to customer and sponsorship points to sponsor on first order
|
442 |
* @param Varien_Event_Observer $observer
|
443 |
*/
|
447 |
{
|
448 |
$godsonFirstOrderPoints = Mage::helper('auguria_sponsorship/config')->getFidelityFirstOrderPoints();
|
449 |
$sponsorFirstOrderPoints = Mage::helper('auguria_sponsorship/config')->getGodsonFirstOrderPoints();
|
450 |
+
|
451 |
//Check if we have to add points on first order
|
452 |
if ($godsonFirstOrderPoints>0 || $sponsorFirstOrderPoints>0)
|
453 |
{
|
454 |
$invoice = $observer->getInvoice();
|
455 |
$customerId = $invoice->getCustomerId();
|
456 |
+
|
457 |
//Get customer paid invoices
|
458 |
$invoices = Mage::getResourceModel('sales/order_invoice_collection');
|
459 |
$invoices->getSelect()->join(array('o'=>$invoices->getTable('sales/order')), 'main_table.order_id = o.entity_id','o.customer_id');
|
460 |
+
|
461 |
$invoices->addAttributeToSelect('state')
|
462 |
->addAttributeToFilter('o.customer_id', $customerId)
|
463 |
->addAttributeToFilter('main_table.state', Mage_Sales_Model_Order_Invoice::STATE_PAID);
|
464 |
+
|
465 |
if ($invoices->count() == 0)
|
466 |
+
{
|
467 |
$customer = Mage::getModel('customer/customer')->load($customerId);
|
468 |
+
|
469 |
//Add fidelity points to customer
|
470 |
if ($godsonFirstOrderPoints >0)
|
471 |
{
|
472 |
$this->_addFidelityPoints($customer, $godsonFirstOrderPoints, 'first', $invoice->getOrderId());
|
473 |
$customer->save();
|
474 |
}
|
475 |
+
|
476 |
//Add sponsorship points
|
477 |
$sponsorId = $customer->getSponsor();
|
478 |
if (isset($sponsorId) && $sponsorId>0 && $sponsorFirstOrderPoints>0)
|
479 |
{
|
480 |
$sponsor = Mage::getModel('customer/customer')->load($sponsorId);
|
481 |
$this->_addSponsorPoints($sponsor, $customer, $sponsorFirstOrderPoints, 'first', $invoice->getOrderId());
|
482 |
+
|
483 |
}
|
484 |
}
|
485 |
}
|
489 |
Mage::log(Mage::helper('auguria_sponsorship')->__("An error occured while adding first order points :".$e->getMessage()));
|
490 |
}
|
491 |
}
|
492 |
+
|
493 |
/**
|
494 |
* Update sponsorship tab customer fields from adminhtml customer form on customer_save_before
|
495 |
* @param Varien_Event_Observer $observer
|
498 |
{
|
499 |
//@TODO check each parameters
|
500 |
$form = Mage::app()->getRequest()->getParam('sponsorship');
|
501 |
+
if (is_array($form) && !empty($form)) {
|
502 |
foreach ($form as $key=>$value) {
|
503 |
$observer->getCustomer()->setData($key, $value);
|
504 |
}
|
505 |
}
|
506 |
return $observer;
|
507 |
}
|
508 |
+
|
509 |
/**
|
510 |
* Insert log if points are modified on customer_save_after
|
511 |
* @param Varien_Event_Observer $observer
|
519 |
foreach ($keys as $key) {
|
520 |
if ($customer->dataHasChangedFor($key)) {
|
521 |
$points = (float)$customer->getData($key) - (float)$customer->getOrigData($key);
|
522 |
+
$data = Array('points'=>$points,
|
523 |
'customer_id'=>$customer->getId(),
|
524 |
'record_type'=>'admin');
|
525 |
$this->_addAuguriaSponsorshipLog($data);
|
528 |
}
|
529 |
}
|
530 |
}
|
531 |
+
|
532 |
/**
|
533 |
* Update sponsorship fields from frontend customer form on customer_save_before
|
534 |
* @param Varien_Event_Observer $observer
|
562 |
}
|
563 |
}
|
564 |
/*Create action*/
|
565 |
+
else {
|
566 |
if ($sponsorId = Mage::helper("auguria_sponsorship")->searchSponsorId($customer->getEmail())) {
|
567 |
$customer->setData('sponsor',$sponsorId);
|
568 |
$cookie = Mage::getSingleton('core/cookie');
|
576 |
}
|
577 |
return $observer;
|
578 |
}
|
579 |
+
|
580 |
/**
|
581 |
* Send notification to sponsor when godson make him earn points
|
582 |
* @param Mage_Customer_Model_Customer $sponsor
|
583 |
* @param Int $godchildId
|
584 |
* @param Float $addedPoints
|
585 |
* @param Float $totalPoints
|
586 |
+
*/
|
587 |
protected function _sendSponsorNotification($sponsor, $godchildId, $addedPoints, $totalPoints)
|
588 |
+
{
|
589 |
if (Mage::helper('auguria_sponsorship/config')->isSponsorshipNotificationEnabled()==1) {
|
590 |
$godchild = Mage::getModel('customer/customer')->load($godchildId);
|
591 |
$mailTemplate = Mage::getModel('auguria_sponsorship/Core_Email_Template');
|
592 |
+
|
593 |
$sender_name = Mage::getStoreConfig('trans_email/ident_sales/name');
|
594 |
$sender_email = Mage::getStoreConfig('trans_email/ident_sales/email');
|
595 |
+
|
596 |
$subject = Mage::helper('auguria_sponsorship')->__('%s sponsor points', Mage::helper('auguria_sponsorship/mail')->getStoreName());
|
597 |
+
|
598 |
$sender = array("name"=>$sender_name, "email"=>$sender_email);
|
599 |
$recipient_email = $sponsor->getData('email');
|
600 |
+
|
601 |
$postObject = new Varien_Object();
|
602 |
$postObject->setData(Array ("sender_name" => $sender_name,
|
603 |
"sender_email" => $sender_email,
|
624 |
}
|
625 |
}
|
626 |
}
|
627 |
+
|
628 |
/**
|
629 |
+
* Remove points from customer account if auguria_sponsorship_discount is set
|
630 |
* on checkout_submit_all_after
|
631 |
* @param array $observer
|
632 |
*/
|
635 |
$order = $observer['order'];
|
636 |
if ($order) {
|
637 |
if ((float)$order->getAuguriaSponsorshipDiscountAmount()<0) {
|
638 |
+
$customerId = $order->getCustomerId();
|
639 |
if ($customerId != '')
|
640 |
{
|
641 |
$pointsToCash = Mage::helper('auguria_sponsorship/config')->getPointsToCash();
|
652 |
$orderSponsor = (float)$order->getAuguriaSponsorshipSponsorPointsUsed()/(float)$pointsToCash['sponsorship'];
|
653 |
}
|
654 |
$type = Array();
|
655 |
+
|
656 |
if ((float)$orderAccumulated > 0
|
657 |
||(float)$orderSponsor > 0
|
658 |
||(float)$orderFidelity > 0) {
|
683 |
$customer->setFidelityPoints($points);
|
684 |
$type['fidelity'] = $usedPoints;
|
685 |
}
|
686 |
+
}
|
687 |
$customer->save();
|
688 |
+
|
689 |
if ($usedPoints>0) {
|
690 |
+
$data = Array('points'=>-$usedPoints,
|
691 |
'customer_id'=>$customerId,
|
692 |
'record_type'=>'cart',
|
693 |
'record_id'=>$order->getId(),
|
694 |
'datetime'=>$order->getUpdatedAt());
|
695 |
$this->_addAuguriaSponsorshipLog($data);
|
696 |
+
|
697 |
if (count($type)>0) {
|
698 |
foreach($type as $key=>$points) {
|
699 |
$echange = Mage::getModel('auguria_sponsorship/change');
|
718 |
}
|
719 |
}
|
720 |
}
|
721 |
+
|
722 |
/**
|
723 |
* Insert data in points logs table
|
724 |
* @param array $data
|
735 |
$log->save();
|
736 |
return true;
|
737 |
}
|
738 |
+
return false;
|
739 |
}
|
740 |
+
|
741 |
/**
|
742 |
* Add Auguria_Sponsorship points in quote according to defined rules on salesrule_validator_process event
|
743 |
* @param array(
|
756 |
$result = $observer['result'];
|
757 |
$address = $observer['address'];
|
758 |
$qty = $observer['qty'];
|
759 |
+
|
760 |
$rulePercent = min(100, $rule->getDiscountAmount());
|
761 |
$price = $item->getDiscountCalculationPrice();
|
762 |
$baseItemPrice = ($price !== null) ? $item->getBaseDiscountCalculationPrice() : $item->getBaseCalculationPrice();
|
763 |
+
|
764 |
$cartFidelityPoints = 0;
|
765 |
$cartSponsorPoints = 0;
|
766 |
+
|
767 |
switch ($rule->getSimpleAction()) {
|
768 |
case 'fidelity_points_by_fixed':
|
769 |
if ($step = $rule->getDiscountStep()) {
|
819 |
}
|
820 |
$result->setData('cart_fidelity_points',$cartFidelityPoints);
|
821 |
$result->setData('cart_sponsor_points',$cartSponsorPoints);
|
822 |
+
|
823 |
$cartFidelityPoints = max((float)$item->getCartFidelityPoints(), (float)$cartFidelityPoints);
|
824 |
$cartSponsorPoints = max((float)$item->getCartSponsorPoints(), (float)$cartSponsorPoints);
|
825 |
+
|
826 |
$item->setCartFidelityPoints($cartFidelityPoints);
|
827 |
$item->setCartSponsorPoints($cartSponsorPoints);
|
828 |
+
|
829 |
return $this;
|
830 |
}
|
831 |
+
|
832 |
/**
|
833 |
* Cancel used and gained points while credit memo creation using sales_order_creditmemo_save_before event
|
834 |
* @param array $observer
|
846 |
//Cancel used points
|
847 |
//@TODO check credit memo sold the order ?
|
848 |
$this->_cancelUsedPoints($order);
|
849 |
+
|
850 |
//Remove winning points
|
851 |
//calcul fidelity points to remove and ratio for sponsorship points
|
852 |
$earnedFidelityPoints = 0;
|
858 |
if ($creditMemoItems->count()>0) {
|
859 |
foreach ($creditMemoItems as $creditmemoItem) {
|
860 |
$orderItem = $creditmemoItem->getOrderItem();
|
861 |
+
|
862 |
//fidelity points
|
863 |
$earnedFidelityPoints += (float)$orderItem->getCatalogFidelityPoints()+(float)$orderItem->getCartFidelityPoints();
|
864 |
+
$tmpFidelityPoints = (float)$orderItem->getCatalogFidelityPoints()+(float)$orderItem->getCartFidelityPoints();
|
865 |
if($orderItem->getQtyInvoiced()!=0) {
|
866 |
$tmpFidelityPoints = ($tmpFidelityPoints*$creditmemoItem->getQty())/$orderItem->getQtyInvoiced();
|
867 |
}
|
869 |
|
870 |
//sponsorship points
|
871 |
$earnedSponsorPoints += (float)$orderItem->getCatalogSponsorPoints()+(float)$orderItem->getCartSponsorPoints();
|
872 |
+
$tmpSponsorPoints = (float)$orderItem->getCatalogSponsorPoints()+(float)$orderItem->getCartSponsorPoints();
|
873 |
if($orderItem->getQtyInvoiced()!=0) {
|
874 |
$tmpSponsorPoints = ($tmpSponsorPoints*$creditmemoItem->getQty())/$orderItem->getQtyInvoiced();
|
875 |
}
|
879 |
$ratio = $backSponsorPoints/$earnedSponsorPoints;
|
880 |
}
|
881 |
}
|
882 |
+
|
883 |
//remove fidelity points
|
884 |
if ($backFidelityPoints>0) {
|
885 |
if (Mage::helper('auguria_sponsorship/config')->cancelFidelityEarnedPointsOnCreditMemo()){
|
898 |
$this->_addAuguriaSponsorshipLog($data);
|
899 |
}
|
900 |
}
|
901 |
+
|
902 |
//remove sponsorship points according to logs and applying ratio
|
903 |
+
if (Mage::helper('auguria_sponsorship/config')->cancelSponsorshipEarnedPointsOnCreditMemo()){
|
904 |
$collection = Mage::getResourceModel('auguria_sponsorship/log_collection')
|
905 |
->addFieldToFilter('record_type', 'order')
|
906 |
+
->addFieldToFilter('record_id', $order->getId());
|
907 |
if ($collection->count()>0){
|
908 |
foreach ($collection as $log) {
|
909 |
$points = 0;
|
915 |
Mage::helper('auguria_sponsorship')->setSponsorshipPoints($customer, $points);
|
916 |
$customer->save();
|
917 |
}
|
918 |
+
|
919 |
if ($points>0) {
|
920 |
$data = array(
|
921 |
'godson_id' => $log->getGodsonId(),
|
931 |
}
|
932 |
}
|
933 |
}
|
934 |
+
|
935 |
/**
|
936 |
* Cancel used points while on order cancellation
|
937 |
* As there is no event on cancellation we use sales_order_save_before event and we check status
|
946 |
$this->_cancelUsedPoints($order);
|
947 |
}
|
948 |
}
|
949 |
+
|
950 |
/**
|
951 |
* Add to customer used points in an order and log it
|
952 |
* @param Mage_Sales_Model_Order $order
|
955 |
{
|
956 |
$customerId = $order->getCustomerId();
|
957 |
$customer = Mage::getModel('customer/customer')->load($customerId);
|
958 |
+
|
959 |
$usedPoints = Array();
|
960 |
$usedPoints['accumulated'] = $order->getAuguriaSponsorshipAccumulatedPointsUsed();
|
961 |
$usedPoints['sponsorship'] = $order->getAuguriaSponsorshipSponsorPointsUsed();
|
996 |
$this->_addAuguriaSponsorshipLog($data);
|
997 |
}
|
998 |
}
|
999 |
+
|
1000 |
+
/**
|
1001 |
+
* Add sponsorship and fidelity action on adminhtml_block_salesrule_actions_prepareform
|
1002 |
+
* @param array $observer
|
1003 |
+
*/
|
1004 |
+
public function salesRulesAddAction($observer)
|
1005 |
+
{
|
1006 |
+
$field = $observer->getForm()->getElement('simple_action');
|
1007 |
+
$options = $field->getValues();
|
1008 |
+
$customOptions = Array(
|
1009 |
+
Array('value'=>'fidelity_points_by_percent','label'=>Mage::helper('auguria_sponsorship')->__('Fidelity points by percentage of the original price')),
|
1010 |
+
Array('value'=>'fidelity_points_by_fixed','label'=>Mage::helper('auguria_sponsorship')->__('Fidelity points by fixed amount')),
|
1011 |
+
Array('value'=>'fidelity_points_cart_fixed','label'=>Mage::helper('auguria_sponsorship')->__('Fidelity points by fixed amount for whole cart')),
|
1012 |
+
Array('value'=>'sponsor_points_by_percent','label'=>Mage::helper('auguria_sponsorship')->__('Sponsorship points by percentage of the original price')),
|
1013 |
+
Array('value'=>'sponsor_points_by_fixed','label'=>Mage::helper('auguria_sponsorship')->__('Sponsorship points by fixed amount')),
|
1014 |
+
Array('value'=>'sponsor_points_cart_fixed','label'=>Mage::helper('auguria_sponsorship')->__('Sponsorship points by fixed amount for whole cart'))
|
1015 |
+
);
|
1016 |
+
$allOptions = array_merge($options, $customOptions);
|
1017 |
+
$field->setValues($allOptions);
|
1018 |
+
}
|
1019 |
}
|
app/code/community/Auguria/Sponsorship/Model/Total/Quote/Discount.php
CHANGED
@@ -97,7 +97,7 @@ class Auguria_Sponsorship_Model_Total_Quote_Discount extends Mage_Sales_Model_Qu
|
|
97 |
$this->_amount = 0;
|
98 |
|
99 |
if (count($modes)>0) {
|
100 |
-
|
101 |
$activated = $this->_getActivated();
|
102 |
foreach ($modes as $mode=>$value) {
|
103 |
if (isset($activated[$mode])
|
97 |
$this->_amount = 0;
|
98 |
|
99 |
if (count($modes)>0) {
|
100 |
+
|
101 |
$activated = $this->_getActivated();
|
102 |
foreach ($modes as $mode=>$value) {
|
103 |
if (isset($activated[$mode])
|
app/code/community/Auguria/Sponsorship/controllers/PointsController.php
CHANGED
@@ -72,12 +72,16 @@ class Auguria_Sponsorship_PointsController extends Mage_Core_Controller_Front_Ac
|
|
72 |
{
|
73 |
$module = $this->getRequest()->getParam('module');
|
74 |
$type = $this->getRequest()->getParam('type');
|
|
|
|
|
|
|
|
|
75 |
$resultValidate = $this->_validateChange($module, $type);
|
76 |
if ($resultValidate == 'valide' )
|
77 |
{
|
78 |
$this->loadLayout();
|
79 |
-
$this->getLayout()
|
80 |
-
->getBlock('
|
81 |
$this->_initLayoutMessages('customer/session');
|
82 |
$this->_initLayoutMessages('catalog/session');
|
83 |
$this->renderLayout();
|
72 |
{
|
73 |
$module = $this->getRequest()->getParam('module');
|
74 |
$type = $this->getRequest()->getParam('type');
|
75 |
+
|
76 |
+
//Set used module in session on change action for recover in checkout
|
77 |
+
Mage::getSingleton('customer/session')->setData('auguria_sponsorship_change_module', $module);
|
78 |
+
|
79 |
$resultValidate = $this->_validateChange($module, $type);
|
80 |
if ($resultValidate == 'valide' )
|
81 |
{
|
82 |
$this->loadLayout();
|
83 |
+
$block = $this->getLayout()->getBlock('customer_pointschange_'.$type);
|
84 |
+
$this->getLayout()->getBlock('content')->append($block);
|
85 |
$this->_initLayoutMessages('customer/session');
|
86 |
$this->_initLayoutMessages('catalog/session');
|
87 |
$this->renderLayout();
|
app/code/community/Auguria/Sponsorship/etc/config.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Auguria_Sponsorship>
|
13 |
-
<version>1.2.
|
14 |
</Auguria_Sponsorship>
|
15 |
</modules>
|
16 |
<frontend>
|
@@ -221,6 +221,15 @@
|
|
221 |
</auguria_sponsorship_cancel_order>
|
222 |
</observers>
|
223 |
</sales_order_save_before>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
</events>
|
225 |
<translate>
|
226 |
<modules>
|
@@ -363,16 +372,16 @@
|
|
363 |
<use>core_setup</use>
|
364 |
</connection>
|
365 |
</auguria_sponsorship_setup>
|
366 |
-
<
|
367 |
<connection>
|
368 |
<use>core_write</use>
|
369 |
</connection>
|
370 |
-
</
|
371 |
-
<
|
372 |
<connection>
|
373 |
<use>core_read</use>
|
374 |
</connection>
|
375 |
-
</
|
376 |
</resources>
|
377 |
<blocks>
|
378 |
<auguria_sponsorship>
|
@@ -380,22 +389,22 @@
|
|
380 |
</auguria_sponsorship>
|
381 |
<adminhtml>
|
382 |
<rewrite>
|
383 |
-
|
384 |
<promo_catalog_edit_tab_actions>Auguria_Sponsorship_Block_Promo_Catalog_Edit_Tab_Actions</promo_catalog_edit_tab_actions>
|
385 |
-
|
386 |
-
<!-- Rewrite Mage_Adminhtml_Block_Sales_Totals to display auguria sponsorship discount -->
|
387 |
<sales_order_totals>Auguria_Sponsorship_Block_Adminhtml_Sales_Order_Totals</sales_order_totals>
|
388 |
<sales_order_invoice_totals>Auguria_Sponsorship_Block_Adminhtml_Sales_Order_Invoice_Totals</sales_order_invoice_totals>
|
389 |
</rewrite>
|
390 |
</adminhtml>
|
391 |
<customer>
|
392 |
<rewrite>
|
|
|
393 |
<widget_name>Auguria_Sponsorship_Block_Customer_Widget_Name</widget_name>
|
394 |
</rewrite>
|
395 |
</customer>
|
396 |
-
<!-- Rewrite Mage_Sales_Block_Order_Totals to display auguria sponsorship discount -->
|
397 |
<sales>
|
398 |
<rewrite>
|
|
|
399 |
<order_totals>Auguria_Sponsorship_Block_Sales_Order_Totals</order_totals>
|
400 |
</rewrite>
|
401 |
</sales>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Auguria_Sponsorship>
|
13 |
+
<version>1.2.7</version>
|
14 |
</Auguria_Sponsorship>
|
15 |
</modules>
|
16 |
<frontend>
|
221 |
</auguria_sponsorship_cancel_order>
|
222 |
</observers>
|
223 |
</sales_order_save_before>
|
224 |
+
<adminhtml_block_salesrule_actions_prepareform>
|
225 |
+
<observers>
|
226 |
+
<auguria_sponsorship_salesrules_add_action>
|
227 |
+
<type>singleton</type>
|
228 |
+
<class>Auguria_Sponsorship_Model_Observer</class>
|
229 |
+
<method>salesRulesAddAction</method>
|
230 |
+
</auguria_sponsorship_salesrules_add_action>
|
231 |
+
</observers>
|
232 |
+
</adminhtml_block_salesrule_actions_prepareform>
|
233 |
</events>
|
234 |
<translate>
|
235 |
<modules>
|
372 |
<use>core_setup</use>
|
373 |
</connection>
|
374 |
</auguria_sponsorship_setup>
|
375 |
+
<auguria_sponsorship_write>
|
376 |
<connection>
|
377 |
<use>core_write</use>
|
378 |
</connection>
|
379 |
+
</auguria_sponsorship_write>
|
380 |
+
<auguria_sponsorship_read>
|
381 |
<connection>
|
382 |
<use>core_read</use>
|
383 |
</connection>
|
384 |
+
</auguria_sponsorship_read>
|
385 |
</resources>
|
386 |
<blocks>
|
387 |
<auguria_sponsorship>
|
389 |
</auguria_sponsorship>
|
390 |
<adminhtml>
|
391 |
<rewrite>
|
392 |
+
<!-- Rewrite promo catlog action to allow choosing auguria sponsorship actions -->
|
393 |
<promo_catalog_edit_tab_actions>Auguria_Sponsorship_Block_Promo_Catalog_Edit_Tab_Actions</promo_catalog_edit_tab_actions>
|
394 |
+
<!-- Rewrite Mage_Adminhtml_Block_Sales_Totals to display auguria sponsorship discount -->
|
|
|
395 |
<sales_order_totals>Auguria_Sponsorship_Block_Adminhtml_Sales_Order_Totals</sales_order_totals>
|
396 |
<sales_order_invoice_totals>Auguria_Sponsorship_Block_Adminhtml_Sales_Order_Invoice_Totals</sales_order_invoice_totals>
|
397 |
</rewrite>
|
398 |
</adminhtml>
|
399 |
<customer>
|
400 |
<rewrite>
|
401 |
+
<!-- Rewrite customer form to prefill fields if cookie is set -->
|
402 |
<widget_name>Auguria_Sponsorship_Block_Customer_Widget_Name</widget_name>
|
403 |
</rewrite>
|
404 |
</customer>
|
|
|
405 |
<sales>
|
406 |
<rewrite>
|
407 |
+
<!-- Rewrite Mage_Sales_Block_Order_Totals to display auguria sponsorship discount -->
|
408 |
<order_totals>Auguria_Sponsorship_Block_Sales_Order_Totals</order_totals>
|
409 |
</rewrite>
|
410 |
</sales>
|
app/code/community/Auguria/Sponsorship/sql/auguria_sponsorship_setup/mysql4-install-0.1.0.php
CHANGED
@@ -7,13 +7,14 @@
|
|
7 |
*/
|
8 |
$installer = $this;
|
9 |
$installer->startSetup();
|
10 |
-
$storeId =
|
11 |
if ($installer->hasSponsorshipInstall()) {
|
12 |
$installer->run("
|
13 |
ALTER TABLE `{$this->getTable('sponsorship')}` RENAME `{$this->getTable('auguria_sponsorship/sponsorship')}`;
|
14 |
");
|
15 |
}
|
16 |
else {
|
|
|
17 |
$installer->run("
|
18 |
CREATE TABLE IF NOT EXISTS {$this->getTable('auguria_sponsorship/sponsorship')} (
|
19 |
`sponsorship_id` int(11) unsigned NOT NULL auto_increment,
|
@@ -50,7 +51,7 @@ else {
|
|
50 |
'Information on sponsorship',
|
51 |
'sponsorship_info',
|
52 |
'Sample of sponsorship principles',
|
53 |
-
|
54 |
now(),
|
55 |
now(),
|
56 |
1,
|
7 |
*/
|
8 |
$installer = $this;
|
9 |
$installer->startSetup();
|
10 |
+
$storeId = 0;
|
11 |
if ($installer->hasSponsorshipInstall()) {
|
12 |
$installer->run("
|
13 |
ALTER TABLE `{$this->getTable('sponsorship')}` RENAME `{$this->getTable('auguria_sponsorship/sponsorship')}`;
|
14 |
");
|
15 |
}
|
16 |
else {
|
17 |
+
$cmsContent = '"<p>By sponsoring friends you can earn:</p>\r\n<ul class=\"disc\">\r\n<li>Cash</li>\r\n<li>Vouchers</li>\r\n</ul>\r\n<p>Every time one of your godson order, you win 5% of its order !</p>\r\n<p>But that\'s not all, if your godson sponsors too, you earn 50% of what your godson has won...</p>\r\n<p>For example,</p>\r\n<ul class=\"disc\">\r\n<li>your godson place an order of 100 euros (you win 5 points)</li>\r\n<li>your godson sponsors 2 friends who order 100 euros each (you win 5 points)</li>\r\n<li>the godchildren of your godson each sponsor 2 people who order 100 euros each (you win 5 points)...</li>\r\n</ul>\r\n<p>Then you can exchange your points into cash or vouchers.</p>\r\n<p style=\"text-align:right;\"><a href=\"../sponsorship\">Yes I want sponsors friends to earn cash or vouchers !</a></p>"';
|
18 |
$installer->run("
|
19 |
CREATE TABLE IF NOT EXISTS {$this->getTable('auguria_sponsorship/sponsorship')} (
|
20 |
`sponsorship_id` int(11) unsigned NOT NULL auto_increment,
|
51 |
'Information on sponsorship',
|
52 |
'sponsorship_info',
|
53 |
'Sample of sponsorship principles',
|
54 |
+
$cmsContent,
|
55 |
now(),
|
56 |
now(),
|
57 |
1,
|
app/design/frontend/base/default/layout/auguria/sponsorship.xml
CHANGED
@@ -91,13 +91,15 @@
|
|
91 |
<!-- Déclaration du block d'échange des points -->
|
92 |
<auguria_sponsorship_points_change>
|
93 |
<update handle="customer_account"/>
|
94 |
-
<
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
|
|
|
|
101 |
</auguria_sponsorship_points_change>
|
102 |
|
103 |
<!-- Add auguria sponsorship account point block into dashboard as info1 -->
|
91 |
<!-- Déclaration du block d'échange des points -->
|
92 |
<auguria_sponsorship_points_change>
|
93 |
<update handle="customer_account"/>
|
94 |
+
<block type="auguria_sponsorship/customer_form_pointsChange" name="customer_pointschange_cash" template="auguria/sponsorship/customer/form/pointschange.phtml">
|
95 |
+
<block type="auguria_sponsorship/customer_form_pointsChange" name="sponsorship_customer_pointschange_cash" as="cash" template="auguria/sponsorship/customer/form/pointschange/pointschange_cash.phtml"/>
|
96 |
+
</block>>
|
97 |
+
<block type="auguria_sponsorship/customer_form_pointsChange" name="customer_pointschange_coupon" template="auguria/sponsorship/customer/form/pointschange.phtml">
|
98 |
+
<block type="auguria_sponsorship/customer_form_pointsChange" name="sponsorship_customer_pointschange_coupon" as="coupon" template="auguria/sponsorship/customer/form/pointschange/pointschange_coupon.phtml"/>
|
99 |
+
</block>>
|
100 |
+
<block type="auguria_sponsorship/customer_form_pointsChange" name="customer_pointschange_gift" template="auguria/sponsorship/customer/form/pointschange.phtml">
|
101 |
+
<block type="auguria_sponsorship/customer_form_pointsChange" name="sponsorship_customer_pointschange_gift" as="gift" template="auguria/sponsorship/customer/form/pointschange/pointschange_gift.phtml"/>
|
102 |
+
</block>>
|
103 |
</auguria_sponsorship_points_change>
|
104 |
|
105 |
<!-- Add auguria sponsorship account point block into dashboard as info1 -->
|
app/locale/de_DE/template/email/auguria/sponsorship/sponsorship_notification.html
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{* This is a comment block
|
2 |
+
|
3 |
+
@category Auguria
|
4 |
+
@package Auguria_Sponsorship
|
5 |
+
@author Auguria
|
6 |
+
@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
+
|
8 |
+
Available vars in sponsorship template:
|
9 |
+
subject
|
10 |
+
sender_name
|
11 |
+
sender_email
|
12 |
+
recipient_firstname
|
13 |
+
recipient_lastname
|
14 |
+
store_name
|
15 |
+
godchild_firstname
|
16 |
+
godchild_lastname
|
17 |
+
added_points
|
18 |
+
total_points
|
19 |
+
|
20 |
+
*}<!--@subject {{var data.subject}} @-->
|
21 |
+
|
22 |
+
Bonjour {{var data.recipient_firstname}} {{var data.recipient_lastname}},
|
23 |
+
|
24 |
+
Votre filleul {{var data.godchild_firstname}} {{var data.godchild_lastname}} vous a fait gagner {{var data.added_points}} points.
|
25 |
+
|
26 |
+
Vous disposez maintenant de {{var data.total_points}} points.
|
27 |
+
|
28 |
+
{{store url=""}}
|
29 |
+
|
30 |
+
--BOUNDARY_TEXT_OF_CHOICE_FOR_AUGURIA_SPONSORSHIP
|
31 |
+
|
32 |
+
<style type="text/css">
|
33 |
+
body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
|
34 |
+
</style>
|
35 |
+
|
36 |
+
<div style="font:11px/1.35em Verdana, Arial, Helvetica, sans-serif;">
|
37 |
+
<table cellspacing="0" cellpadding="0" border="0" width="98%" style="margin-top:10px; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; margin-bottom:10px;">
|
38 |
+
<tr>
|
39 |
+
<td align="center" valign="top">
|
40 |
+
<!-- [ header starts here] -->
|
41 |
+
<table cellspacing="0" cellpadding="0" border="0" width="650">
|
42 |
+
<tr>
|
43 |
+
<td valign="top">
|
44 |
+
<a href="{{store url=""}}">
|
45 |
+
<img src="{{skin url="images/logo_email.gif" _area='frontend'}}" alt="{{var data.store_name}}" style="margin-bottom:10px;" border="0"/>
|
46 |
+
</a>
|
47 |
+
</td>
|
48 |
+
</tr>
|
49 |
+
</table>
|
50 |
+
|
51 |
+
</td>
|
52 |
+
</tr>
|
53 |
+
<tr>
|
54 |
+
<td align="center" valign="top">
|
55 |
+
<!-- [ middle starts here] -->
|
56 |
+
<table cellspacing="0" cellpadding="0" border="0" width="650">
|
57 |
+
<tr>
|
58 |
+
<td valign="top">
|
59 |
+
<p><strong>Bonjour {{var data.recipient_firstname}} {{var data.recipient_lastname}}</strong>,</p>
|
60 |
+
<p>Votre filleul {{var data.godchild_firstname}} {{var data.godchild_lastname}} vous a fait gagner <strong>{{var data.added_points}}</strong> points.</p>
|
61 |
+
<p>Vous disposez maintenant de <strong>{{var data.total_points}}</strong> points.</p>
|
62 |
+
</td>
|
63 |
+
</tr>
|
64 |
+
<tr>
|
65 |
+
<td valign="top">
|
66 |
+
<a href="{{store url=""}}">{{var data.store_name}}</a>
|
67 |
+
</td>
|
68 |
+
</tr>
|
69 |
+
</table>
|
70 |
+
</td>
|
71 |
+
</tr>
|
72 |
+
</table>
|
73 |
+
</div>
|
app/locale/en_US/template/email/auguria/sponsorship/sponsorship_notification.html
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{* This is a comment block
|
2 |
+
|
3 |
+
@category Auguria
|
4 |
+
@package Auguria_Sponsorship
|
5 |
+
@author Auguria
|
6 |
+
@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
+
|
8 |
+
Available vars in sponsorship template:
|
9 |
+
subject
|
10 |
+
sender_name
|
11 |
+
sender_email
|
12 |
+
recipient_firstname
|
13 |
+
recipient_lastname
|
14 |
+
store_name
|
15 |
+
godchild_firstname
|
16 |
+
godchild_lastname
|
17 |
+
added_points
|
18 |
+
total_points
|
19 |
+
|
20 |
+
*}<!--@subject {{var data.subject}} @-->
|
21 |
+
|
22 |
+
Bonjour {{var data.recipient_firstname}} {{var data.recipient_lastname}},
|
23 |
+
|
24 |
+
Votre filleul {{var data.godchild_firstname}} {{var data.godchild_lastname}} vous a fait gagner {{var data.added_points}} points.
|
25 |
+
|
26 |
+
Vous disposez maintenant de {{var data.total_points}} points.
|
27 |
+
|
28 |
+
{{store url=""}}
|
29 |
+
|
30 |
+
--BOUNDARY_TEXT_OF_CHOICE_FOR_AUGURIA_SPONSORSHIP
|
31 |
+
|
32 |
+
<style type="text/css">
|
33 |
+
body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
|
34 |
+
</style>
|
35 |
+
|
36 |
+
<div style="font:11px/1.35em Verdana, Arial, Helvetica, sans-serif;">
|
37 |
+
<table cellspacing="0" cellpadding="0" border="0" width="98%" style="margin-top:10px; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; margin-bottom:10px;">
|
38 |
+
<tr>
|
39 |
+
<td align="center" valign="top">
|
40 |
+
<!-- [ header starts here] -->
|
41 |
+
<table cellspacing="0" cellpadding="0" border="0" width="650">
|
42 |
+
<tr>
|
43 |
+
<td valign="top">
|
44 |
+
<a href="{{store url=""}}">
|
45 |
+
<img src="{{skin url="images/logo_email.gif" _area='frontend'}}" alt="{{var data.store_name}}" style="margin-bottom:10px;" border="0"/>
|
46 |
+
</a>
|
47 |
+
</td>
|
48 |
+
</tr>
|
49 |
+
</table>
|
50 |
+
|
51 |
+
</td>
|
52 |
+
</tr>
|
53 |
+
<tr>
|
54 |
+
<td align="center" valign="top">
|
55 |
+
<!-- [ middle starts here] -->
|
56 |
+
<table cellspacing="0" cellpadding="0" border="0" width="650">
|
57 |
+
<tr>
|
58 |
+
<td valign="top">
|
59 |
+
<p><strong>Bonjour {{var data.recipient_firstname}} {{var data.recipient_lastname}}</strong>,</p>
|
60 |
+
<p>Votre filleul {{var data.godchild_firstname}} {{var data.godchild_lastname}} vous a fait gagner <strong>{{var data.added_points}}</strong> points.</p>
|
61 |
+
<p>Vous disposez maintenant de <strong>{{var data.total_points}}</strong> points.</p>
|
62 |
+
</td>
|
63 |
+
</tr>
|
64 |
+
<tr>
|
65 |
+
<td valign="top">
|
66 |
+
<a href="{{store url=""}}">{{var data.store_name}}</a>
|
67 |
+
</td>
|
68 |
+
</tr>
|
69 |
+
</table>
|
70 |
+
</td>
|
71 |
+
</tr>
|
72 |
+
</table>
|
73 |
+
</div>
|
app/locale/es_ES/template/email/auguria/sponsorship/sponsorship_notification.html
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{* This is a comment block
|
2 |
+
|
3 |
+
@category Auguria
|
4 |
+
@package Auguria_Sponsorship
|
5 |
+
@author Auguria
|
6 |
+
@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
7 |
+
|
8 |
+
Available vars in sponsorship template:
|
9 |
+
subject
|
10 |
+
sender_name
|
11 |
+
sender_email
|
12 |
+
recipient_firstname
|
13 |
+
recipient_lastname
|
14 |
+
store_name
|
15 |
+
godchild_firstname
|
16 |
+
godchild_lastname
|
17 |
+
added_points
|
18 |
+
total_points
|
19 |
+
|
20 |
+
*}<!--@subject {{var data.subject}} @-->
|
21 |
+
|
22 |
+
Bonjour {{var data.recipient_firstname}} {{var data.recipient_lastname}},
|
23 |
+
|
24 |
+
Votre filleul {{var data.godchild_firstname}} {{var data.godchild_lastname}} vous a fait gagner {{var data.added_points}} points.
|
25 |
+
|
26 |
+
Vous disposez maintenant de {{var data.total_points}} points.
|
27 |
+
|
28 |
+
{{store url=""}}
|
29 |
+
|
30 |
+
--BOUNDARY_TEXT_OF_CHOICE_FOR_AUGURIA_SPONSORSHIP
|
31 |
+
|
32 |
+
<style type="text/css">
|
33 |
+
body,td { color:#2f2f2f; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; }
|
34 |
+
</style>
|
35 |
+
|
36 |
+
<div style="font:11px/1.35em Verdana, Arial, Helvetica, sans-serif;">
|
37 |
+
<table cellspacing="0" cellpadding="0" border="0" width="98%" style="margin-top:10px; font:11px/1.35em Verdana, Arial, Helvetica, sans-serif; margin-bottom:10px;">
|
38 |
+
<tr>
|
39 |
+
<td align="center" valign="top">
|
40 |
+
<!-- [ header starts here] -->
|
41 |
+
<table cellspacing="0" cellpadding="0" border="0" width="650">
|
42 |
+
<tr>
|
43 |
+
<td valign="top">
|
44 |
+
<a href="{{store url=""}}">
|
45 |
+
<img src="{{skin url="images/logo_email.gif" _area='frontend'}}" alt="{{var data.store_name}}" style="margin-bottom:10px;" border="0"/>
|
46 |
+
</a>
|
47 |
+
</td>
|
48 |
+
</tr>
|
49 |
+
</table>
|
50 |
+
|
51 |
+
</td>
|
52 |
+
</tr>
|
53 |
+
<tr>
|
54 |
+
<td align="center" valign="top">
|
55 |
+
<!-- [ middle starts here] -->
|
56 |
+
<table cellspacing="0" cellpadding="0" border="0" width="650">
|
57 |
+
<tr>
|
58 |
+
<td valign="top">
|
59 |
+
<p><strong>Bonjour {{var data.recipient_firstname}} {{var data.recipient_lastname}}</strong>,</p>
|
60 |
+
<p>Votre filleul {{var data.godchild_firstname}} {{var data.godchild_lastname}} vous a fait gagner <strong>{{var data.added_points}}</strong> points.</p>
|
61 |
+
<p>Vous disposez maintenant de <strong>{{var data.total_points}}</strong> points.</p>
|
62 |
+
</td>
|
63 |
+
</tr>
|
64 |
+
<tr>
|
65 |
+
<td valign="top">
|
66 |
+
<a href="{{store url=""}}">{{var data.store_name}}</a>
|
67 |
+
</td>
|
68 |
+
</tr>
|
69 |
+
</table>
|
70 |
+
</td>
|
71 |
+
</tr>
|
72 |
+
</table>
|
73 |
+
</div>
|
app/locale/fr_FR/Auguria_Sponsorship.csv
CHANGED
@@ -280,3 +280,4 @@
|
|
280 |
"Your points are valid until the %s","Vos points sont valables jusqu’au %s"
|
281 |
"Your points exchanges:","Vos échanges de points :"
|
282 |
"Your request has been submitted, you will soon receive an email confirmation.","Votre demande a bien été transmise, vous recevrez bientôt un mail de confirmation."
|
|
280 |
"Your points are valid until the %s","Vos points sont valables jusqu’au %s"
|
281 |
"Your points exchanges:","Vos échanges de points :"
|
282 |
"Your request has been submitted, you will soon receive an email confirmation.","Votre demande a bien été transmise, vous recevrez bientôt un mail de confirmation."
|
283 |
+
"* Required Fields", "* Champs obligatoires"
|
media/sponsorship/openinviter/fleurs jaune.jpg
DELETED
Binary file
|
media/sponsorship/openinviter/google.png
DELETED
Binary file
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Auguria_Sponsorship</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
|
7 |
<channel>community</channel>
|
@@ -24,11 +24,11 @@ Once installed, you must:
|
|
24 |
- Create one or several catalog or cart rules for increment fidelity and sponsorship points
|
25 |
- Edit CMS Page on sponsorship information
|
26 |
- If you enable automatic sponsorship recall, activate magento cron</description>
|
27 |
-
<notes>If you have ideas for improvements or find bugs, please send them to Franck Charpentier at www.auguria.net, with Auguria LastReviews as part of the subject line
|
28 |
-
<authors><author><name>Auguria</name><user>
|
29 |
-
<date>
|
30 |
-
<time>13:
|
31 |
-
<contents><target name="magecommunity"><dir name="Auguria"><dir name="Sponsorship"><dir name="Block"><dir name="Adminhtml"><dir name="Change"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="7271b9c47190cdff0b2af24968c4e155"/></dir><file name="Form.php" hash="ae7412b583874b8fffc05cc3897f1a2b"/><file name="Tabs.php" hash="2c8257d215289d5ae86c985f42721650"/></dir><file name="Edit.php" hash="856fb2d016982d1c1f47c462195e7f39"/><file name="Grid.php" hash="39bae596eb7cd73879a5e769d82c00db"/></dir><dir name="Customer"><dir name="Tabs"><file name="Sponsorship.php" hash="a32d0d1979be05d6a37bb928820b6e04"/></dir></dir><dir name="Link"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="89cf7a2479cd6b5606884a73d9122d4a"/></dir><file name="Form.php" hash="e6e087ae96b24d4edbe9e1f578e7a55a"/><file name="Tabs.php" hash="fd3d95a2cfe3e194d26ba94c45353bf1"/></dir><file name="Edit.php" hash="4ecef8c6e59c6642a6b3348ae24d5ab8"/><file name="Grid.php" hash="17bb23c2a473542e44d3e2878c61af58"/></dir><dir name="Openinviter"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="a0f4530da07ba12f9d4aa53c612cca09"/></dir><file name="Form.php" hash="b4bdc64549563f0117f65c66f97d0fb8"/><file name="Tabs.php" hash="a7595c7aab4bb62da7a55674bac936e8"/></dir><file name="Edit.php" hash="79c8c3b6ca7d0e07e9a9cb8ddc18a9c5"/><file name="Grid.php" hash="7c323452ac344c6bb446d90f7c42e11c"/></dir><dir name="Sales"><dir name="Order"><dir name="Invoice"><file name="Totals.php" hash="292697b2443939616b7db683ecfe64d0"/></dir><file name="Totals.php" hash="e174624626a3d4952b257f4a9481f471"/></dir></dir><dir name="Sponsorship"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="ac62217927d4092f047b8fb8b849668f"/></dir><file name="Form.php" hash="a3a2352db1c72663af0caa289287a9d2"/><file name="Tabs.php" hash="88eb68796c7de324dc1cdea77deaa4ae"/></dir><file name="Edit.php" hash="7ae0b40486d27042caa70bf42c747383"/><file name="Grid.php" hash="a10dd155e32fea5c218880211573832d"/></dir><dir name="Widget"><dir name="Grid"><file name="Renderer.php" hash="35c8a336e1a0e2dcc8d48b558cee9253"/></dir></dir><file name="Change.php" hash="b9046a8e50dceaacc6d248471275a9ca"/><file name="Link.php" hash="4c9673d016652b74338b8e5ed49b5240"/><file name="Openinviter.php" hash="2fbf061ee8aaff7ee34a9f5b723d84c0"/><file name="Sponsorship.php" hash="6d133ec629d775d5e23b7967bb7bcc78"/></dir><dir name="Customer"><dir name="Account"><file name="PointsDetail.php" hash="4039776b07ebb525c899c37f65066ef3"/></dir><dir name="Form"><file name="Boost.php" hash="18c1f531695bc529103af1bc4c3394d6"/><file name="PointsChange.php" hash="db26c8991b5ba182662424f94f020cd2"/></dir><dir name="Widget"><file name="Name.php" hash="886513495ba42430c77a640a2f7af42f"/><file name="Virement.php" hash="cafde77d6d5504ae64c63fc9732a3461"/></dir></dir><dir name="Promo"><dir name="Catalog"><dir name="Edit"><dir name="Tab"><file name="Actions.php" hash="f5926196fd291cb45c13b5a8e1c018b6"/></dir></dir></dir><dir name="Quote"><dir name="Edit"><dir name="Tab"><file name="Actions.php" hash="4ff4de9b5e4d5200111d602625f91362"/></dir></dir></dir></dir><dir name="Sales"><dir name="Order"><file name="Totals.php" hash="da373c7bfc6dadefa78f38ac96a0e7c4"/></dir></dir><file name="Openinviter.php" hash="3051e44a791ccab457a37cef01357bd5"/><file name="Sponsorship.php" hash="b38d23fea90cf387b00508c264da736c"/></dir><dir name="Helper"><file name="Config.php" hash="298fc12052cf1473fde5e53ef9595254"/><file name="Data.php" hash="5f928ac8a2e9973a0d3e7cf4ede16969"/><file name="Mail.php" hash="e4c1942582ae354bde08e462c9df888a"/></dir><dir name="Lib"><dir name="OpenInviter"><dir name="conf"><file name="_hosted.conf" hash="1d09309103e660729b492433acda9822"/><file name="abv.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="aol.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="apropo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="atlas.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="aussiemail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="azet.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="badoo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="bebo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="bigstring.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="bookcrossing.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="bordermail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="brazencareerist.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="canoe.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="care2.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="clevergo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="cyworld.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="doramail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="eons.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="evite.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="facebook.conf" hash="12cfb187449596c39774c4ac193295cc"/><file name="faces.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="famiva.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="fastmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="fdcareer.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="flickr.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="flingr.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="flixster.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="fm5.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="freemail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="friendfeed.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="friendster.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="gawab.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="gmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="gmx_net.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="graffiti.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="hi5.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="hotmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="hushmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="hyves.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="inbox.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="india.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="indiatimes.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="inet.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="interia.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="katamail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="kids.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="kincafe.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="konnects.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="koolro.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="lastfm.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="libero.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="linkedin.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="livejournal.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="lovento.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="lycos.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail2world.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail_com.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail_in.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail_ru.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="meinvz.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="meta.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mevio.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="motortopia.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="msn.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="multiply.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="mycatspace.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="mydogspace.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="mynet.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="myspace.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="netaddress.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="netlog.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="ning.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="nz11.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="o2.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="operamail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="orkut.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="perfspot.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="plaxo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="plazes.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="plurk.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="pochta.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="popstarmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="rambler.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="rediff.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="sapo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="skyrock.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="tagged.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="techemail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="terra.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="twitter.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="uk2.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="vimeo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="virgilio.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="vkontakte.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="walla.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="web_de.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="wpl.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="xanga.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="xing.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="xuqa.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="yahoo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="yandex.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="youtube.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="zapak.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/></dir><dir name="images"><file name="ers.gif" hash="cccdfd4ed0795b767d2a01f531781c10"/><file name="oks.gif" hash="6b4b170c9f10a0fa4b25307dd8f47e5b"/></dir><dir name="plugins"><file name="_base.php" hash="79459bef6fcea96f6a7d4a584add9052"/><file name="_hosted.plg.php" hash="69514e56e1833df16884b6762bc620ce"/><file name="abv.plg.php" hash="1685755eae909c468055b9b36c915822"/><file name="aol.plg.php" hash="dd3522033c2cafeb62fd0beed5949bcf"/><file name="apropo.plg.php" hash="4426f976c1953383cf9d1f892aa9576e"/><file name="atlas.plg.php" hash="0b8e4237970ae54ff20187f5e861f972"/><file name="aussiemail.plg.php" hash="d40188b33455b3fd2e88cbde25f61709"/><file name="azet.plg.php" hash="e4a7c19450ca1ad84783a06ae3b1d61f"/><file name="badoo.plg.php" hash="b1d4863a173a80fc9d77331f1e60f2df"/><file name="bebo.plg.php" hash="2d7db898c660380ee74963667bec6bae"/><file name="bigstring.plg.php" hash="7de7a5516a8f0c71580970d8da4121eb"/><file name="bookcrossing.plg.php" hash="212a53a3a95659c56e15d6848549e25e"/><file name="bordermail.plg.php" hash="30190fa3da58d63ddd7e30e6ab0190dc"/><file name="brazencareerist.plg.php" hash="c68f39b6d7a07550abd63ed044ad85c2"/><file name="canoe.plg.php" hash="7737d89b163689cb793f0f37f6028efb"/><file name="care2.plg.php" hash="c066e81973194cca90036c37c7740937"/><file name="clevergo.plg.php" hash="9bd12fea0eb7f60043bcdca9116cb1bc"/><file name="cyworld.plg.php" hash="588dfdddcc2bc9ab2ff26c4616e0a42c"/><file name="doramail.plg.php" hash="81037085958f90a05111ad030c5a72f8"/><file name="eons.plg.php" hash="35009d6e25ae5584c554808b50145a19"/><file name="evite.plg.php" hash="d6c8acf7c24c2848eccedb269928d6eb"/><file name="facebook.plg.php" hash="6a1cfdc0dfc76b3dc3781aa2327ee833"/><file name="faces.plg.php" hash="d0affdf4e73ff6134acfaae5fda29323"/><file name="famiva.plg.php" hash="eee1c0a9a6d645baf014245ca2e9c3e9"/><file name="fastmail.plg.php" hash="da86fea25210ed40258ae2a107dcfe8f"/><file name="fdcareer.plg.php" hash="aad3d525fe09269de056f8ec03e43104"/><file name="flickr.plg.php" hash="055d1e64f116113379e3192b23dc84fc"/><file name="flingr.plg.php" hash="c2b415851babadb8048609874b411979"/><file name="flixster.plg.php" hash="773fad1c2c1775fcb74fb33f51d1fa24"/><file name="fm5.plg.php" hash="0576df91534edaab3d6b333d1968781a"/><file name="freemail.plg.php" hash="142951e9c20ce4447f44c6db7e5cc2e8"/><file name="friendfeed.plg.php" hash="399c987766110735fdd301979997fe48"/><file name="friendster.plg.php" hash="8b3402876a73bf91a84d3a6d8dbb1951"/><file name="gawab.plg.php" hash="c4cb42d893a99b370d9597f20da5c01e"/><file name="gmail.plg.php" hash="83d92f7f75e048210aec2fdecdbd67e0"/><file name="gmx_net.plg.php" hash="218b73370a1367455aeee09695bc4e2a"/><file name="graffiti.plg.php" hash="36f6a6f03fceb9b0e008c1a281a17eb2"/><file name="hi5.plg.php" hash="ba133ae4e865c10f6ce3ddc738751374"/><file name="hotmail.plg.php" hash="ef3241a0a43020412162d8f6dd9dd206"/><file name="hushmail.plg.php" hash="d3f9f339ac03c8aa2426f7a2fe4f2606"/><file name="hyves.plg.php" hash="4dca8f35b17070c42bd16fd86352baf3"/><file name="inbox.plg.php" hash="34066ac6458b6506921e11dde302e3c2"/><file name="india.plg.php" hash="cdd4e86f5b21122b2ebf898eb78b0311"/><file name="indiatimes.plg.php" hash="bbbda190c92579f469f0b4712ba9806f"/><file name="inet.plg.php" hash="6bc3da45b492ba41012b25e501c05273"/><file name="interia.plg.php" hash="3fb3cb41913d12228f162ac32539a848"/><file name="katamail.plg.php" hash="2c2c85f1cab23f236295e5340da10511"/><file name="kids.plg.php" hash="5fae2d825799b0793e2b131162ec8e07"/><file name="kincafe.plg.php" hash="39f0d662293f3db3bd9b0bb9e57b8e27"/><file name="konnects.plg.php" hash="0fd4bc3f8361fb7e5f04d277b4f7f121"/><file name="koolro.plg.php" hash="ebc1936657a99eb8b96ee178d9b7e15c"/><file name="lastfm.plg.php" hash="a293d4bde8a36b1868ddc432e1f201e6"/><file name="libero.plg.php" hash="29cbf372f39d77fd0b62d0777ded4317"/><file name="linkedin.plg.php" hash="a705475d12bb2458d9bad14497211a14"/><file name="livejournal.plg.php" hash="c9c4bd30963d28eee5038841a7d7c788"/><file name="lovento.plg.php" hash="e26c7fe712efdd69fe3788b02ebf514b"/><file name="lycos.plg.php" hash="41a133d41ef4627b353b0f33149629c0"/><file name="mail2world.plg.php" hash="5737b208425e9d03988303d1c20baac6"/><file name="mail_com.plg.php" hash="5d2c20c61d5ba58c4e4c4fc6e162cb20"/><file name="mail_in.plg.php" hash="bf443e42022a368819bcbb788baaa095"/><file name="mail_ru.plg.php" hash="64b7d2daef963b4fd7e72dd969a04cd2"/><file name="meinvz.plg.php" hash="409380a6ca5c70f8f7ae998d37195115"/><file name="meta.plg.php" hash="17bd2e282a8509a14c2d440ea02d8961"/><file name="mevio.plg.php" hash="d175cd50dc07d749e7118a3a3b836800"/><file name="motortopia.plg.php" hash="507c050bb6e0cc73884c427d4745c7a0"/><file name="msn.plg.php" hash="2a205b0556aa7b8908dca3b15017db4f"/><file name="multiply.plg.php" hash="22e5d241084c259a79330eebff508d95"/><file name="mycatspace.plg.php" hash="1282b9619ddfcba5d924c0e31ea74cc7"/><file name="mydogspace.plg.php" hash="be44672096adbe4e2532d0a9df027b5f"/><file name="mynet.plg.php" hash="a2a38a688707957e216d3868c8b1741e"/><file name="myspace.plg.php" hash="bfcabb115825937a9ed4f9745f52ca7e"/><file name="netaddress.plg.php" hash="8e2ccf82123f831b2616c8d3a80f579f"/><file name="netlog.plg.php" hash="246411cc237ef587d31003c03c61b05b"/><file name="ning.plg.php" hash="e59cb73b203a22978ead363c49e48d3d"/><file name="nz11.plg.php" hash="b94995c177198c061b628ddc82d4c7fc"/><file name="o2.plg.php" hash="8e44c5027c493fff7be428ff034f0466"/><file name="operamail.plg.php" hash="5e3a90f0be46b03bcde54eebd76371c9"/><file name="orkut.plg.php" hash="1a291548a82889b36f976bd091260aa5"/><file name="perfspot.plg.php" hash="9d4a9b33f8cf809e5c73bfc517af53db"/><file name="plaxo.plg.php" hash="d640845713388d7c87a206b3f51060f2"/><file name="plazes.plg.php" hash="f6d71432926c126d7f165e6c83a16854"/><file name="plurk.plg.php" hash="e780f5cdd31029cc1b153a1c5b14a965"/><file name="pochta.plg.php" hash="b5732832c05bf982a5950fa32ee4d62a"/><file name="popstarmail.plg.php" hash="a36517a17fa2a461ab890861a4c452fd"/><file name="rambler.plg.php" hash="148cfdfa5b4e5eb2479692dd9f1533a7"/><file name="rediff.plg.php" hash="5679b17973310ecf1ba8b097d3acffaa"/><file name="sapo.plg.php" hash="2bd76d540c454da5f014eba59074e835"/><file name="skyrock.plg.php" hash="1d6113c0c726f48c250160bcc7826aa2"/><file name="tagged.plg.php" hash="1a88811dfd57937db6aece3026f7f99a"/><file name="techemail.plg.php" hash="9894baf3c22e835dbcf62796327d9f99"/><file name="terra.plg.php" hash="094ae4ab8e63dd0f075a860c9aba2094"/><file name="twitter.plg.php" hash="a385725eb41c3cc003c52429295d1355"/><file name="uk2.plg.php" hash="ca5238d090e6a65709302a149caf5ffb"/><file name="vimeo.plg.php" hash="de5ab46f0cc5919b242c5b200f0ef724"/><file name="virgilio.plg.php" hash="38df3729142bd2b40792b7a1793446b7"/><file name="vkontakte.plg.php" hash="7db9b7a03e8f4ee2d2d7f5192ec18912"/><file name="walla.plg.php" hash="5340dda0d54849d2e313ab97015db215"/><file name="web_de.plg.php" hash="d3ed9a0c556f08bc5c67f978c7be4727"/><file name="wpl.plg.php" hash="b151407c39c360f49ffb9ca9fd73b32b"/><file name="xanga.plg.php" hash="89b5c2c3db98e735e4d1f19fb1c81786"/><file name="xing.plg.php" hash="4f89f01bb8bcbc856441cb6ecb2fbe60"/><file name="xuqa.plg.php" hash="1219e94f6ef0919025b2c93741e55fbd"/><file name="yahoo.plg.php" hash="f2953a803d0d61ffce2c9136d1706758"/><file name="yandex.plg.php" hash="2c211df8b0511fb8c832a00976f2cee1"/><file name="youtube.plg.php" hash="fc05c436e6c2dd1c6c8fa336e7e893c5"/><file name="zapak.plg.php" hash="2274bd725d3bda8df0ae9d45d3ce1470"/></dir><file name="LICENSE.txt" hash="277c3d400c7488e54746141297a952cb"/><file name="POLICY.txt" hash="6262372bc84e172c7fd89d9ac61f9794"/><file name="autoupdate.php" hash="df781d645e37271f23432bb82b3360a2"/><file name="config.php" hash="ef7faed0b4b21eb53abfb3127a877fa5"/><file name="notifier.php" hash="88e3be687de995aae52a8ce248c49bce"/><file name="openinviter.php" hash="d2c0237f86cd7c21dadc2c441e73abb1"/><file name="stats.php" hash="5af8362ab3e9f89f5e8560b2623f767a"/></dir><file name="Html2Text.php" hash="4bd5cf3bd59121ffa9d15b9a60a56ca4"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Sponsorship"><file name="Entier.php" hash="cf171a4ec5debf707f182bd0ec09e3a2"/><file name="Float.php" hash="ff5bc3a5019785a1d87bfe9e9e85eeec"/><file name="Mode.php" hash="6fbdbd370813976837cb77369cc36f60"/><file name="NaturalNumber.php" hash="383c3f35a56c6d00d7a23c2c0080481e"/><file name="Openinviter.php" hash="b4ac237d528a505bb389f9b29d2ec486"/></dir></dir><dir name="Source"><file name="Mode.php" hash="79b02420ae291a2a0bfbd3b7b4dbe4c6"/></dir></dir></dir></dir><dir name="Core"><dir name="Email"><file name="Template.php" hash="9394636054f6709f0a41bec9f471b577"/></dir></dir><dir name="Eav"><dir name="Entity"><file name="Setup.php" hash="94056f3946824a5f37fa32efc97a8836"/></dir></dir><dir name="Mysql4"><dir name="CatalogFidelityPoint"><file name="Collection.php" hash="c868af7749d3f4bb3613c24b910a0a01"/></dir><dir name="CatalogSponsorPoint"><file name="Collection.php" hash="a7641c2909bc1bb6709e1fdde41bf3a3"/></dir><dir name="Change"><file name="Collection.php" hash="bdc69d01c3e5d5ef56aa2b4fb895473b"/></dir><dir name="Log"><file name="Collection.php" hash="bdaf560e27eae80a47e17b86b69cc5be"/></dir><dir name="Sponsorship"><file name="Collection.php" hash="4308184c9423622b51ea3cb6ce901eb7"/></dir><dir name="Sponsorshipopeninviter"><file name="Collection.php" hash="92e554ef5e4e989607dc2ce398271aa2"/></dir><file name="CatalogFidelityPoint.php" hash="972dc679be4e776e655ee91da788bfa9"/><file name="CatalogSponsorPoint.php" hash="600b57d8ca471c97338961937aa6d551"/><file name="Change.php" hash="756d869c8993f7bf582964876cdf0bab"/><file name="Log.php" hash="39c4dfcddd04caa6b1d7665eaa8a0ec3"/><file name="Rule.php" hash="afb4dce6ff602c44d69f506ec76c0383"/><file name="Sponsorship.php" hash="23332641f0e4330e44a3f103d8903490"/><file name="Sponsorshipopeninviter.php" hash="151e51e1ac5091f33df564408d3920a8"/></dir><dir name="SocialBookmarking"><file name="Urls.php" hash="8507b7302d5aa76c9b6bc8e1e92e0598"/></dir><dir name="Total"><dir name="Creditmemo"><file name="Discount.php" hash="be82cd179cbda9a7121ec8bf8a5451aa"/></dir><dir name="Invoice"><file name="Discount.php" hash="b0b7dd8c49ce237e9d7eb384170dc118"/></dir><dir name="Quote"><file name="Discount.php" hash="1c3b0e16bb547bc19b9f437fbd54d7c0"/></dir></dir><file name="ApplyValidity.php" hash="79ffbe31be02b062e2649a33e61d68be"/><file name="AutoBoost.php" hash="a8f27a827bc1eaeadb80e78d77df5c6b"/><file name="Change.php" hash="b2c4962c0eba8a8e661fe7231bdea130"/><file name="Changestatut.php" hash="11e5d285ee8ab8d6dce81fd47df89947"/><file name="Log.php" hash="0fb2fa51dd96857c1b75aa88ffd51d84"/><file name="Observer.php" hash="e752a4f25706b0d6251687bed583eda6"/><file name="Openinviter.php" hash="51957bc2f051988ca17538aa0dae2fc8"/><file name="Sponsorship.php" hash="8d8097f19381b803b7e8c9f6a9a4bc4c"/><file name="Sponsorshipopeninviter.php" hash="9552a5df39edcd97f682bf0fb97c48c0"/><file name="Status.php" hash="ad7199148cba19358874c50216c4dfde"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ChangeController.php" hash="6963b3313b4ac5ddb8600bcde4d465b2"/><file name="LinkController.php" hash="ab8ac9481d252a01768a7a6073ad056f"/><file name="OpeninviterController.php" hash="bbe5124ae5c6eb41f3694a54a52691f8"/><file name="SponsorshipController.php" hash="28c9468f489e1f9762ab7d2d5c15954a"/></dir><file name="BoostController.php" hash="d65930c627d96b7640bd1e218c59eafb"/><file name="IndexController.php" hash="cd0c664a1dbf9781affed72c7a3a892e"/><file name="OpeninviterController.php" hash="4fdf8ac078f8c996e129943aa43d35d8"/><file name="PointsController.php" hash="e93a72bdf58fe77a9230c3e7881f08b9"/><file name="SponsorController.php" hash="b81147d898f8903d5167ab0eed14a8ed"/></dir><dir name="etc"><file name="config.xml" hash="6004e304973bf55fd1312fc69d6dd5d3"/><file name="system.xml" hash="7ea9d901d496fd485c91d683f8eb9a71"/></dir><dir name="sql"><dir name="auguria_sponsorship_setup"><file name="mysql4-install-0.1.0.php" hash="42e72e337f78b350e457fbad87594641"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="209b1d59555704d1d203d4f6f345d216"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="93b2f00355c4c524753d57b7d2942bc6"/><file name="mysql4-upgrade-0.1.10-0.1.11.php" hash="d783dd639aa5f388bfd2c30309fbd95d"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="2b031075865307fa65725d9960a7f9d0"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="1d3a1e2e4f4801ec8c1e89f85a308bc9"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="d6ed18d5dfd6e32d802b94907395ebab"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="548b1dcadfb413c949bb8aba2d4f94b7"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="84853debcd7a5334b862d520b1f55e47"/><file name="mysql4-upgrade-0.1.7-0.1.8.php" hash="5040300b9109aef301f080d1b41e4d80"/><file name="mysql4-upgrade-0.1.8-0.1.9.php" hash="d8dbde5d26e4c4ceccb6321dabc2b742"/><file name="mysql4-upgrade-1.0.10-1.1.0.php" hash="e580abc4c388017c77e469f18092da9c"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="47a47f9b34313bc487f49a8be35c1429"/><file name="mysql4-upgrade-1.0.7-1.0.8.php" hash="869fd3f0b144c67d81df7a79644a2885"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="40ce669e7abbeeda11754ad21b099d1c"/><file name="mysql4-upgrade-1.1.0-1.1.1.php" hash="05a79302810930b42b45707af6a2af03"/><file name="mysql4-upgrade-1.1.1-1.1.2.php" hash="fd17577efce7d682cc238d04c6b3db75"/><file name="mysql4-upgrade-1.1.2-1.1.3.php" hash="f63e39c3d9372830942cae2757b1944c"/><file name="mysql4-upgrade-1.1.3-1.1.4.php" hash="5b746c9b0b10c55896a920a82ca16f87"/><file name="mysql4-upgrade-1.1.4-1.1.5.php" hash="f0d2bc8f465e6d79555e4eedc1763b24"/><file name="mysql4-upgrade-1.1.5-1.1.6.php" hash="f95981f2ba8c69c1f5da030e22c4e334"/><file name="mysql4-upgrade-1.1.6-1.1.7.php" hash="8ae766daa9638512d717e312b6dca41c"/><file name="mysql4-upgrade-1.1.7-1.1.8.php" hash="8cd04c3921e305484edc60bd3a2087ac"/><file name="mysql4-upgrade-1.1.8-1.1.9.php" hash="7dfc00ec719161b356e7906c7472dd8b"/><file name="mysql4-upgrade-1.1.9-1.2.0.php" hash="447ca4ba43020737475ed29e354bd600"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="auguria"><file name="sponsorship.xml" hash="371c2611330cb1009d144f8982e1fc7d"/></dir></dir><dir name="template"><dir name="auguria"><dir name="sponsorship"><dir name="customer"><dir name="tabs"><file name="sponsorship.phtml" hash="aab9cbcfd31154d203782aabe46c6082"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="auguria"><file name="sponsorship.xml" hash="843be19ea53724944970776262c323d6"/></dir></dir><dir name="template"><dir name="auguria"><dir name="sponsorship"><dir name="customer"><dir name="account"><dir name="dashboard"><file name="accumulated_points.phtml" hash="4fa4eff30def3f87b229ce0b312268de"/><file name="fidelity_points.phtml" hash="91bd2ce632a8e17b76aaf67d4dce2fa8"/><file name="points.phtml" hash="c779f3966c372a40d77d433d78fcf4eb"/><file name="sponsor_points.phtml" hash="d87849c128855339c696589ecbb0e1d1"/></dir><file name="accumulatedpointsdetail.phtml" hash="eeaf710561b02effb776434f0b783ee8"/><file name="fidelitypointsdetail.phtml" hash="c1a018f8c0f4d1859c7a79558ef33712"/><file name="sponsorpointsdetail.phtml" hash="bb957c677b95d359ea3281bdbd53ea3a"/></dir><dir name="form"><dir name="pointschange"><file name="pointschange_cash.phtml" hash="58adf546a6e8aa93b340a2d1aab50e73"/><file name="pointschange_coupon.phtml" hash="c9704825166c4766471a73e058509409"/><file name="pointschange_gift.phtml" hash="29a244c931252894b98e1a9bf1c40fc4"/></dir><file name="boost.phtml" hash="e5c4a698f08480c262279891cf3b1a65"/><file name="edit.phtml" hash="0cd4878bb98a0de294ebc72dc90e86a6"/><file name="pointschange.phtml" hash="83ef04108e63b4bce003316b6b9cdb18"/><file name="register.phtml" hash="2a9577cee680a5ca8eebd3e2b35d73d5"/></dir><dir name="widget"><file name="name.phtml" hash="bfb8c2e90a4e5af55a6479cc122d67b1"/><file name="virement.phtml" hash="74b9c05d0242aa06b6cc35a9abc23751"/></dir></dir><file name="openinviter.phtml" hash="efec6be43ae79a1abb37b7cbd81be4aa"/><file name="openinviterimport.phtml" hash="8a81b13bf5aaa6b033926fa71736bed0"/><file name="sponsorship.phtml" hash="cc7737d96f469058472e80824cef0caa"/></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Auguria_Sponsorship.xml" hash="2ace21d88c17b2636514543e866169eb"/></dir></dir></dir><dir name="js"><dir name="auguria"><dir name="sponsorship"><file name="table_orderer.js" hash="f23c21e5031d7218f83c9117cf7442eb"/></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><dir name="template"><dir name="email"><dir name="auguria"><dir name="sponsorship"><file name="sponsorship_coupon.html" hash="265d0d49f825eeb40b6c6c3d74ac4dab"/><file name="sponsorship_invitation.html" hash="30fe91c3b83ee223f6bffb3dd779dd26"/><file name="sponsorship_notification.html" hash="fc9958622daabadb1edf728eac927097"/></dir></dir></dir></dir><file name="Auguria_Sponsorship.csv" hash="ddb3be7f26bfd278be193e94e9fa502a"/></dir><dir name="en_US"><dir name="template"><dir name="email"><dir name="auguria"><dir name="sponsorship"><file name="sponsorship_coupon.html" hash="0ca5d0c23070e0a6a9f9822ad9612678"/><file name="sponsorship_invitation.html" hash="30fe91c3b83ee223f6bffb3dd779dd26"/></dir></dir></dir></dir><file name="Auguria_Sponsorship.csv" hash="fbb67ec0b525bb2576544d82d4cee7f1"/></dir><dir name="de_DE"><dir name="template"><dir name="email"><dir name="auguria"><dir name="sponsorship"><file name="sponsorship_coupon.html" hash="087a9a72f7f7c63d4136ff498730382f"/><file name="sponsorship_invitation.html" hash="30fe91c3b83ee223f6bffb3dd779dd26"/></dir></dir></dir></dir><file name="Auguria_Sponsorship.csv" hash="db9b02ed8a00479a96bb83a0a5b9f293"/></dir><dir name="es_ES"><dir name="template"><dir name="email"><dir name="auguria"><dir name="sponsorship"><file name="sponsorship_coupon.html" hash="5918b7eba6d7cdeb8f410de14e7f2329"/><file name="sponsorship_invitation.html" hash="30fe91c3b83ee223f6bffb3dd779dd26"/></dir></dir></dir></dir><file name="Auguria_Sponsorship.csv" hash="e060bf41dc40cafa679e324a530dfa0d"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="auguria"><dir name="sponsorship"><file name="tableorderer.css" hash="d531681dc9605ab5bdc41f24990a4944"/></dir></dir></dir><dir name="images"><dir name="auguria"><dir name="sponsorship"><dir name="tableorderer"><file name="asc.gif" hash="a54846803de3cc786eec3d69f9ac2d38"/><file name="bg.gif" hash="c01ad2e7c59d1a20a433cb873c21bd88"/><file name="bkg_pager.gif" hash="fb7ed019476eaa1643af922b59ede4fb"/><file name="bkg_toolbar.gif" hash="9d8c73339b22615b742ca025ab668900"/><file name="desc.gif" hash="f8a1940c9cf44ab8870319169f3a14ff"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magemedia"><dir name="sponsorship"><dir name="openinviter"><file name="fleurs jaune.jpg" hash="83a9fb1d81d85e5fc7e3b56223e49be5"/><file name="google.png" hash="984d12c20b09458e38b5cdb9d8ba5f67"/><file name="logo_auguria.png" hash="cdbd00ab6efa0ff8e3ce6eaaa07c53ce"/></dir></dir></target></contents>
|
32 |
<compatible/>
|
33 |
-
<dependencies
|
34 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Auguria_Sponsorship</name>
|
4 |
+
<version>1.2.7</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
|
7 |
<channel>community</channel>
|
24 |
- Create one or several catalog or cart rules for increment fidelity and sponsorship points
|
25 |
- Edit CMS Page on sponsorship information
|
26 |
- If you enable automatic sponsorship recall, activate magento cron</description>
|
27 |
+
<notes>If you have ideas for improvements or find bugs, please send them to Franck Charpentier at www.auguria.net, with Auguria LastReviews as part of the subject line. </notes>
|
28 |
+
<authors><author><name>Auguria</name><user>Auguria</user><email>magento@auguria.net</email></author></authors>
|
29 |
+
<date>2012-05-09</date>
|
30 |
+
<time>13:05:07</time>
|
31 |
+
<contents><target name="magecommunity"><dir name="Auguria"><dir name="Sponsorship"><dir name="Block"><dir name="Adminhtml"><dir name="Change"><dir name="Edit"><file name="Form.php" hash="ae7412b583874b8fffc05cc3897f1a2b"/><dir name="Tab"><file name="Form.php" hash="7271b9c47190cdff0b2af24968c4e155"/></dir><file name="Tabs.php" hash="2c8257d215289d5ae86c985f42721650"/></dir><file name="Edit.php" hash="856fb2d016982d1c1f47c462195e7f39"/><file name="Grid.php" hash="39bae596eb7cd73879a5e769d82c00db"/></dir><file name="Change.php" hash="b9046a8e50dceaacc6d248471275a9ca"/><dir name="Customer"><dir name="Tabs"><file name="Sponsorship.php" hash="a32d0d1979be05d6a37bb928820b6e04"/></dir></dir><dir name="Link"><dir name="Edit"><file name="Form.php" hash="e6e087ae96b24d4edbe9e1f578e7a55a"/><dir name="Tab"><file name="Form.php" hash="89cf7a2479cd6b5606884a73d9122d4a"/></dir><file name="Tabs.php" hash="fd3d95a2cfe3e194d26ba94c45353bf1"/></dir><file name="Edit.php" hash="4ecef8c6e59c6642a6b3348ae24d5ab8"/><file name="Grid.php" hash="17bb23c2a473542e44d3e2878c61af58"/></dir><file name="Link.php" hash="4c9673d016652b74338b8e5ed49b5240"/><dir name="Openinviter"><dir name="Edit"><file name="Form.php" hash="b4bdc64549563f0117f65c66f97d0fb8"/><dir name="Tab"><file name="Form.php" hash="a0f4530da07ba12f9d4aa53c612cca09"/></dir><file name="Tabs.php" hash="a7595c7aab4bb62da7a55674bac936e8"/></dir><file name="Edit.php" hash="79c8c3b6ca7d0e07e9a9cb8ddc18a9c5"/><file name="Grid.php" hash="7c323452ac344c6bb446d90f7c42e11c"/></dir><file name="Openinviter.php" hash="2fbf061ee8aaff7ee34a9f5b723d84c0"/><dir name="Sales"><dir name="Order"><dir name="Invoice"><file name="Totals.php" hash="292697b2443939616b7db683ecfe64d0"/></dir><file name="Totals.php" hash="e174624626a3d4952b257f4a9481f471"/></dir></dir><dir name="Sponsorship"><dir name="Edit"><file name="Form.php" hash="a3a2352db1c72663af0caa289287a9d2"/><dir name="Tab"><file name="Form.php" hash="ac62217927d4092f047b8fb8b849668f"/></dir><file name="Tabs.php" hash="88eb68796c7de324dc1cdea77deaa4ae"/></dir><file name="Edit.php" hash="7ae0b40486d27042caa70bf42c747383"/><file name="Grid.php" hash="a10dd155e32fea5c218880211573832d"/></dir><file name="Sponsorship.php" hash="6d133ec629d775d5e23b7967bb7bcc78"/><dir name="Widget"><dir name="Grid"><file name="Renderer.php" hash="35c8a336e1a0e2dcc8d48b558cee9253"/></dir></dir></dir><dir name="Customer"><dir name="Account"><file name="PointsDetail.php" hash="4039776b07ebb525c899c37f65066ef3"/></dir><dir name="Form"><file name="Boost.php" hash="18c1f531695bc529103af1bc4c3394d6"/><file name="PointsChange.php" hash="db26c8991b5ba182662424f94f020cd2"/></dir><dir name="Widget"><file name="Name.php" hash="886513495ba42430c77a640a2f7af42f"/><file name="Virement.php" hash="cafde77d6d5504ae64c63fc9732a3461"/></dir></dir><file name="Openinviter.php" hash="3051e44a791ccab457a37cef01357bd5"/><dir name="Promo"><dir name="Catalog"><dir name="Edit"><dir name="Tab"><file name="Actions.php" hash="f5926196fd291cb45c13b5a8e1c018b6"/></dir></dir></dir><dir name="Quote"><dir name="Edit"><dir name="Tab"><file name="Actions.php" hash="4ff4de9b5e4d5200111d602625f91362"/></dir></dir></dir></dir><dir name="Sales"><dir name="Order"><file name="Totals.php" hash="da373c7bfc6dadefa78f38ac96a0e7c4"/></dir></dir><file name="Sponsorship.php" hash="b38d23fea90cf387b00508c264da736c"/></dir><dir name="Helper"><file name="Config.php" hash="7a5cd1b95ce1ff10959c811d8c4e5c30"/><file name="Data.php" hash="ab6aad8d2d024aceb0530f2a3f2dd42f"/><file name="Mail.php" hash="e4c1942582ae354bde08e462c9df888a"/></dir><dir name="Lib"><file name="Html2Text.php" hash="4bd5cf3bd59121ffa9d15b9a60a56ca4"/><dir name="OpenInviter"><file name="LICENSE.txt" hash="277c3d400c7488e54746141297a952cb"/><file name="POLICY.txt" hash="6262372bc84e172c7fd89d9ac61f9794"/><file name="autoupdate.php" hash="df781d645e37271f23432bb82b3360a2"/><dir name="conf"><file name="_hosted.conf" hash="1d09309103e660729b492433acda9822"/><file name="abv.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="aol.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="apropo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="atlas.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="aussiemail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="azet.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="badoo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="bebo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="bigstring.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="bookcrossing.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="bordermail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="brazencareerist.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="canoe.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="care2.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="clevergo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="cyworld.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="doramail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="eons.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="evite.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="facebook.conf" hash="12cfb187449596c39774c4ac193295cc"/><file name="faces.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="famiva.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="fastmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="fdcareer.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="flickr.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="flingr.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="flixster.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="fm5.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="freemail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="friendfeed.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="friendster.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="gawab.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="gmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="gmx_net.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="graffiti.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="hi5.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="hotmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="hushmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="hyves.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="inbox.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="india.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="indiatimes.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="inet.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="interia.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="katamail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="kids.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="kincafe.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="konnects.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="koolro.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="lastfm.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="libero.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="linkedin.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="livejournal.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="lovento.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="lycos.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail2world.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail_com.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail_in.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mail_ru.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="meinvz.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="meta.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="mevio.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="motortopia.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="msn.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="multiply.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="mycatspace.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="mydogspace.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="mynet.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="myspace.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="netaddress.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="netlog.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="ning.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="nz11.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="o2.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="operamail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="orkut.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="perfspot.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="plaxo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="plazes.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="plurk.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="pochta.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="popstarmail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="rambler.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="rediff.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="sapo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="skyrock.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="tagged.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="techemail.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="terra.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="twitter.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="uk2.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="vimeo.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="virgilio.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="vkontakte.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="walla.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="web_de.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="wpl.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="xanga.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="xing.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="xuqa.conf" hash="6e2fad3c6d126d7da250cb8976a9ad4f"/><file name="yahoo.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="yandex.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="youtube.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/><file name="zapak.conf" hash="42ed0b97cb6919d0cd402831bccc1ea3"/></dir><file name="config.php" hash="6c16534afd6e50dfda0c5be417bd6fe7"/><dir name="images"><file name="ers.gif" hash="cccdfd4ed0795b767d2a01f531781c10"/><file name="oks.gif" hash="6b4b170c9f10a0fa4b25307dd8f47e5b"/></dir><file name="notifier.php" hash="88e3be687de995aae52a8ce248c49bce"/><file name="openinviter.php" hash="d2c0237f86cd7c21dadc2c441e73abb1"/><dir name="plugins"><file name="_base.php" hash="79459bef6fcea96f6a7d4a584add9052"/><file name="_hosted.plg.php" hash="69514e56e1833df16884b6762bc620ce"/><file name="abv.plg.php" hash="1685755eae909c468055b9b36c915822"/><file name="aol.plg.php" hash="dd3522033c2cafeb62fd0beed5949bcf"/><file name="apropo.plg.php" hash="4426f976c1953383cf9d1f892aa9576e"/><file name="atlas.plg.php" hash="0b8e4237970ae54ff20187f5e861f972"/><file name="aussiemail.plg.php" hash="d40188b33455b3fd2e88cbde25f61709"/><file name="azet.plg.php" hash="e4a7c19450ca1ad84783a06ae3b1d61f"/><file name="badoo.plg.php" hash="b1d4863a173a80fc9d77331f1e60f2df"/><file name="bebo.plg.php" hash="2d7db898c660380ee74963667bec6bae"/><file name="bigstring.plg.php" hash="7de7a5516a8f0c71580970d8da4121eb"/><file name="bookcrossing.plg.php" hash="212a53a3a95659c56e15d6848549e25e"/><file name="bordermail.plg.php" hash="30190fa3da58d63ddd7e30e6ab0190dc"/><file name="brazencareerist.plg.php" hash="c68f39b6d7a07550abd63ed044ad85c2"/><file name="canoe.plg.php" hash="7737d89b163689cb793f0f37f6028efb"/><file name="care2.plg.php" hash="c066e81973194cca90036c37c7740937"/><file name="clevergo.plg.php" hash="9bd12fea0eb7f60043bcdca9116cb1bc"/><file name="cyworld.plg.php" hash="588dfdddcc2bc9ab2ff26c4616e0a42c"/><file name="doramail.plg.php" hash="81037085958f90a05111ad030c5a72f8"/><file name="eons.plg.php" hash="35009d6e25ae5584c554808b50145a19"/><file name="evite.plg.php" hash="d6c8acf7c24c2848eccedb269928d6eb"/><file name="facebook.plg.php" hash="6a1cfdc0dfc76b3dc3781aa2327ee833"/><file name="faces.plg.php" hash="d0affdf4e73ff6134acfaae5fda29323"/><file name="famiva.plg.php" hash="eee1c0a9a6d645baf014245ca2e9c3e9"/><file name="fastmail.plg.php" hash="da86fea25210ed40258ae2a107dcfe8f"/><file name="fdcareer.plg.php" hash="aad3d525fe09269de056f8ec03e43104"/><file name="flickr.plg.php" hash="055d1e64f116113379e3192b23dc84fc"/><file name="flingr.plg.php" hash="c2b415851babadb8048609874b411979"/><file name="flixster.plg.php" hash="773fad1c2c1775fcb74fb33f51d1fa24"/><file name="fm5.plg.php" hash="0576df91534edaab3d6b333d1968781a"/><file name="freemail.plg.php" hash="142951e9c20ce4447f44c6db7e5cc2e8"/><file name="friendfeed.plg.php" hash="399c987766110735fdd301979997fe48"/><file name="friendster.plg.php" hash="8b3402876a73bf91a84d3a6d8dbb1951"/><file name="gawab.plg.php" hash="c4cb42d893a99b370d9597f20da5c01e"/><file name="gmail.plg.php" hash="83d92f7f75e048210aec2fdecdbd67e0"/><file name="gmx_net.plg.php" hash="218b73370a1367455aeee09695bc4e2a"/><file name="graffiti.plg.php" hash="36f6a6f03fceb9b0e008c1a281a17eb2"/><file name="hi5.plg.php" hash="ba133ae4e865c10f6ce3ddc738751374"/><file name="hotmail.plg.php" hash="ef3241a0a43020412162d8f6dd9dd206"/><file name="hushmail.plg.php" hash="d3f9f339ac03c8aa2426f7a2fe4f2606"/><file name="hyves.plg.php" hash="4dca8f35b17070c42bd16fd86352baf3"/><file name="inbox.plg.php" hash="34066ac6458b6506921e11dde302e3c2"/><file name="india.plg.php" hash="cdd4e86f5b21122b2ebf898eb78b0311"/><file name="indiatimes.plg.php" hash="bbbda190c92579f469f0b4712ba9806f"/><file name="inet.plg.php" hash="6bc3da45b492ba41012b25e501c05273"/><file name="interia.plg.php" hash="3fb3cb41913d12228f162ac32539a848"/><file name="katamail.plg.php" hash="2c2c85f1cab23f236295e5340da10511"/><file name="kids.plg.php" hash="5fae2d825799b0793e2b131162ec8e07"/><file name="kincafe.plg.php" hash="39f0d662293f3db3bd9b0bb9e57b8e27"/><file name="konnects.plg.php" hash="0fd4bc3f8361fb7e5f04d277b4f7f121"/><file name="koolro.plg.php" hash="ebc1936657a99eb8b96ee178d9b7e15c"/><file name="lastfm.plg.php" hash="a293d4bde8a36b1868ddc432e1f201e6"/><file name="libero.plg.php" hash="29cbf372f39d77fd0b62d0777ded4317"/><file name="linkedin.plg.php" hash="a705475d12bb2458d9bad14497211a14"/><file name="livejournal.plg.php" hash="c9c4bd30963d28eee5038841a7d7c788"/><file name="lovento.plg.php" hash="e26c7fe712efdd69fe3788b02ebf514b"/><file name="lycos.plg.php" hash="41a133d41ef4627b353b0f33149629c0"/><file name="mail2world.plg.php" hash="5737b208425e9d03988303d1c20baac6"/><file name="mail_com.plg.php" hash="5d2c20c61d5ba58c4e4c4fc6e162cb20"/><file name="mail_in.plg.php" hash="bf443e42022a368819bcbb788baaa095"/><file name="mail_ru.plg.php" hash="64b7d2daef963b4fd7e72dd969a04cd2"/><file name="meinvz.plg.php" hash="409380a6ca5c70f8f7ae998d37195115"/><file name="meta.plg.php" hash="17bd2e282a8509a14c2d440ea02d8961"/><file name="mevio.plg.php" hash="d175cd50dc07d749e7118a3a3b836800"/><file name="motortopia.plg.php" hash="507c050bb6e0cc73884c427d4745c7a0"/><file name="msn.plg.php" hash="2a205b0556aa7b8908dca3b15017db4f"/><file name="multiply.plg.php" hash="22e5d241084c259a79330eebff508d95"/><file name="mycatspace.plg.php" hash="1282b9619ddfcba5d924c0e31ea74cc7"/><file name="mydogspace.plg.php" hash="be44672096adbe4e2532d0a9df027b5f"/><file name="mynet.plg.php" hash="a2a38a688707957e216d3868c8b1741e"/><file name="myspace.plg.php" hash="bfcabb115825937a9ed4f9745f52ca7e"/><file name="netaddress.plg.php" hash="8e2ccf82123f831b2616c8d3a80f579f"/><file name="netlog.plg.php" hash="246411cc237ef587d31003c03c61b05b"/><file name="ning.plg.php" hash="e59cb73b203a22978ead363c49e48d3d"/><file name="nz11.plg.php" hash="b94995c177198c061b628ddc82d4c7fc"/><file name="o2.plg.php" hash="8e44c5027c493fff7be428ff034f0466"/><file name="operamail.plg.php" hash="5e3a90f0be46b03bcde54eebd76371c9"/><file name="orkut.plg.php" hash="1a291548a82889b36f976bd091260aa5"/><file name="perfspot.plg.php" hash="9d4a9b33f8cf809e5c73bfc517af53db"/><file name="plaxo.plg.php" hash="d640845713388d7c87a206b3f51060f2"/><file name="plazes.plg.php" hash="f6d71432926c126d7f165e6c83a16854"/><file name="plurk.plg.php" hash="e780f5cdd31029cc1b153a1c5b14a965"/><file name="pochta.plg.php" hash="b5732832c05bf982a5950fa32ee4d62a"/><file name="popstarmail.plg.php" hash="a36517a17fa2a461ab890861a4c452fd"/><file name="rambler.plg.php" hash="148cfdfa5b4e5eb2479692dd9f1533a7"/><file name="rediff.plg.php" hash="5679b17973310ecf1ba8b097d3acffaa"/><file name="sapo.plg.php" hash="2bd76d540c454da5f014eba59074e835"/><file name="skyrock.plg.php" hash="1d6113c0c726f48c250160bcc7826aa2"/><file name="tagged.plg.php" hash="1a88811dfd57937db6aece3026f7f99a"/><file name="techemail.plg.php" hash="9894baf3c22e835dbcf62796327d9f99"/><file name="terra.plg.php" hash="094ae4ab8e63dd0f075a860c9aba2094"/><file name="twitter.plg.php" hash="a385725eb41c3cc003c52429295d1355"/><file name="uk2.plg.php" hash="ca5238d090e6a65709302a149caf5ffb"/><file name="vimeo.plg.php" hash="de5ab46f0cc5919b242c5b200f0ef724"/><file name="virgilio.plg.php" hash="38df3729142bd2b40792b7a1793446b7"/><file name="vkontakte.plg.php" hash="7db9b7a03e8f4ee2d2d7f5192ec18912"/><file name="walla.plg.php" hash="5340dda0d54849d2e313ab97015db215"/><file name="web_de.plg.php" hash="d3ed9a0c556f08bc5c67f978c7be4727"/><file name="wpl.plg.php" hash="b151407c39c360f49ffb9ca9fd73b32b"/><file name="xanga.plg.php" hash="89b5c2c3db98e735e4d1f19fb1c81786"/><file name="xing.plg.php" hash="4f89f01bb8bcbc856441cb6ecb2fbe60"/><file name="xuqa.plg.php" hash="1219e94f6ef0919025b2c93741e55fbd"/><file name="yahoo.plg.php" hash="f2953a803d0d61ffce2c9136d1706758"/><file name="yandex.plg.php" hash="2c211df8b0511fb8c832a00976f2cee1"/><file name="youtube.plg.php" hash="fc05c436e6c2dd1c6c8fa336e7e893c5"/><file name="zapak.plg.php" hash="2274bd725d3bda8df0ae9d45d3ce1470"/></dir><file name="stats.php" hash="5af8362ab3e9f89f5e8560b2623f767a"/></dir></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Sponsorship"><file name="Entier.php" hash="cf171a4ec5debf707f182bd0ec09e3a2"/><file name="Float.php" hash="ff5bc3a5019785a1d87bfe9e9e85eeec"/><file name="Mode.php" hash="6fbdbd370813976837cb77369cc36f60"/><file name="NaturalNumber.php" hash="383c3f35a56c6d00d7a23c2c0080481e"/><file name="Openinviter.php" hash="b4ac237d528a505bb389f9b29d2ec486"/></dir></dir><dir name="Source"><file name="Mode.php" hash="79b02420ae291a2a0bfbd3b7b4dbe4c6"/></dir></dir></dir></dir><file name="ApplyValidity.php" hash="79ffbe31be02b062e2649a33e61d68be"/><file name="AutoBoost.php" hash="a8f27a827bc1eaeadb80e78d77df5c6b"/><file name="Change.php" hash="b2c4962c0eba8a8e661fe7231bdea130"/><file name="Changestatut.php" hash="11e5d285ee8ab8d6dce81fd47df89947"/><dir name="Core"><dir name="Email"><file name="Template.php" hash="9394636054f6709f0a41bec9f471b577"/></dir></dir><dir name="Eav"><dir name="Entity"><file name="Setup.php" hash="94056f3946824a5f37fa32efc97a8836"/></dir></dir><file name="Log.php" hash="0fb2fa51dd96857c1b75aa88ffd51d84"/><dir name="Mysql4"><dir name="CatalogFidelityPoint"><file name="Collection.php" hash="c868af7749d3f4bb3613c24b910a0a01"/></dir><file name="CatalogFidelityPoint.php" hash="972dc679be4e776e655ee91da788bfa9"/><dir name="CatalogSponsorPoint"><file name="Collection.php" hash="a7641c2909bc1bb6709e1fdde41bf3a3"/></dir><file name="CatalogSponsorPoint.php" hash="600b57d8ca471c97338961937aa6d551"/><dir name="Change"><file name="Collection.php" hash="bdc69d01c3e5d5ef56aa2b4fb895473b"/></dir><file name="Change.php" hash="756d869c8993f7bf582964876cdf0bab"/><dir name="Log"><file name="Collection.php" hash="bdaf560e27eae80a47e17b86b69cc5be"/></dir><file name="Log.php" hash="39c4dfcddd04caa6b1d7665eaa8a0ec3"/><file name="Rule.php" hash="afb4dce6ff602c44d69f506ec76c0383"/><dir name="Sponsorship"><file name="Collection.php" hash="4308184c9423622b51ea3cb6ce901eb7"/></dir><file name="Sponsorship.php" hash="23332641f0e4330e44a3f103d8903490"/><dir name="Sponsorshipopeninviter"><file name="Collection.php" hash="92e554ef5e4e989607dc2ce398271aa2"/></dir><file name="Sponsorshipopeninviter.php" hash="151e51e1ac5091f33df564408d3920a8"/></dir><file name="Observer.php" hash="7cdf23d6eab908b49e34e56cdfdc901b"/><file name="Openinviter.php" hash="51957bc2f051988ca17538aa0dae2fc8"/><dir name="SocialBookmarking"><file name="Urls.php" hash="8507b7302d5aa76c9b6bc8e1e92e0598"/></dir><file name="Sponsorship.php" hash="8d8097f19381b803b7e8c9f6a9a4bc4c"/><file name="Sponsorshipopeninviter.php" hash="9552a5df39edcd97f682bf0fb97c48c0"/><file name="Status.php" hash="ad7199148cba19358874c50216c4dfde"/><dir name="Total"><dir name="Creditmemo"><file name="Discount.php" hash="be82cd179cbda9a7121ec8bf8a5451aa"/></dir><dir name="Invoice"><file name="Discount.php" hash="b0b7dd8c49ce237e9d7eb384170dc118"/></dir><dir name="Quote"><file name="Discount.php" hash="5ab538c21cf2fad71ff077be9c40591e"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ChangeController.php" hash="6963b3313b4ac5ddb8600bcde4d465b2"/><file name="LinkController.php" hash="ab8ac9481d252a01768a7a6073ad056f"/><file name="OpeninviterController.php" hash="bbe5124ae5c6eb41f3694a54a52691f8"/><file name="SponsorshipController.php" hash="28c9468f489e1f9762ab7d2d5c15954a"/></dir><file name="BoostController.php" hash="d65930c627d96b7640bd1e218c59eafb"/><file name="IndexController.php" hash="cd0c664a1dbf9781affed72c7a3a892e"/><file name="OpeninviterController.php" hash="4fdf8ac078f8c996e129943aa43d35d8"/><file name="PointsController.php" hash="2e5de58a63703573c8a23703ab8c6de9"/><file name="SponsorController.php" hash="b81147d898f8903d5167ab0eed14a8ed"/></dir><dir name="etc"><file name="config.xml" hash="bfbc76d11e17ff1741828775d67b7585"/><file name="system.xml" hash="7ea9d901d496fd485c91d683f8eb9a71"/></dir><dir name="sql"><dir name="auguria_sponsorship_setup"><file name="mysql4-install-0.1.0.php" hash="097cbb4d980ca504738458bbc621205e"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="209b1d59555704d1d203d4f6f345d216"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="93b2f00355c4c524753d57b7d2942bc6"/><file name="mysql4-upgrade-0.1.10-0.1.11.php" hash="d783dd639aa5f388bfd2c30309fbd95d"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="2b031075865307fa65725d9960a7f9d0"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="1d3a1e2e4f4801ec8c1e89f85a308bc9"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="d6ed18d5dfd6e32d802b94907395ebab"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="548b1dcadfb413c949bb8aba2d4f94b7"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="84853debcd7a5334b862d520b1f55e47"/><file name="mysql4-upgrade-0.1.7-0.1.8.php" hash="5040300b9109aef301f080d1b41e4d80"/><file name="mysql4-upgrade-0.1.8-0.1.9.php" hash="d8dbde5d26e4c4ceccb6321dabc2b742"/><file name="mysql4-upgrade-1.0.10-1.1.0.php" hash="e580abc4c388017c77e469f18092da9c"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="47a47f9b34313bc487f49a8be35c1429"/><file name="mysql4-upgrade-1.0.7-1.0.8.php" hash="869fd3f0b144c67d81df7a79644a2885"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="40ce669e7abbeeda11754ad21b099d1c"/><file name="mysql4-upgrade-1.1.0-1.1.1.php" hash="05a79302810930b42b45707af6a2af03"/><file name="mysql4-upgrade-1.1.1-1.1.2.php" hash="fd17577efce7d682cc238d04c6b3db75"/><file name="mysql4-upgrade-1.1.2-1.1.3.php" hash="f63e39c3d9372830942cae2757b1944c"/><file name="mysql4-upgrade-1.1.3-1.1.4.php" hash="5b746c9b0b10c55896a920a82ca16f87"/><file name="mysql4-upgrade-1.1.4-1.1.5.php" hash="f0d2bc8f465e6d79555e4eedc1763b24"/><file name="mysql4-upgrade-1.1.5-1.1.6.php" hash="f95981f2ba8c69c1f5da030e22c4e334"/><file name="mysql4-upgrade-1.1.6-1.1.7.php" hash="8ae766daa9638512d717e312b6dca41c"/><file name="mysql4-upgrade-1.1.7-1.1.8.php" hash="8cd04c3921e305484edc60bd3a2087ac"/><file name="mysql4-upgrade-1.1.8-1.1.9.php" hash="7dfc00ec719161b356e7906c7472dd8b"/><file name="mysql4-upgrade-1.1.9-1.2.0.php" hash="447ca4ba43020737475ed29e354bd600"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="auguria"><file name="sponsorship.xml" hash="371c2611330cb1009d144f8982e1fc7d"/></dir></dir><dir name="template"><dir name="auguria"><dir name="sponsorship"><dir name="customer"><dir name="tabs"><file name="sponsorship.phtml" hash="aab9cbcfd31154d203782aabe46c6082"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="auguria"><file name="sponsorship.xml" hash="be78e39f3daadc45aa1b1d3aa05f6187"/></dir></dir><dir name="template"><dir name="auguria"><dir name="sponsorship"><dir name="customer"><dir name="account"><file name="accumulatedpointsdetail.phtml" hash="eeaf710561b02effb776434f0b783ee8"/><dir name="dashboard"><file name="accumulated_points.phtml" hash="4fa4eff30def3f87b229ce0b312268de"/><file name="fidelity_points.phtml" hash="91bd2ce632a8e17b76aaf67d4dce2fa8"/><file name="points.phtml" hash="c779f3966c372a40d77d433d78fcf4eb"/><file name="sponsor_points.phtml" hash="d87849c128855339c696589ecbb0e1d1"/></dir><file name="fidelitypointsdetail.phtml" hash="c1a018f8c0f4d1859c7a79558ef33712"/><file name="sponsorpointsdetail.phtml" hash="bb957c677b95d359ea3281bdbd53ea3a"/></dir><dir name="form"><file name="boost.phtml" hash="e5c4a698f08480c262279891cf3b1a65"/><file name="edit.phtml" hash="0cd4878bb98a0de294ebc72dc90e86a6"/><dir name="pointschange"><file name="pointschange_cash.phtml" hash="58adf546a6e8aa93b340a2d1aab50e73"/><file name="pointschange_coupon.phtml" hash="c9704825166c4766471a73e058509409"/><file name="pointschange_gift.phtml" hash="29a244c931252894b98e1a9bf1c40fc4"/></dir><file name="pointschange.phtml" hash="83ef04108e63b4bce003316b6b9cdb18"/><file name="register.phtml" hash="2a9577cee680a5ca8eebd3e2b35d73d5"/></dir><dir name="widget"><file name="name.phtml" hash="bfb8c2e90a4e5af55a6479cc122d67b1"/><file name="virement.phtml" hash="74b9c05d0242aa06b6cc35a9abc23751"/></dir></dir><file name="openinviter.phtml" hash="efec6be43ae79a1abb37b7cbd81be4aa"/><file name="openinviterimport.phtml" hash="8a81b13bf5aaa6b033926fa71736bed0"/><file name="sponsorship.phtml" hash="cc7737d96f469058472e80824cef0caa"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Auguria_Sponsorship.xml" hash="2ace21d88c17b2636514543e866169eb"/></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Auguria_Sponsorship.csv" hash="6cb82452606577ce1ed83f6a758d3580"/><dir name="template"><dir name="email"><dir name="auguria"><dir name="sponsorship"><file name="sponsorship_coupon.html" hash="265d0d49f825eeb40b6c6c3d74ac4dab"/><file name="sponsorship_invitation.html" hash="30fe91c3b83ee223f6bffb3dd779dd26"/><file name="sponsorship_notification.html" hash="fc9958622daabadb1edf728eac927097"/></dir></dir></dir></dir></dir><dir name="en_US"><file name="Auguria_Sponsorship.csv" hash="fbb67ec0b525bb2576544d82d4cee7f1"/><dir name="template"><dir name="email"><dir name="auguria"><dir name="sponsorship"><file name="sponsorship_coupon.html" hash="0ca5d0c23070e0a6a9f9822ad9612678"/><file name="sponsorship_invitation.html" hash="30fe91c3b83ee223f6bffb3dd779dd26"/><file name="sponsorship_notification.html" hash="fc9958622daabadb1edf728eac927097"/></dir></dir></dir></dir></dir><dir name="de_DE"><file name="Auguria_Sponsorship.csv" hash="db9b02ed8a00479a96bb83a0a5b9f293"/><dir name="template"><dir name="email"><dir name="auguria"><dir name="sponsorship"><file name="sponsorship_coupon.html" hash="087a9a72f7f7c63d4136ff498730382f"/><file name="sponsorship_invitation.html" hash="30fe91c3b83ee223f6bffb3dd779dd26"/><file name="sponsorship_notification.html" hash="fc9958622daabadb1edf728eac927097"/></dir></dir></dir></dir></dir><dir name="es_ES"><file name="Auguria_Sponsorship.csv" hash="e060bf41dc40cafa679e324a530dfa0d"/><dir name="template"><dir name="email"><dir name="auguria"><dir name="sponsorship"><file name="sponsorship_coupon.html" hash="5918b7eba6d7cdeb8f410de14e7f2329"/><file name="sponsorship_invitation.html" hash="30fe91c3b83ee223f6bffb3dd779dd26"/><file name="sponsorship_notification.html" hash="fc9958622daabadb1edf728eac927097"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="auguria"><dir name="sponsorship"><file name="tableorderer.css" hash="d531681dc9605ab5bdc41f24990a4944"/></dir></dir></dir><dir name="images"><dir name="auguria"><dir name="sponsorship"><dir name="tableorderer"><file name="asc.gif" hash="a54846803de3cc786eec3d69f9ac2d38"/><file name="bg.gif" hash="c01ad2e7c59d1a20a433cb873c21bd88"/><file name="bkg_pager.gif" hash="fb7ed019476eaa1643af922b59ede4fb"/><file name="bkg_toolbar.gif" hash="9d8c73339b22615b742ca025ab668900"/><file name="desc.gif" hash="f8a1940c9cf44ab8870319169f3a14ff"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="auguria"><dir name="sponsorship"><file name="table_orderer.js" hash="f23c21e5031d7218f83c9117cf7442eb"/></dir></dir></dir></target><target name="magemedia"><dir name="sponsorship"><dir name="openinviter"><file name="logo_auguria.png" hash="cdbd00ab6efa0ff8e3ce6eaaa07c53ce"/></dir></dir></target></contents>
|
32 |
<compatible/>
|
33 |
+
<dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php><extension><name>PDO</name><min></min><max></max></extension></required></dependencies>
|
34 |
</package>
|