Auguria_Sponsorship - Version 1.2.8

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.8
Comparing to
See all releases


Code changes from version 1.2.7 to 1.2.8

Files changed (24) hide show
  1. app/code/community/Auguria/Sponsorship/Block/Customer/Account/PointsDetail.php +37 -52
  2. app/code/community/Auguria/Sponsorship/etc/config.xml +1 -1
  3. app/design/frontend/base/default/layout/auguria/sponsorship.xml +6 -6
  4. app/design/frontend/base/default/template/auguria/sponsorship/customer/account/accumulatedpointsdetail.phtml +349 -243
  5. app/design/frontend/base/default/template/auguria/sponsorship/customer/account/fidelitypointsdetail.phtml +193 -106
  6. app/design/frontend/base/default/template/auguria/sponsorship/customer/account/sponsorpointsdetail.phtml +348 -230
  7. app/locale/fr_FR/Auguria_Sponsorship.csv +270 -273
  8. js/auguria/sponsorship/sorter.js +1 -0
  9. js/auguria/sponsorship/table_orderer.js +0 -574
  10. package.xml +4 -4
  11. skin/frontend/base/default/css/auguria/sponsorship/sorter.css +76 -0
  12. skin/frontend/base/default/css/auguria/sponsorship/tableorderer.css +0 -44
  13. skin/frontend/base/default/images/auguria/sponsorship/sorter/asc.gif +0 -0
  14. skin/frontend/base/default/images/auguria/sponsorship/sorter/desc.gif +0 -0
  15. skin/frontend/base/default/images/auguria/sponsorship/sorter/first.gif +0 -0
  16. skin/frontend/base/default/images/auguria/sponsorship/sorter/last.gif +0 -0
  17. skin/frontend/base/default/images/auguria/sponsorship/sorter/next.gif +0 -0
  18. skin/frontend/base/default/images/auguria/sponsorship/sorter/previous.gif +0 -0
  19. skin/frontend/base/default/images/auguria/sponsorship/sorter/sorter.gif +0 -0
  20. skin/frontend/base/default/images/auguria/sponsorship/tableorderer/asc.gif +0 -0
  21. skin/frontend/base/default/images/auguria/sponsorship/tableorderer/bg.gif +0 -0
  22. skin/frontend/base/default/images/auguria/sponsorship/tableorderer/bkg_pager.gif +0 -0
  23. skin/frontend/base/default/images/auguria/sponsorship/tableorderer/bkg_toolbar.gif +0 -0
  24. skin/frontend/base/default/images/auguria/sponsorship/tableorderer/desc.gif +0 -0
app/code/community/Auguria/Sponsorship/Block/Customer/Account/PointsDetail.php CHANGED
@@ -15,7 +15,7 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
15
  /**
16
  * Fidelity configuration
17
  */
18
-
19
  public function isFidelityChangeEnabled ()
20
  {
21
  $isEnable = false;
@@ -30,7 +30,7 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
30
  }
31
  return $isEnable;
32
  }
33
-
34
  public function getFidelityEnabledConfig ()
35
  {
36
  return Mage::helper('auguria_sponsorship/config')->isFidelityEnabled();
@@ -71,11 +71,11 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
71
  $fidelity_points_to_cash = Mage::getStoreConfig('auguria_sponsorship/fidelity/fidelity_points_to_cash');
72
  return $fidelity_points_to_cash;
73
  }
74
-
75
  /**
76
  * Sponsorship configuration
77
  */
78
-
79
  public function isSponsorChangeEnabled ()
80
  {
81
  $isEnable = false;
@@ -125,17 +125,17 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
125
  $sponsor_time_max_cash = Mage::getStoreConfig('auguria_sponsorship/sponsor/sponsor_time_max_cash');
126
  return $sponsor_time_max_cash;
127
  }
128
-
129
  public function getSponsorPointsToCashConfig ()
130
  {
131
  $sponsor_points_to_cash = Mage::getStoreConfig('auguria_sponsorship/sponsor/sponsor_points_to_cash');
132
  return $sponsor_points_to_cash;
133
  }
134
-
135
  /**
136
  * Accumulated configuration
137
  */
138
-
139
  public function isAccumulatedChangeEnabled ()
140
  {
141
  $isEnable = false;
@@ -150,7 +150,7 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
150
  }
151
  return $isEnable;
152
  }
153
-
154
  public function getAccumulatedEnabledConfig ()
155
  {
156
  return Mage::helper('auguria_sponsorship/config')->isAccumulatedEnabled();
@@ -185,15 +185,15 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
185
  $accumulated_time_max_cash = Mage::getStoreConfig('auguria_sponsorship/accumulated/time_max_cash');
186
  return $accumulated_time_max_cash;
187
  }
188
-
189
  public function getAccumulatedPointsToCashConfig ()
190
  {
191
  $accumulated_points_to_cash = Mage::getStoreConfig('auguria_sponsorship/accumulated/points_to_cash');
192
  return $accumulated_points_to_cash;
193
  }
194
-
195
-
196
-
197
 
198
  public function getUserId()
199
  {
@@ -208,6 +208,7 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
208
  $parrains = Mage::getModel("customer/customer")
209
  ->getCollection()
210
  ->addNameToSelect()
 
211
  ->addAttributeToFilter('sponsor', $this->getUserId());
212
  $parrains = $parrains->getData();
213
  return $parrains;
@@ -235,7 +236,7 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
235
  }
236
  else {
237
  return null;
238
- }
239
  }
240
 
241
  public function getCommandes()
@@ -252,7 +253,7 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
252
  {
253
  $order = Mage::getModel("sales/order")->load($orderId);
254
  $points = 0;
255
-
256
  foreach ($order->getAllItems() as $item)
257
  {
258
  $points = $points + $item->getCartFidelityPoints() + $item->getCatalogFidelityPoints();
@@ -264,7 +265,7 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
264
  {
265
  $order = Mage::getModel("sales/order")->load($orderId);
266
  $points = 0;
267
-
268
  foreach ($order->getAllItems() as $item)
269
  {
270
  $points = $points + $item->getCartFidelityPoints() + $item->getCatalogFidelityPoints()+ $item->getCartSponsorPoints() + $item->getCatalogSponsorPoints();
@@ -276,7 +277,7 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
276
  {
277
  $order = Mage::getModel("sales/order")->load($orderId);
278
  $points = 0;
279
-
280
  foreach ($order->getAllItems() as $item)
281
  {
282
  $points = $points + $item->getCartSponsorPoints() + $item->getCatalogSponsorPoints();
@@ -348,22 +349,22 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
348
  //->setPageSize(5);
349
  return $changes;
350
  }
351
-
352
  public function getPointsMovement()
353
  {
354
  $logs = Mage::getResourceModel('auguria_sponsorship/log_collection');
355
  $logs->getSelect()->where('sponsor_id = ?', $this->getUserId());
356
  $logs->getSelect()->orWhere('customer_id = ?', $this->getUserId());
357
- return $logs;
358
  }
359
-
360
  public function getAccumulatedPointsValue($points)
361
  {
362
  $pointsToCash = Mage::helper('auguria_sponsorship/config')->getPointsToCash('accumulated');
363
  $result = $pointsToCash['accumulated']*$points;
364
  return $result;
365
  }
366
-
367
  public function isAccumulatedValidityEnabled()
368
  {
369
  $validity = Mage::helper('auguria_sponsorship/config')->getPointsValidity('accumulated');
@@ -372,12 +373,12 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
372
  }
373
  return false;
374
  }
375
-
376
  public function getAccumulatedValidity()
377
- {
378
  return $this->formatDate($this->getCustomer()->getPointsValidity(), Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM);
379
  }
380
-
381
  public function getAccumulatedMovementType($movement)
382
  {
383
  if ($movement->getRecordType()=='order' && $movement->getPoints()>0) {
@@ -429,41 +430,25 @@ class Auguria_Sponsorship_Block_Customer_Account_PointsDetail extends Mage_Custo
429
  return $this->__('Movement');
430
  }
431
  }
432
-
433
  public function getInvits()
434
  {
435
  $resource = Mage::getSingleton('core/resource');
436
  $read = $resource->getConnection('core_read');
437
  $datetime = Mage::getModel('core/date')->gmtDate();
438
  $select = $read->select()
439
- ->from(Array("s"=>$resource->getTableName('auguria_sponsorship/sponsorship')),
440
- Array("*"=>"s.*"))
441
- ->where('s.parent_id=?', $this->getUserId())
442
- ->where('TO_DAYS("'.$datetime.'") - TO_DAYS(s.datetime) <= ?', Mage::getStoreConfig('auguria_sponsorship/invitation/sponsor_invitation_validity'))
443
- ->where('s.child_mail NOT IN ?', new Zend_Db_Expr('(select ce.email from '.$resource->getTableName('customer_entity').' ce
444
- LEFT JOIN '.$resource->getTableName('eav_attribute').' AS ea ON ce.entity_type_id = ea.entity_type_id AND ea.backend_type = "int" AND ea.attribute_code = "sponsor"
445
- LEFT JOIN '.$resource->getTableName('customer_entity_int').' AS cev ON ce.entity_id = cev.entity_id AND ea.attribute_id = cev.attribute_id
446
- WHERE cev.value IS NOT NULL
447
- )'))
448
- ->where('s.datetime = ?', new Zend_Db_Expr('(select max(sp.datetime) from '.$resource->getTableName('auguria_sponsorship/sponsorship').' sp where sp.parent_id=s.parent_id and sp.child_mail = s.child_mail)'));
 
 
449
  return $read->fetchAll($select);
450
  }
451
-
452
- /**
453
- *
454
- * Check if customer navigator is ie8
455
- * @return boolean
456
- */
457
- public function isIe8()
458
- {
459
- $match=preg_match('/MSIE ([0-9]\.[0-9])/',$_SERVER['HTTP_USER_AGENT'],$reg);
460
- if ($match!=0 && floatval($reg[1]) == 8)
461
- {
462
- return true;
463
- }
464
- else
465
- {
466
- return false;
467
- }
468
- }
469
  }
15
  /**
16
  * Fidelity configuration
17
  */
18
+
19
  public function isFidelityChangeEnabled ()
20
  {
21
  $isEnable = false;
30
  }
31
  return $isEnable;
32
  }
33
+
34
  public function getFidelityEnabledConfig ()
35
  {
36
  return Mage::helper('auguria_sponsorship/config')->isFidelityEnabled();
71
  $fidelity_points_to_cash = Mage::getStoreConfig('auguria_sponsorship/fidelity/fidelity_points_to_cash');
72
  return $fidelity_points_to_cash;
73
  }
74
+
75
  /**
76
  * Sponsorship configuration
77
  */
78
+
79
  public function isSponsorChangeEnabled ()
80
  {
81
  $isEnable = false;
125
  $sponsor_time_max_cash = Mage::getStoreConfig('auguria_sponsorship/sponsor/sponsor_time_max_cash');
126
  return $sponsor_time_max_cash;
127
  }
128
+
129
  public function getSponsorPointsToCashConfig ()
130
  {
131
  $sponsor_points_to_cash = Mage::getStoreConfig('auguria_sponsorship/sponsor/sponsor_points_to_cash');
132
  return $sponsor_points_to_cash;
133
  }
134
+
135
  /**
136
  * Accumulated configuration
137
  */
138
+
139
  public function isAccumulatedChangeEnabled ()
140
  {
141
  $isEnable = false;
150
  }
151
  return $isEnable;
152
  }
153
+
154
  public function getAccumulatedEnabledConfig ()
155
  {
156
  return Mage::helper('auguria_sponsorship/config')->isAccumulatedEnabled();
185
  $accumulated_time_max_cash = Mage::getStoreConfig('auguria_sponsorship/accumulated/time_max_cash');
186
  return $accumulated_time_max_cash;
187
  }
188
+
189
  public function getAccumulatedPointsToCashConfig ()
190
  {
191
  $accumulated_points_to_cash = Mage::getStoreConfig('auguria_sponsorship/accumulated/points_to_cash');
192
  return $accumulated_points_to_cash;
193
  }
194
+
195
+
196
+
197
 
198
  public function getUserId()
199
  {
208
  $parrains = Mage::getModel("customer/customer")
209
  ->getCollection()
210
  ->addNameToSelect()
211
+ ->addAttributeToSort('created_at', 'desc')
212
  ->addAttributeToFilter('sponsor', $this->getUserId());
213
  $parrains = $parrains->getData();
214
  return $parrains;
236
  }
237
  else {
238
  return null;
239
+ }
240
  }
241
 
242
  public function getCommandes()
253
  {
254
  $order = Mage::getModel("sales/order")->load($orderId);
255
  $points = 0;
256
+
257
  foreach ($order->getAllItems() as $item)
258
  {
259
  $points = $points + $item->getCartFidelityPoints() + $item->getCatalogFidelityPoints();
265
  {
266
  $order = Mage::getModel("sales/order")->load($orderId);
267
  $points = 0;
268
+
269
  foreach ($order->getAllItems() as $item)
270
  {
271
  $points = $points + $item->getCartFidelityPoints() + $item->getCatalogFidelityPoints()+ $item->getCartSponsorPoints() + $item->getCatalogSponsorPoints();
277
  {
278
  $order = Mage::getModel("sales/order")->load($orderId);
279
  $points = 0;
280
+
281
  foreach ($order->getAllItems() as $item)
282
  {
283
  $points = $points + $item->getCartSponsorPoints() + $item->getCatalogSponsorPoints();
349
  //->setPageSize(5);
350
  return $changes;
351
  }
352
+
353
  public function getPointsMovement()
354
  {
355
  $logs = Mage::getResourceModel('auguria_sponsorship/log_collection');
356
  $logs->getSelect()->where('sponsor_id = ?', $this->getUserId());
357
  $logs->getSelect()->orWhere('customer_id = ?', $this->getUserId());
358
+ return $logs;
359
  }
360
+
361
  public function getAccumulatedPointsValue($points)
362
  {
363
  $pointsToCash = Mage::helper('auguria_sponsorship/config')->getPointsToCash('accumulated');
364
  $result = $pointsToCash['accumulated']*$points;
365
  return $result;
366
  }
367
+
368
  public function isAccumulatedValidityEnabled()
369
  {
370
  $validity = Mage::helper('auguria_sponsorship/config')->getPointsValidity('accumulated');
373
  }
374
  return false;
375
  }
376
+
377
  public function getAccumulatedValidity()
378
+ {
379
  return $this->formatDate($this->getCustomer()->getPointsValidity(), Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM);
380
  }
381
+
382
  public function getAccumulatedMovementType($movement)
383
  {
384
  if ($movement->getRecordType()=='order' && $movement->getPoints()>0) {
430
  return $this->__('Movement');
431
  }
432
  }
433
+
434
  public function getInvits()
435
  {
436
  $resource = Mage::getSingleton('core/resource');
437
  $read = $resource->getConnection('core_read');
438
  $datetime = Mage::getModel('core/date')->gmtDate();
439
  $select = $read->select()
440
+ ->from(Array("s"=>$resource->getTableName('auguria_sponsorship/sponsorship')),array("*"=>"s.*"))
441
+ ->where('s.parent_id=?', $this->getUserId())
442
+ ->where('TO_DAYS("'.$datetime.'") - TO_DAYS(s.datetime) <= ?', Mage::getStoreConfig('auguria_sponsorship/invitation/sponsor_invitation_validity'))
443
+ ->where('s.child_mail NOT IN ?',
444
+ new Zend_Db_Expr('(select ce.email from '.$resource->getTableName('customer_entity').' ce
445
+ LEFT JOIN '.$resource->getTableName('eav_attribute').' AS ea ON ce.entity_type_id = ea.entity_type_id AND ea.backend_type = "int" AND ea.attribute_code = "sponsor"
446
+ LEFT JOIN '.$resource->getTableName('customer_entity_int').' AS cev ON ce.entity_id = cev.entity_id AND ea.attribute_id = cev.attribute_id
447
+ WHERE cev.value IS NOT NULL)'))
448
+ ->where('s.datetime = ?',
449
+ new Zend_Db_Expr('(select max(sp.datetime) from '.$resource->getTableName('auguria_sponsorship/sponsorship').' sp where sp.parent_id=s.parent_id and sp.child_mail = s.child_mail)'))
450
+ ->order('datetime_boost')
451
+ ->order('datetime');
452
  return $read->fetchAll($select);
453
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
454
  }
app/code/community/Auguria/Sponsorship/etc/config.xml CHANGED
@@ -10,7 +10,7 @@
10
  <config>
11
  <modules>
12
  <Auguria_Sponsorship>
13
- <version>1.2.7</version>
14
  </Auguria_Sponsorship>
15
  </modules>
16
  <frontend>
10
  <config>
11
  <modules>
12
  <Auguria_Sponsorship>
13
+ <version>1.2.8</version>
14
  </Auguria_Sponsorship>
15
  </modules>
16
  <frontend>
app/design/frontend/base/default/layout/auguria/sponsorship.xml CHANGED
@@ -39,10 +39,10 @@
39
  <update handle="customer_account"/>
40
  <reference name="head">
41
  <action method="addCss">
42
- <link>css/auguria/sponsorship/tableorderer.css</link>
43
  </action>
44
  <action method="addJs">
45
- <link>auguria/sponsorship/table_orderer.js</link>
46
  </action>
47
  </reference>
48
  <reference name="content">
@@ -54,10 +54,10 @@
54
  <update handle="customer_account"/>
55
  <reference name="head">
56
  <action method="addCss">
57
- <link>css/auguria/sponsorship/tableorderer.css</link>
58
  </action>
59
  <action method="addJs">
60
- <link>auguria/sponsorship/table_orderer.js</link>
61
  </action>
62
  </reference>
63
  <reference name="content">
@@ -69,10 +69,10 @@
69
  <update handle="customer_account"/>
70
  <reference name="head">
71
  <action method="addCss">
72
- <link>css/auguria/sponsorship/tableorderer.css</link>
73
  </action>
74
  <action method="addJs">
75
- <link>auguria/sponsorship/table_orderer.js</link>
76
  </action>
77
  </reference>
78
  <reference name="content">
39
  <update handle="customer_account"/>
40
  <reference name="head">
41
  <action method="addCss">
42
+ <link>css/auguria/sponsorship/sorter.css</link>
43
  </action>
44
  <action method="addJs">
45
+ <link>auguria/sponsorship/sorter.js</link>
46
  </action>
47
  </reference>
48
  <reference name="content">
54
  <update handle="customer_account"/>
55
  <reference name="head">
56
  <action method="addCss">
57
+ <link>css/auguria/sponsorship/sorter.css</link>
58
  </action>
59
  <action method="addJs">
60
+ <link>auguria/sponsorship/sorter.js</link>
61
  </action>
62
  </reference>
63
  <reference name="content">
69
  <update handle="customer_account"/>
70
  <reference name="head">
71
  <action method="addCss">
72
+ <link>css/auguria/sponsorship/sorter.css</link>
73
  </action>
74
  <action method="addJs">
75
+ <link>auguria/sponsorship/sorter.js</link>
76
  </action>
77
  </reference>
78
  <reference name="content">
app/design/frontend/base/default/template/auguria/sponsorship/customer/account/accumulatedpointsdetail.phtml CHANGED
@@ -6,21 +6,6 @@
6
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
7
  */
8
  -->
9
- <?php
10
- //initialisation des intitulés pour table orderer
11
- $msgs = "{loading: '".$this->__("loading")
12
- ."',emptyResults: '".$this->__("emptyResults")
13
- ."',errorURL: '".$this->__("errorURL")
14
- ."',errorData: '".$this->__("errorData")
15
- ."',searchLabel: '".$this->__("searchLabel")
16
- ."',filterLabel: '".$this->__("filterLabel")
17
- ."',paginationOf: '".$this->__("paginationOf")
18
- ."',paginationPages: '".$this->__("paginationPages")
19
- ."',paginationFirst: '".$this->__("paginationFirst")
20
- ."',paginationPrev: '".$this->__("paginationPrev")
21
- ."',paginationNext: '".$this->__("paginationNext")
22
- ."',paginationLast: '".$this->__("paginationLast")."'}";
23
- ?>
24
  <div class="std">
25
  <div class="page-title">
26
  <h1>
@@ -28,262 +13,383 @@
28
  </h1>
29
  </div>
30
  <?php echo $this->getMessagesBlock()->getGroupedHtml(); ?>
31
-
32
  <p>
33
- <a href="<?php echo $this->getUrl('sponsorship_info') ?>"><?php echo $this->__('Principles of Sponsorship')?></a>
34
  </p>
35
  <p>
36
- <a href="<?php echo $this->getUrl('sponsorship') ?>"><?php echo $this->__('Sponsor friends')?></a>
37
  </p>
38
- <?php if (Mage::helper('auguria_sponsorship/config')->getModuleMode()=='accumulated'):
39
-
40
- /****************************************************************
41
- *
42
- * Invitations
43
- *
44
  ****************************************************************/
45
- ?>
46
- <br/>
47
- <h2 class="title"><?php echo $this->__('Your invitations') ?></h2>
48
- <?php //si l'utilisateur a des invitations en cours
49
- $invits = $this->getInvits();
50
- if ($invits):
51
- ?>
52
-
53
-
54
- <div id="invit-table"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  <script type="text/javascript">
57
  //<![CDATA[
58
- invitsCols = ['<?php echo $this->__("Guest name");
59
- ?>','<?php echo $this->__("Guest mail");
60
- ?>','<?php echo $this->__("Date first invitation");
61
- ?>','<?php echo $this->__("Date last mail");
62
- ?>','<?php echo $this->__("Recall");
63
- ?>'];
64
- invits = new Array(
65
- <?php
66
- $nb = count($invits);
67
- $i = 1;
68
- foreach ($invits as $invit):
69
- echo $this->__('{"invits_name": "%s",',htmlentities($invit["child_firstname"])." ".htmlentities($invit["child_lastname"]));
70
- echo $this->__('"invits_email": "%s",',$invit["child_mail"]);
71
- echo $this->__('"invits_first_date": "%s",',$this->formatDate($invit["datetime"]));
72
- echo $this->__('"invits_last_mail": "%s",',$this->formatDate($invit["datetime_boost"]));
73
- echo $this->__('"relance":"%s"}',"<a href='".$this->getUrl("sponsorship/boost",array("sponsorship_id"=>$invit["sponsorship_id"]))."'>".$this->__("Recall")."</a>");
74
- if ($i != $nb)
75
- {
76
- echo ",
77
- ";
78
- }
79
- $i++;
80
- endforeach;
81
- ?>
82
- );
83
- <?php if ($this->isIe8() == true): ?>
84
- invitsTable = new TableOrderer('invit-table',{data : invits, cols : invitsCols},<?php echo $this->__($msgs); ?>);
85
- <?php else: ?>
86
- invitsTable = new TableOrderer('invit-table',{data : invits, cols : invitsCols, filter:'bottom', paginate:'top', pageCount:5, unsortedColumn:['relance']},<?php echo $this->__($msgs); ?>);
87
- <?php endif; ?>
88
 
 
89
  //]]>
90
  </script>
91
- <?php else : ?>
 
 
 
92
  <div>
93
- <?php echo $this->__("You do not have yet send invit."); ?>
94
  </div>
95
- <?php endif; //fin de vérifivcation invitations en cours?>
96
-
97
- <?php
98
  /****************************************************************
99
  *
100
  * Sponsorships
101
- *
102
  ****************************************************************/
103
- ?>
104
- <br/>
105
  <h2 class="title"><?php echo $this->__('Your godsons') ?></h2>
106
- <?php $_parrainages = $this->getParrainages();
107
- if ($_parrainages): //si l'utilisateur a déjà parrainé?>
108
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
 
110
- <div id="sponsor-table"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
 
112
- <script type="text/javascript">
113
- sponsorshipsCols = ['<?php echo $this->__("Godson name");
114
- ?>','<?php echo $this->__("Sponsorship date");
115
- ?>','<?php echo $this->__("Last order date");
116
- ?>','<?php echo $this->__("Winning");
117
- ?>','<?php echo $this->__("Number of sponsorships");
118
- ?>'];
119
- sponsorships = new Array(
120
- <?php
121
- $nb = count($_parrainages);
122
- $i = 1;
123
- foreach ($_parrainages as $_parrainage):
124
- $dateFDC ="";
125
- if ($dateDernCde = $this->getDateDernCde ($_parrainage['entity_id'])) {
126
- $dateFDC = $this->formatDate($dateDernCde);
127
- }
128
- else {
129
- $dateFDC = "-";
130
- }
131
- echo $this->__('{"nom": "%s",',htmlentities($_parrainage['name']));
132
- echo $this->__('"sponsorship_date": "%s",',$this->formatDate($_parrainage['created_at']));
133
- echo $this->__('"last_order_date": "%s",',$dateFDC);
134
- echo $this->__('"points": "%.4f",',$this->getBranchPoints ($_parrainage['entity_id']));
135
- echo $this->__('"sponsorship_count":"%s"}',$this->getNbParrainages ($_parrainage['entity_id']));
136
- if ($i != $nb)
137
- {
138
- echo ",
139
- ";
140
- }
141
- $i++;
142
- endforeach;
143
- ?>
144
- );
145
- <?php if ($this->isIe8() == true): ?>
146
- sponsorshipsTable = new TableOrderer('sponsor-table',{data : sponsorships, cols : sponsorshipsCols},<?php echo $this->__($msgs); ?>);
147
- <?php else: ?>
148
- sponsorshipsTable = new TableOrderer('sponsor-table',{data : sponsorships, cols : sponsorshipsCols, filter:'bottom', paginate:'top', pageCount:5},<?php echo $this->__($msgs); ?>);
149
- <?php endif; ?>
150
- </script>
151
- <br/>
152
- <?php else: //si il n'a jamais parrainé déjà parrainé ?>
153
- <div>
154
- <?php echo $this->__("You do not have active godson."); ?>
155
  </div>
156
- <?php endif; //fin verificatio si il a parrainé ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
 
158
- <?php
 
 
 
 
 
 
 
 
 
 
 
159
  /****************************************************************
160
  *
161
  * Points
162
- *
163
  ****************************************************************/
164
- ?>
165
- <br/>
166
- <h2>
167
- <?php echo $this->__('Use of your points') ?>
168
- </h2>
169
- <div class='points'>
170
- <?php
171
- $sPoints = $this->getAccumulatedPoints();
172
- $cash = floor($this->getAccumulatedPointsValue($sPoints));
173
- $sPoints = floor($sPoints);
174
- echo $this->__('Points balance:');
175
- ?>
176
- <span class='points'><?php echo $this->__('%s points', $sPoints); ?></span>
177
- <span class='cash'><?php echo $this->__('worth %s', Mage::app()->getStore()->formatPrice($cash)); ?></span>
178
- </div>
179
- <?php
180
- if ($this->isAccumulatedValidityEnabled()):
181
- ?>
182
- <div class='validity'>
183
- <span class='date'><?php echo $this->__('Your points are valid until the %s',$this->getAccumulatedValidity()); ?></span>
184
- </div>
185
- <?php
186
-
187
- endif;
188
- ?>
189
- <!--Liste des mouvements de points-->
190
- <div>
191
- <?php
192
- $movements = $this->getPointsMovement();
193
- $nb = $movements->count();
194
- if ($nb>0):
195
- echo $this->__("Your points exchanges:");
196
-
197
- ?>
198
-
199
- <div id="sponsor-change-table"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  <script type="text/javascript">
202
- sponsorshipChangesCols = ['<?php echo $this->__("Date");
203
- ?>','<?php echo $this->__("Points");
204
- ?>','<?php echo $this->__("Value");
205
- ?>'];
206
- sponsorshipChanges = new Array(
207
- <?php
208
-
209
- $i = 1;
210
- foreach ($movements as $movement):
 
 
211
 
212
- //echo $this->__('{"type": "%s",',$change->getType());
213
- echo $this->__('{"date": "%s (%s)",', $this->formatDate($movement->getDatetime(),Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM), $this->getAccumulatedMovementType($movement));
214
- echo $this->__('"points": "%d",', $movement->getPoints());
215
- echo $this->__('"valeur": "%s"}', addslashes(Mage::app()->getStore()->formatPrice($this->getAccumulatedPointsValue($movement->getPoints()))));
216
- if ($i != $nb)
217
- {
218
- echo ",
219
- ";
220
- }
221
- $i++;
222
- endforeach;
223
- ?>
224
- );
225
- <?php if ($this->isIe8() == true): ?>
226
- new TableOrderer('sponsor-change-table',{data : sponsorshipChanges, cols : sponsorshipChangesCols},<?php echo $this->__($msgs); ?>);
227
- <?php else: ?>
228
- new TableOrderer('sponsor-change-table',{data : sponsorshipChanges, cols : sponsorshipChangesCols, filter:'bottom', paginate:'top', pageCount:5},<?php echo $this->__($msgs); ?>);
229
- <?php endif; ?>
230
  </script>
231
- <?php
232
- endif;
233
- ?>
234
- </div>
235
- <!--Liste des échanges réalisés-->
236
- <?php if ($sPoints>0): //vérification du solde des points ?>
237
- <?php if ($this->isAccumulatedChangeEnabled()): //verification change actif?>
238
- <div>
239
- <?php echo $this->__('Change your points into:');?>
240
- <ul class="disc">
241
- <?php if ($this->getAccumulatedCashConfig()):?>
242
- <li>
243
- <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'accumulated','type'=>'cash')) ?>"><?php echo $this->__('Cash') ?></a>
244
- </li>
245
- <?php endif;?>
246
- <?php if ($this->getAccumulatedCouponConfig()):?>
247
- <li>
248
- <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'accumulated','type'=>'coupon')) ?>"><?php echo $this->__('Vouchers') ?></a>
249
- <?php echo $this->__(':You will receive an email with the discount code you can use on your next order.') ?>
250
- </li>
251
- <?php endif;?>
252
- <?php if ($this->getAccumulatedGiftConfig()):?>
253
- <li>
254
- <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'accumulated','type'=>'gift')) ?>"><?php echo $this->__('Gifts') ?></a>
255
- </li>
256
- <?php endif;?>
257
- </ul>
258
- </div>
259
- <?php endif; //change actif?>
260
- <?php else: //si il n'a pas de points?>
261
- <?php if ($this->isAccumulatedChangeEnabled()):?>
262
- <div>
263
- <?php echo $this->__('Once you will have points, you can change them into:');?>
264
- </div>
265
- <ul class="disc">
266
- <?php if ($this->getAccumulatedCashConfig()):?>
267
- <li>
268
- <?php echo $this->__('Cash') ?>
269
- </li>
270
- <?php endif;?>
271
- <?php if ($this->getAccumulatedCouponConfig()):?>
272
- <li>
273
- <?php echo $this->__('Vouchers') ?>
274
- <?php echo $this->__(':You will receive an email with the discount code you can use on your next order.') ?>
275
- </li>
276
- <?php endif;?>
277
- <?php if ($this->getAccumulatedGiftConfig()):?>
278
- <li>
279
- <?php echo $this->__('Gifts') ?>
280
- </li>
281
- <?php endif;?>
282
- </ul>
283
- <?php endif;//change enable ?>
284
- <?php endif; //fin de vérification solde des points ?>
285
- <?php endif; //fin module parrainage enable ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
286
  <div class="buttons-set">
287
- <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
288
- </div>
289
- </div>
6
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
7
  */
8
  -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  <div class="std">
10
  <div class="page-title">
11
  <h1>
13
  </h1>
14
  </div>
15
  <?php echo $this->getMessagesBlock()->getGroupedHtml(); ?>
 
16
  <p>
17
+ <a href="<?php echo $this->getUrl('sponsorship_info'); ?>"><?php echo $this->__('Principles of Sponsorship'); ?></a>
18
  </p>
19
  <p>
20
+ <a href="<?php echo $this->getUrl('sponsorship'); ?>"><?php echo $this->__('Sponsor friends'); ?></a>
21
  </p>
22
+ <?php
23
+ if (Mage::helper('auguria_sponsorship/config')->getModuleMode()=='accumulated'):
24
+ /****************************************************************
25
+ *
26
+ * Invitations
27
+ *
28
  ****************************************************************/
29
+ ?>
30
+ <h2 class="title"><?php echo $this->__('Your invitations'); ?></h2>
31
+ <?php
32
+ $_items = $this->getInvits();
33
+ if ($_items):
34
+ $tableId = 'invitsTable';
35
+ ?>
36
+ <table class="data-table" id="<?php echo $tableId; ?>">
37
+ <thead>
38
+ <tr>
39
+ <th class="nosort"><span><?php echo $this->__("Guest name"); ?></span></th>
40
+ <th class="nosort"><span><?php echo $this->__("Guest mail"); ?></span></th>
41
+ <th class="nosort"><span><?php echo $this->__("Date first invitation"); ?></span></th>
42
+ <th class="nosort"><span><?php echo $this->__("Date last mail"); ?></span></th>
43
+ <th class="nosort"><span><?php echo $this->__("Recall"); ?></span></th>
44
+ </tr>
45
+ </thead>
46
+ <tbody>
47
+ <?php
48
+ $iterator = 0;
49
+ foreach ($_items as $_item):
50
+ ?>
51
+ <tr class="<?php if($iterator % 2 == 0): ?> odd<?php else: ?> even<?php endif; $iterator++; ?>">
52
+ <td><?php echo htmlentities($_item["child_firstname"])." ".htmlentities($_item["child_lastname"]); ?></td>
53
+ <td><?php echo $_item["child_mail"]; ?></td>
54
+ <td style="text-align: center"><?php echo $this->formatDate($_item["datetime"],Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM); ?></td>
55
+ <td style="text-align: center"><?php echo $this->formatDate($_item["datetime_boost"],Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM); ?></td>
56
+ <td style="text-align: center"><a href="<?php echo $this->getUrl("sponsorship/boost",array("sponsorship_id"=>$_item["sponsorship_id"])); ?>"><?php echo $this->__("Recall"); ?></a></td>
57
+ </tr>
58
+ <?php
59
+ endforeach;
60
+ ?>
61
+ </tbody>
62
+ </table>
63
+ <div class="sorter-pager">
64
+ <div class="entries">
65
+ <span><?php echo $this->__('Entries Per Page:'); ?></span>
66
+ <select onchange="<?php echo $tableId; ?>Sorter.size(this.value)">
67
+ <option value="5" selected="selected">5</option>
68
+ <option value="10">10</option>
69
+ <option value="20">20</option>
70
+ <option value="50">50</option>
71
+ </select>
72
+ </div>
73
 
74
+ <div class="navigation">
75
+ <div class="first" onclick="<?php echo $tableId; ?>Sorter.move(-1,true)"><span><?php echo $this->__('First'); ?></span></div>
76
+ <div class="previous" onclick="<?php echo $tableId; ?>Sorter.move(-1)"><span><?php echo $this->__('Previous'); ?></span></div>
77
+ </div>
78
+ <div class="text">
79
+ <?php echo $this->__('Page'); ?>
80
+ <span id="<?php echo $tableId; ?>Currentpage"></span>
81
+ <?php echo $this->__('of'); ?>
82
+ <span id="<?php echo $tableId; ?>Pagelimit"></span>
83
+ </div>
84
+ <div class="navigation">
85
+ <div class="next" onclick="<?php echo $tableId; ?>Sorter.move(1)"><span><?php echo $this->__('Next'); ?></span></div>
86
+ <div class="last" onclick="<?php echo $tableId; ?>Sorter.move(1,true)"><span><?php echo $this->__('Last'); ?></span></div>
87
+ </div>
88
+ </div>
89
  <script type="text/javascript">
90
  //<![CDATA[
91
+ var <?php echo $tableId; ?>Sorter = new TINY.table.sorter("<?php echo $tableId; ?>Sorter");
92
+ <?php echo $tableId; ?>Sorter.even = "even";
93
+ <?php echo $tableId; ?>Sorter.odd = "odd";
94
+ <?php echo $tableId; ?>Sorter.evensel = "evenselected";
95
+ <?php echo $tableId; ?>Sorter.oddsel = "oddselected";
96
+ <?php echo $tableId; ?>Sorter.paginate = true;
97
+ <?php echo $tableId; ?>Sorter.currentid = "<?php echo $tableId; ?>Currentpage";
98
+ <?php echo $tableId; ?>Sorter.limitid = "<?php echo $tableId; ?>Pagelimit";
99
+ <?php echo $tableId; ?>Sorter.init("<?php echo $tableId; ?>");
100
+ <?php echo $tableId; ?>Sorter.size(5);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
 
102
+ decorateTable('<?php echo $tableId; ?>', {'tbody tr' : ['first', 'last']});
103
  //]]>
104
  </script>
105
+ <div class="clearer"></div>
106
+ <?php
107
+ else:
108
+ ?>
109
  <div>
110
+ <?php echo $this->__("You do not have yet send invit."); ?>
111
  </div>
112
+ <?php
113
+ endif; //fin de vérifivcation invitations en cours
 
114
  /****************************************************************
115
  *
116
  * Sponsorships
117
+ *
118
  ****************************************************************/
119
+ ?>
 
120
  <h2 class="title"><?php echo $this->__('Your godsons') ?></h2>
121
+ <?php
122
+ $_items = $this->getParrainages();
123
+ if ($_items): //si l'utilisateur a déjà parrainé
124
+ $tableId = 'godsonTable';
125
+ ?>
126
+ <table class="data-table" id="<?php echo $tableId; ?>">
127
+ <thead>
128
+ <tr>
129
+ <th class="nosort"><span><?php echo $this->__("Godson name"); ?></span></th>
130
+ <th class="nosort"><span><?php echo $this->__("Sponsorship date"); ?></span></th>
131
+ <th class="nosort"><span><?php echo $this->__("Last order date"); ?></span></th>
132
+ <th class="nosort"><span><?php echo $this->__("Winning"); ?></span></th>
133
+ <th class="nosort"><span><?php echo $this->__("Number of sponsorships"); ?></span></th>
134
+ </tr>
135
+ </thead>
136
+ <tbody>
137
+ <?php
138
+ $iterator = 0;
139
+ foreach ($_items as $_item):
140
+ $dateFDC ="";
141
+ if ($dateDernCde = $this->getDateDernCde ($_item['entity_id'])) {
142
+ $dateFDC = $this->formatDate($dateDernCde,Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM);
143
+ }
144
+ else {
145
+ $dateFDC = "-";
146
+ }
147
 
148
+ ?>
149
+ <tr class="<?php if($iterator % 2 == 0): ?> odd<?php else: ?> even<?php endif; $iterator++; ?>">
150
+ <td><?php echo htmlentities($_item['name']); ?></td>
151
+ <td style="text-align: center"><?php echo $this->formatDate($_item['created_at'],Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM); ?></td>
152
+ <td style="text-align: center"><?php echo $dateFDC; ?></td>
153
+ <td style="text-align: center"><?php echo $this->__('%01.4f',$this->getBranchPoints($_item['entity_id'])); ?></td>
154
+ <td style="text-align: center"><?php echo $this->getNbParrainages($_item['entity_id']); ?></td>
155
+ </tr>
156
+ <?php
157
+ endforeach;
158
+ ?>
159
+ </tbody>
160
+ </table>
161
+ <div class="sorter-pager">
162
+ <div class="entries">
163
+ <span><?php echo $this->__('Entries Per Page:'); ?></span>
164
+ <select onchange="<?php echo $tableId; ?>Sorter.size(this.value)">
165
+ <option value="5" selected="selected">5</option>
166
+ <option value="10">10</option>
167
+ <option value="20">20</option>
168
+ <option value="50">50</option>
169
+ </select>
170
+ </div>
171
 
172
+ <div class="navigation">
173
+ <div class="first" onclick="<?php echo $tableId; ?>Sorter.move(-1,true)"><span><?php echo $this->__('First'); ?></span></div>
174
+ <div class="previous" onclick="<?php echo $tableId; ?>Sorter.move(-1)"><span><?php echo $this->__('Previous'); ?></span></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  </div>
176
+ <div class="text">
177
+ <?php echo $this->__('Page'); ?>
178
+ <span id="<?php echo $tableId; ?>Currentpage"></span>
179
+ <?php echo $this->__('of'); ?>
180
+ <span id="<?php echo $tableId; ?>Pagelimit"></span>
181
+ </div>
182
+ <div class="navigation">
183
+ <div class="next" onclick="<?php echo $tableId; ?>Sorter.move(1)"><span><?php echo $this->__('Next'); ?></span></div>
184
+ <div class="last" onclick="<?php echo $tableId; ?>Sorter.move(1,true)"><span><?php echo $this->__('Last'); ?></span></div>
185
+ </div>
186
+ </div>
187
+ <script type="text/javascript">
188
+ //<![CDATA[
189
+ var <?php echo $tableId; ?>Sorter = new TINY.table.sorter("<?php echo $tableId; ?>Sorter");
190
+ <?php echo $tableId; ?>Sorter.even = "even";
191
+ <?php echo $tableId; ?>Sorter.odd = "odd";
192
+ <?php echo $tableId; ?>Sorter.evensel = "evenselected";
193
+ <?php echo $tableId; ?>Sorter.oddsel = "oddselected";
194
+ <?php echo $tableId; ?>Sorter.paginate = true;
195
+ <?php echo $tableId; ?>Sorter.currentid = "<?php echo $tableId; ?>Currentpage";
196
+ <?php echo $tableId; ?>Sorter.limitid = "<?php echo $tableId; ?>Pagelimit";
197
+ <?php echo $tableId; ?>Sorter.init("<?php echo $tableId; ?>");
198
+ <?php echo $tableId; ?>Sorter.size(5);
199
 
200
+ decorateTable('<?php echo $tableId; ?>', {'tbody tr' : ['first', 'last']});
201
+ //]]>
202
+ </script>
203
+ <div class="clearer"></div>
204
+ <?php
205
+ else: //si il n'a jamais parrainé déjà parrainé
206
+ ?>
207
+ <div>
208
+ <?php echo $this->__("You do not have active godson."); ?>
209
+ </div>
210
+ <?php
211
+ endif; //fin verification si il a parrainé
212
  /****************************************************************
213
  *
214
  * Points
215
+ *
216
  ****************************************************************/
217
+ ?>
218
+ <h2><?php echo $this->__('Use of your points'); ?></h2>
219
+ <div class='points'>
220
+ <?php
221
+ $sPoints = $this->getAccumulatedPoints();
222
+ $cash = floor($this->getAccumulatedPointsValue($sPoints));
223
+ $sPoints = floor($sPoints);
224
+ echo $this->__('Points balance:');
225
+ ?>
226
+ <span class='points'><?php echo $this->__('%s points', $sPoints); ?></span>
227
+ <span class='cash'><?php echo $this->__('worth %s', Mage::app()->getStore()->formatPrice($cash)); ?></span>
228
+ </div>
229
+ <?php
230
+ if ($this->isAccumulatedValidityEnabled()):
231
+ ?>
232
+ <div class='validity'>
233
+ <span class='date'><?php echo $this->__('Your points are valid until the %s',$this->getAccumulatedValidity()); ?></span>
234
+ </div>
235
+ <?php
236
+ endif;
237
+ ?>
238
+ <!--Liste des mouvements de points-->
239
+ <div>
240
+ <?php
241
+ $_items = $this->getPointsMovement();
242
+ $nb = $_items->count();
243
+ if ($nb>0):
244
+ $tableId = 'changeTable';
245
+ echo $this->__("Your points exchanges:");
246
+ ?>
247
+ <table class="data-table" id="<?php echo $tableId; ?>">
248
+ <thead>
249
+ <tr>
250
+ <th class="nosort"><span><?php echo $this->__("Type"); ?></span></th>
251
+ <th class="nosort"><span><?php echo $this->__("Date"); ?></span></th>
252
+ <th class="nosort"><span><?php echo $this->__("Points"); ?></span></th>
253
+ <th class="nosort"><span><?php echo $this->__("Value"); ?></span></th>
254
+ </tr>
255
+ </thead>
256
+ <tbody>
257
+ <?php
258
+ $iterator = 0;
259
+ foreach ($_items as $_item):
260
+ ?>
261
+ <tr class="<?php if($iterator % 2 == 0): ?> odd<?php else: ?> even<?php endif; $iterator++; ?>">
262
+ <td style="text-align: center"><?php echo $this->getAccumulatedMovementType($_item); ?></td>
263
+ <td style="text-align: center"><?php echo $this->formatDate($_item->getDatetime(),Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM); ?></td>
264
+ <td style="text-align: center"><?php echo $_item->getPoints(); ?></td>
265
+ <td style="text-align: center"><?php echo addslashes(Mage::app()->getStore()->formatPrice($this->getAccumulatedPointsValue($_item->getPoints()))); ?></td>
266
+ </tr>
267
+ <?php
268
+ endforeach;
269
+ ?>
270
+ </tbody>
271
+ </table>
272
+ <div class="sorter-pager">
273
+ <div class="entries">
274
+ <span><?php echo $this->__('Entries Per Page:'); ?></span>
275
+ <select onchange="<?php echo $tableId; ?>Sorter.size(this.value)">
276
+ <option value="5" selected="selected">5</option>
277
+ <option value="10">10</option>
278
+ <option value="20">20</option>
279
+ <option value="50">50</option>
280
+ </select>
281
+ </div>
282
 
283
+ <div class="navigation">
284
+ <div class="first" onclick="<?php echo $tableId; ?>Sorter.move(-1,true)"><span><?php echo $this->__('First'); ?></span></div>
285
+ <div class="previous" onclick="<?php echo $tableId; ?>Sorter.move(-1)"><span><?php echo $this->__('Previous'); ?></span></div>
286
+ </div>
287
+ <div class="text">
288
+ <?php echo $this->__('Page'); ?>
289
+ <span id="<?php echo $tableId; ?>Currentpage"></span>
290
+ <?php echo $this->__('of'); ?>
291
+ <span id="<?php echo $tableId; ?>Pagelimit"></span>
292
+ </div>
293
+ <div class="navigation">
294
+ <div class="next" onclick="<?php echo $tableId; ?>Sorter.move(1)"><span><?php echo $this->__('Next'); ?></span></div>
295
+ <div class="last" onclick="<?php echo $tableId; ?>Sorter.move(1,true)"><span><?php echo $this->__('Last'); ?></span></div>
296
+ </div>
297
+ </div>
298
  <script type="text/javascript">
299
+ //<![CDATA[
300
+ var <?php echo $tableId; ?>Sorter = new TINY.table.sorter("<?php echo $tableId; ?>Sorter");
301
+ <?php echo $tableId; ?>Sorter.even = "even";
302
+ <?php echo $tableId; ?>Sorter.odd = "odd";
303
+ <?php echo $tableId; ?>Sorter.evensel = "evenselected";
304
+ <?php echo $tableId; ?>Sorter.oddsel = "oddselected";
305
+ <?php echo $tableId; ?>Sorter.paginate = true;
306
+ <?php echo $tableId; ?>Sorter.currentid = "<?php echo $tableId; ?>Currentpage";
307
+ <?php echo $tableId; ?>Sorter.limitid = "<?php echo $tableId; ?>Pagelimit";
308
+ <?php echo $tableId; ?>Sorter.init("<?php echo $tableId; ?>");
309
+ <?php echo $tableId; ?>Sorter.size(5);
310
 
311
+ decorateTable('<?php echo $tableId; ?>', {'tbody tr' : ['first', 'last']});
312
+ //]]>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
313
  </script>
314
+ <div class="clearer"></div>
315
+ <?php
316
+ /*End Liste des échanges réalisés*/
317
+ endif;
318
+ ?>
319
+ </div>
320
+ <?php
321
+ if ($sPoints>0): //vérification du solde des points
322
+ if ($this->isAccumulatedChangeEnabled()): //verification change actif
323
+ ?>
324
+ <div>
325
+ <?php echo $this->__('Change your points into:');?>
326
+ <ul class="disc">
327
+ <?php
328
+ if ($this->getAccumulatedCashConfig()):
329
+ ?>
330
+ <li>
331
+ <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'accumulated','type'=>'cash')) ?>"><?php echo $this->__('Cash') ?></a>
332
+ </li>
333
+ <?php
334
+ endif;
335
+ if ($this->getAccumulatedCouponConfig()):
336
+ ?>
337
+ <li>
338
+ <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'accumulated','type'=>'coupon')) ?>"><?php echo $this->__('Vouchers') ?></a>
339
+ <?php echo $this->__(':You will receive an email with the discount code you can use on your next order.') ?>
340
+ </li>
341
+ <?php
342
+ endif;
343
+ if ($this->getAccumulatedGiftConfig()):
344
+ ?>
345
+ <li>
346
+ <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'accumulated','type'=>'gift')) ?>"><?php echo $this->__('Gifts') ?></a>
347
+ </li>
348
+ <?php
349
+ endif;
350
+ ?>
351
+ </ul>
352
+ </div>
353
+ <?php
354
+ endif; //change actif
355
+ else: //si il n'a pas de points
356
+ if ($this->isAccumulatedChangeEnabled()):
357
+ ?>
358
+ <div>
359
+ <?php echo $this->__('Once you will have points, you can change them into:'); ?>
360
+ </div>
361
+ <ul class="disc">
362
+ <?php
363
+ if ($this->getAccumulatedCashConfig()):
364
+ ?>
365
+ <li>
366
+ <?php echo $this->__('Cash'); ?>
367
+ </li>
368
+ <?php
369
+ endif;
370
+ if ($this->getAccumulatedCouponConfig()):
371
+ ?>
372
+ <li>
373
+ <?php echo $this->__('Vouchers'); ?>
374
+ <?php echo $this->__(':You will receive an email with the discount code you can use on your next order.'); ?>
375
+ </li>
376
+ <?php
377
+ endif;
378
+ if ($this->getAccumulatedGiftConfig()):
379
+ ?>
380
+ <li>
381
+ <?php echo $this->__('Gifts') ?>
382
+ </li>
383
+ <?php
384
+ endif;
385
+ ?>
386
+ </ul>
387
+ <?php
388
+ endif;//change enable
389
+ endif; //fin de vérification solde des points
390
+ endif; //fin module parrainage enable
391
+ ?>
392
  <div class="buttons-set">
393
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
394
+ </div>
395
+ </div>
app/design/frontend/base/default/template/auguria/sponsorship/customer/account/fidelitypointsdetail.phtml CHANGED
@@ -6,21 +6,6 @@
6
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
7
  */
8
  -->
9
- <?php
10
- //initialisation des intitulés pour table orderer
11
- $msgs = "{loading: '".$this->__("loading")
12
- ."',emptyResults: '".$this->__("emptyResults")
13
- ."',errorURL: '".$this->__("errorURL")
14
- ."',errorData: '".$this->__("errorData")
15
- ."',searchLabel: '".$this->__("searchLabel")
16
- ."',filterLabel: '".$this->__("filterLabel")
17
- ."',paginationOf: '".$this->__("paginationOf")
18
- ."',paginationPages: '".$this->__("paginationPages")
19
- ."',paginationFirst: '".$this->__("paginationFirst")
20
- ."',paginationPrev: '".$this->__("paginationPrev")
21
- ."',paginationNext: '".$this->__("paginationNext")
22
- ."',paginationLast: '".$this->__("paginationLast")."'}";
23
- ?>
24
  <div class="std">
25
  <div class="page-title">
26
  <h1>
@@ -29,145 +14,247 @@
29
  </div>
30
  <?php echo $this->getMessagesBlock()->getGroupedHtml(); ?>
31
 
32
- <?php if ($this->getFidelityEnabledConfig ()):
 
33
 
34
  //si il y eu des commandes
35
- $_commandes = $this->getCommandes();
36
- if ($_commandes):?>
 
 
37
 
38
  <h2 class="title"><?php echo $this->__('Your lastest orders') ?></h2>
39
- <div id="last-orders-table"></div>
40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  <script type="text/javascript">
42
- lastOrdersCols = ['<?php echo $this->__("Identifier");
43
- ?>','<?php echo $this->__("Date");
44
- ?>','<?php echo $this->__("Amount");
45
- ?>','<?php echo $this->__("Winning"); ?>'];
46
- lastOrders = new Array(
47
- <?php
48
- $nb = count($_commandes);
49
- $i = 1;
50
- foreach ($_commandes as $_commande):
 
 
51
 
52
- echo $this->__('{"numero": "%s",',$_commande['increment_id']);
53
- echo $this->__('"date": "%s",',$this->formatDate($_commande['created_at']));
54
- echo $this->__('"montant": "%01.2f",',$_commande['grand_total']);
55
- echo $this->__('"points": "%01.4f"}',$this->getOrderFidelityPoints($_commande['entity_id']));
56
- if ($i != $nb)
57
- {
58
- echo ",
59
- ";
60
- }
61
- $i++;
62
- endforeach;
63
- ?>
64
- );
65
- new TableOrderer('last-orders-table',{data : lastOrders, cols : lastOrdersCols},<?php echo $this->__($msgs); ?>);
66
  </script>
67
- <br/>
68
- <?php endif; //fin de la vérification qu'il y a eu des commandes ?>
 
69
 
70
- <h2><?php echo $this->__('Use of your fidelity points') ?></h2>
71
  <div>
72
- <?php
73
- echo $this->__('Fidelity balance:');
74
- $fPoints = floor($this->getFidelityPoints());
75
- echo " ".$fPoints;
76
- ?>
77
  </div>
78
  <!--Liste des échanges réalisés-->
79
 
80
- <?php if ($this->hasChange('fidelity')): //Début vérification qu'il y a eu des échanges'?>
 
 
 
81
  <div>
82
  <?php echo $this->__("Your points exchanges:") ?>
83
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
 
85
- <div id="fidelity-change-table"></div>
86
-
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  <script type="text/javascript">
88
- fidelityChangeCols = ['<?php echo $this->__("Type");
89
- ?>','<?php echo $this->__("Date");
90
- ?>','<?php echo $this->__("Points");
91
- ?>','<?php echo $this->__("Value"); ?>'];
92
- fidelityChange = new Array(
93
- <?php
94
- $changes = $this->getChanges('fidelity');
95
- $nb = count($changes);
96
- $i = 1;
97
- foreach ($changes as $change):
98
-
99
- echo $this->__('{"type": "%s",',$change->getType());
100
- echo $this->__('"date": "%s",',$this->formatDate($change->getDatetime()));
101
- echo $this->__('"points": "%d",',$change->getPoints());
102
- echo $this->__('"valeur": "%.2f"}',$change->getValue());
103
- if ($i != $nb)
104
- {
105
- echo ",
106
- ";
107
- }
108
- $i++;
109
- endforeach;
110
- ?>
111
- );
112
- <?php if ($this->isIe8() == true): ?>
113
- new TableOrderer('fidelity-change-table',{data : fidelityChange, cols : fidelityChangeCols},<?php echo $this->__($msgs); ?>);
114
- <?php else: ?>
115
- new TableOrderer('fidelity-change-table',{data : fidelityChange, cols : fidelityChangeCols, filter:'bottom', paginate:'top', pageCount:5},<?php echo $this->__($msgs); ?>);
116
- <?php endif; ?>
117
 
 
 
118
  </script>
119
- <?php endif; //fin de vérification qu'il y a eu des échanges fidélité ?>
120
- <!--Liste des échanges réalisés-->
121
- <?php if ($fPoints>0): // si le solde de points fidélité est >0?>
122
- <?php if ($this->isFidelityChangeEnabled()):?>
 
 
123
  <div>
124
- <?php echo $this->__('Change your points into:');?>
125
  <ul class="disc">
126
- <?php if ($this->getFidelityCashConfig()):?>
 
 
127
  <li>
128
  <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'fidelity','type'=>'cash')) ?>"><?php echo $this->__('Cash') ?></a>
129
  </li>
130
- <?php endif;?>
131
- <?php if ($this->getFidelityCouponConfig()):?>
 
 
132
  <li>
133
  <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'fidelity','type'=>'coupon')) ?>"><?php echo $this->__('Vouchers') ?></a>
134
  <?php echo $this->__(':You will receive an email with the discount code you can use on your next order.') ?>
135
  </li>
136
- <?php endif;?>
137
- <?php if ($this->getFidelityGiftConfig()):?>
 
 
138
  <li>
139
  <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'fidelity','type'=>'gift')) ?>"><?php echo $this->__('Gifts') ?></a>
140
  </li>
141
- <?php endif;?>
 
 
142
  </ul>
143
  </div>
144
- <?php endif; //change actif?>
145
- <?php else: //si le solde des poinst n'est pas supérieur à 0?>
146
- <?php if ($this->isFidelityChangeEnabled()):?>
 
 
147
  <div>
148
- <?php echo $this->__('Once you will have points, you can change them into:');?>
149
  <ul class="disc">
150
- <?php if ($this->getFidelityCashConfig()):?>
 
 
151
  <li>
152
  <?php echo $this->__('Cash') ?>
153
  </li>
154
- <?php endif;?>
155
- <?php if ($this->getFidelityCouponConfig()):?>
 
 
156
  <li>
157
  <?php echo $this->__('Vouchers') ?>
158
  <?php echo $this->__(':You will receive an email with the discount code you can use on your next order.') ?>
159
  </li>
160
- <?php endif;?>
161
- <?php if ($this->getFidelityGiftConfig()):?>
 
 
162
  <li>
163
  <?php echo $this->__('Gifts') ?>
164
  </li>
165
- <?php endif;?>
 
 
166
  </ul>
167
  </div>
168
- <?php endif;//fidelity change enable ?>
169
- <?php endif; //fin de la vérification du solde des points fidélité ?>
170
- <?php endif; ?>
 
 
171
  <div class="buttons-set">
172
  <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
173
  </div>
6
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
7
  */
8
  -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  <div class="std">
10
  <div class="page-title">
11
  <h1>
14
  </div>
15
  <?php echo $this->getMessagesBlock()->getGroupedHtml(); ?>
16
 
17
+ <?php
18
+ if ($this->getFidelityEnabledConfig ()):
19
 
20
  //si il y eu des commandes
21
+ $_items = $this->getCommandes();
22
+ if ($_items):
23
+ $tableId = 'lastOrdersTable';
24
+ ?>
25
 
26
  <h2 class="title"><?php echo $this->__('Your lastest orders') ?></h2>
 
27
 
28
+ <table class="data-table" id="<?php echo $tableId; ?>">
29
+ <thead>
30
+ <tr>
31
+ <th class="nosort"><span><?php echo $this->__("Identifier"); ?></span></th>
32
+ <th class="nosort"><span><?php echo $this->__("Date"); ?></span></th>
33
+ <th class="nosort"><span><?php echo $this->__("Amount"); ?></span></th>
34
+ <th class="nosort"><span><?php echo $this->__("Winning"); ?></span></th>
35
+ </tr>
36
+ </thead>
37
+ <tbody>
38
+ <?php
39
+ $iterator = 0;
40
+ foreach ($_items as $_item):
41
+ ?>
42
+ <tr class="<?php if($iterator % 2 == 0): ?> odd<?php else: ?> even<?php endif; $iterator++; ?>">
43
+ <td><?php echo $_item['increment_id']; ?></td>
44
+ <td style="text-align: center"><?php echo $this->formatDate($_item['created_at'],Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM); ?></td>
45
+ <td style="text-align: center"><?php echo addslashes(Mage::app()->getStore()->formatPrice($_item['grand_total'])); ?></td>
46
+ <td style="text-align: center"><?php echo $this->__('%01.4f',$this->getOrderFidelityPoints($_item['entity_id'])); ?></td>
47
+ </tr>
48
+ <?php
49
+ endforeach;
50
+ ?>
51
+ </tbody>
52
+ </table>
53
+ <div class="sorter-pager">
54
+ <div class="entries">
55
+ <span><?php echo $this->__('Entries Per Page:'); ?></span>
56
+ <select onchange="<?php echo $tableId; ?>Sorter.size(this.value)">
57
+ <option value="5" selected="selected">5</option>
58
+ <option value="10">10</option>
59
+ <option value="20">20</option>
60
+ <option value="50">50</option>
61
+ </select>
62
+ </div>
63
+
64
+ <div class="navigation">
65
+ <div class="first" onclick="<?php echo $tableId; ?>Sorter.move(-1,true)"><span><?php echo $this->__('First'); ?></span></div>
66
+ <div class="previous" onclick="<?php echo $tableId; ?>Sorter.move(-1)"><span><?php echo $this->__('Previous'); ?></span></div>
67
+ </div>
68
+ <div class="text">
69
+ <?php echo $this->__('Page'); ?>
70
+ <span id="<?php echo $tableId; ?>Currentpage"></span>
71
+ <?php echo $this->__('of'); ?>
72
+ <span id="<?php echo $tableId; ?>Pagelimit"></span>
73
+ </div>
74
+ <div class="navigation">
75
+ <div class="next" onclick="<?php echo $tableId; ?>Sorter.move(1)"><span><?php echo $this->__('Next'); ?></span></div>
76
+ <div class="last" onclick="<?php echo $tableId; ?>Sorter.move(1,true)"><span><?php echo $this->__('Last'); ?></span></div>
77
+ </div>
78
+ </div>
79
  <script type="text/javascript">
80
+ //<![CDATA[
81
+ var <?php echo $tableId; ?>Sorter = new TINY.table.sorter("<?php echo $tableId; ?>Sorter");
82
+ <?php echo $tableId; ?>Sorter.even = "even";
83
+ <?php echo $tableId; ?>Sorter.odd = "odd";
84
+ <?php echo $tableId; ?>Sorter.evensel = "evenselected";
85
+ <?php echo $tableId; ?>Sorter.oddsel = "oddselected";
86
+ <?php echo $tableId; ?>Sorter.paginate = true;
87
+ <?php echo $tableId; ?>Sorter.currentid = "<?php echo $tableId; ?>Currentpage";
88
+ <?php echo $tableId; ?>Sorter.limitid = "<?php echo $tableId; ?>Pagelimit";
89
+ <?php echo $tableId; ?>Sorter.init("<?php echo $tableId; ?>");
90
+ <?php echo $tableId; ?>Sorter.size(5);
91
 
92
+ decorateTable('<?php echo $tableId; ?>', {'tbody tr' : ['first', 'last']});
93
+ //]]>
 
 
 
 
 
 
 
 
 
 
 
 
94
  </script>
95
+ <div class="clearer"></div>
96
+ <?php
97
+ endif; //fin de la vérification qu'il y a eu des commandes ?>
98
 
99
+ <h2 class="title"><?php echo $this->__('Use of your fidelity points') ?></h2>
100
  <div>
101
+ <?php
102
+ echo $this->__('Fidelity balance:');
103
+ $fPoints = floor($this->getFidelityPoints());
104
+ echo " ".$fPoints;
105
+ ?>
106
  </div>
107
  <!--Liste des échanges réalisés-->
108
 
109
+ <?php
110
+ if ($this->hasChange('fidelity')): //Début vérification qu'il y a eu des échanges'
111
+ $tableId = 'fidelityChangeTable';
112
+ ?>
113
  <div>
114
  <?php echo $this->__("Your points exchanges:") ?>
115
  </div>
116
+ <table class="data-table" id="<?php echo $tableId; ?>">
117
+ <thead>
118
+ <tr>
119
+ <th class="nosort"><span><?php echo $this->__("Type"); ?></span></th>
120
+ <th class="nosort"><span><?php echo $this->__("Date"); ?></span></th>
121
+ <th class="nosort"><span><?php echo $this->__("Points"); ?></span></th>
122
+ <th class="nosort"><span><?php echo $this->__("Value"); ?></span></th>
123
+ </tr>
124
+ </thead>
125
+ <tbody>
126
+ <?php
127
+ $_items = $this->getChanges('fidelity');
128
+ $iterator = 0;
129
+ foreach ($_items as $_item):
130
+ ?>
131
+ <tr class="<?php if($iterator % 2 == 0): ?> odd<?php else: ?> even<?php endif; $iterator++; ?>">
132
+ <td><?php echo $this->__($_item->getType()); ?></td>
133
+ <td style="text-align: center"><?php echo $this->formatDate($_item->getDatetime(),Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM); ?></td>
134
+ <td style="text-align: center"><?php echo $this->__('%01.4f',$_item->getPoints()); ?></td>
135
+ <td style="text-align: center"><?php echo addslashes(Mage::app()->getStore()->formatPrice($_item->getValue())); ?></td>
136
+ </tr>
137
+ <?php
138
+ endforeach;
139
+ ?>
140
+ </tbody>
141
+ </table>
142
+ <div class="sorter-pager">
143
+ <div class="entries">
144
+ <span><?php echo $this->__('Entries Per Page:'); ?></span>
145
+ <select onchange="<?php echo $tableId; ?>Sorter.size(this.value)">
146
+ <option value="5" selected="selected">5</option>
147
+ <option value="10">10</option>
148
+ <option value="20">20</option>
149
+ <option value="50">50</option>
150
+ </select>
151
+ </div>
152
 
153
+ <div class="navigation">
154
+ <div class="first" onclick="<?php echo $tableId; ?>Sorter.move(-1,true)"><span><?php echo $this->__('First'); ?></span></div>
155
+ <div class="previous" onclick="<?php echo $tableId; ?>Sorter.move(-1)"><span><?php echo $this->__('Previous'); ?></span></div>
156
+ </div>
157
+ <div class="text">
158
+ <?php echo $this->__('Page'); ?>
159
+ <span id="<?php echo $tableId; ?>Currentpage"></span>
160
+ <?php echo $this->__('of'); ?>
161
+ <span id="<?php echo $tableId; ?>Pagelimit"></span>
162
+ </div>
163
+ <div class="navigation">
164
+ <div class="next" onclick="<?php echo $tableId; ?>Sorter.move(1)"><span><?php echo $this->__('Next'); ?></span></div>
165
+ <div class="last" onclick="<?php echo $tableId; ?>Sorter.move(1,true)"><span><?php echo $this->__('Last'); ?></span></div>
166
+ </div>
167
+ </div>
168
  <script type="text/javascript">
169
+ //<![CDATA[
170
+ var <?php echo $tableId; ?>Sorter = new TINY.table.sorter("<?php echo $tableId; ?>Sorter");
171
+ <?php echo $tableId; ?>Sorter.even = "even";
172
+ <?php echo $tableId; ?>Sorter.odd = "odd";
173
+ <?php echo $tableId; ?>Sorter.evensel = "evenselected";
174
+ <?php echo $tableId; ?>Sorter.oddsel = "oddselected";
175
+ <?php echo $tableId; ?>Sorter.paginate = true;
176
+ <?php echo $tableId; ?>Sorter.currentid = "<?php echo $tableId; ?>Currentpage";
177
+ <?php echo $tableId; ?>Sorter.limitid = "<?php echo $tableId; ?>Pagelimit";
178
+ <?php echo $tableId; ?>Sorter.init("<?php echo $tableId; ?>");
179
+ <?php echo $tableId; ?>Sorter.size(5);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
 
181
+ decorateTable('<?php echo $tableId; ?>', {'tbody tr' : ['first', 'last']});
182
+ //]]>
183
  </script>
184
+ <?php
185
+ endif; //fin de vérification qu'il y a eu des échanges fidélité
186
+ //Liste des échanges réalisés
187
+ if ($fPoints>0): // si le solde de points fidélité est >0
188
+ if ($this->isFidelityChangeEnabled()):
189
+ ?>
190
  <div>
191
+ <?php echo $this->__('Change your points into:');?>
192
  <ul class="disc">
193
+ <?php
194
+ if ($this->getFidelityCashConfig()):
195
+ ?>
196
  <li>
197
  <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'fidelity','type'=>'cash')) ?>"><?php echo $this->__('Cash') ?></a>
198
  </li>
199
+ <?php
200
+ endif;
201
+ if ($this->getFidelityCouponConfig()):
202
+ ?>
203
  <li>
204
  <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'fidelity','type'=>'coupon')) ?>"><?php echo $this->__('Vouchers') ?></a>
205
  <?php echo $this->__(':You will receive an email with the discount code you can use on your next order.') ?>
206
  </li>
207
+ <?php
208
+ endif;
209
+ if ($this->getFidelityGiftConfig()):
210
+ ?>
211
  <li>
212
  <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'fidelity','type'=>'gift')) ?>"><?php echo $this->__('Gifts') ?></a>
213
  </li>
214
+ <?php
215
+ endif;
216
+ ?>
217
  </ul>
218
  </div>
219
+ <?php
220
+ endif; //change actif
221
+ else: //si le solde des poinst n'est pas supérieur à 0
222
+ if ($this->isFidelityChangeEnabled()):
223
+ ?>
224
  <div>
225
+ <?php echo $this->__('Once you will have points, you can change them into:');?>
226
  <ul class="disc">
227
+ <?php
228
+ if ($this->getFidelityCashConfig()):
229
+ ?>
230
  <li>
231
  <?php echo $this->__('Cash') ?>
232
  </li>
233
+ <?php
234
+ endif;
235
+ if ($this->getFidelityCouponConfig()):
236
+ ?>
237
  <li>
238
  <?php echo $this->__('Vouchers') ?>
239
  <?php echo $this->__(':You will receive an email with the discount code you can use on your next order.') ?>
240
  </li>
241
+ <?php
242
+ endif;
243
+ if ($this->getFidelityGiftConfig()):
244
+ ?>
245
  <li>
246
  <?php echo $this->__('Gifts') ?>
247
  </li>
248
+ <?php
249
+ endif;
250
+ ?>
251
  </ul>
252
  </div>
253
+ <?php
254
+ endif;//fidelity change enable
255
+ endif; //fin de la vérification du solde des points fidélité
256
+ endif;
257
+ ?>
258
  <div class="buttons-set">
259
  <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
260
  </div>
app/design/frontend/base/default/template/auguria/sponsorship/customer/account/sponsorpointsdetail.phtml CHANGED
@@ -6,263 +6,381 @@
6
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
7
  */
8
  -->
 
 
 
 
 
 
 
9
  <?php
10
- //initialisation des intitulés pour table orderer
11
- $msgs = "{loading: '".$this->__("loading")
12
- ."',emptyResults: '".$this->__("emptyResults")
13
- ."',errorURL: '".$this->__("errorURL")
14
- ."',errorData: '".$this->__("errorData")
15
- ."',searchLabel: '".$this->__("searchLabel")
16
- ."',filterLabel: '".$this->__("filterLabel")
17
- ."',paginationOf: '".$this->__("paginationOf")
18
- ."',paginationPages: '".$this->__("paginationPages")
19
- ."',paginationFirst: '".$this->__("paginationFirst")
20
- ."',paginationPrev: '".$this->__("paginationPrev")
21
- ."',paginationNext: '".$this->__("paginationNext")
22
- ."',paginationLast: '".$this->__("paginationLast")."'}";
23
  ?>
24
- <div class="std">
25
- <div class="page-title">
26
- <h1>
27
- <?php echo $this->__('Sponsorship'); ?>
28
- </h1>
29
- </div>
30
- <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
- <?php if ($this->getSponsorEnabledConfig ())://si le module parrainage est actif : affichage ?>
32
  <p>
33
  <a href="<?php echo $this->getUrl('sponsorship_info') ?>"><?php echo $this->__('Principles of Sponsorship')?></a>
34
  </p>
35
  <p>
36
  <a href="<?php echo $this->getUrl('sponsorship') ?>"><?php echo $this->__('Sponsor friends')?></a>
37
  </p>
38
- <?php
39
- /**
40
- *
41
- * Invistations
42
- */
43
- ?>
44
- <br/>
 
45
  <h2 class="title"><?php echo $this->__('Your invitations') ?></h2>
46
- <?php //si l'utilisateur a des invitations en cours
47
- $invits = $this->getInvits();
48
- if ($invits):
49
- ?>
50
-
51
-
52
- <div id="invit-table"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  <script type="text/javascript">
55
  //<![CDATA[
56
- invitsCols = ['<?php echo $this->__("Guest name");
57
- ?>','<?php echo $this->__("Guest mail");
58
- ?>','<?php echo $this->__("Date first invitation");
59
- ?>','<?php echo $this->__("Date last mail");
60
- ?>','<?php echo $this->__("Recall");
61
- ?>'];
62
- invits = new Array(
63
- <?php
64
- $nb = count($invits);
65
- $i = 1;
66
- foreach ($invits as $invit):
67
- echo $this->__('{"invits_name": "%s",',htmlentities($invit["child_firstname"])." ".htmlentities($invit["child_lastname"]));
68
- echo $this->__('"invits_email": "%s",',$invit["child_mail"]);
69
- echo $this->__('"invits_first_date": "%s",',$this->formatDate($invit["datetime"]));
70
- echo $this->__('"invits_last_mail": "%s",',$this->formatDate($invit["datetime_boost"]));
71
- echo $this->__('"relance":"%s"}',"<a href='".$this->getUrl("sponsorship/boost",array("sponsorship_id"=>$invit["sponsorship_id"]))."'>".$this->__("Recall")."</a>");
72
- if ($i != $nb)
73
- {
74
- echo ",
75
- ";
76
- }
77
- $i++;
78
- endforeach;
79
- ?>
80
- );
81
- <?php if ($this->isIe8() == true): ?>
82
- invitsTable = new TableOrderer('invit-table',{data : invits, cols : invitsCols},<?php echo $this->__($msgs); ?>);
83
- <?php else: ?>
84
- invitsTable = new TableOrderer('invit-table',{data : invits, cols : invitsCols, filter:'bottom', paginate:'top', pageCount:5, unsortedColumn:['relance']},<?php echo $this->__($msgs); ?>);
85
- <?php endif; ?>
86
 
 
87
  //]]>
88
  </script>
89
- <?php else : ?>
 
 
 
90
  <div>
91
- <?php echo $this->__("You do not have yet send invit."); ?>
92
  </div>
93
- <?php endif; //fin de vérifivcation invitations en cours?>
94
-
95
- <?php
96
- /**
97
- *
98
- * Filleuls
99
- */
100
- ?>
101
- <br/>
102
  <h2 class="title"><?php echo $this->__('Your godsons') ?></h2>
103
- <?php $_parrainages = $this->getParrainages();
104
- if ($_parrainages): //si l'utilisateur a déjà parrainé?>
105
-
106
-
107
- <div id="sponsor-table"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
 
109
- <script type="text/javascript">
110
- sponsorshipsCols = ['<?php echo $this->__("Godson name");
111
- ?>','<?php echo $this->__("Sponsorship date");
112
- ?>','<?php echo $this->__("Last order date");
113
- ?>','<?php echo $this->__("Winning");
114
- ?>','<?php echo $this->__("Number of sponsorships");
115
- ?>'];
116
- sponsorships = new Array(
117
- <?php
118
- $nb = count($_parrainages);
119
- $i = 1;
120
- foreach ($_parrainages as $_parrainage):
121
- $dateFDC ="";
122
- if ($dateDernCde = $this->getDateDernCde ($_parrainage['entity_id'])) {
123
- $dateFDC = $this->formatDate($dateDernCde);
124
- }
125
- else {
126
- $dateFDC = "-";
127
- }
128
- echo $this->__('{"nom": "%s",',htmlentities($_parrainage['name']));
129
- echo $this->__('"sponsorship_date": "%s",',$this->formatDate($_parrainage['created_at']));
130
- echo $this->__('"last_order_date": "%s",',$dateFDC);
131
- echo $this->__('"points": "%.4f",',$this->getBranchPoints ($_parrainage['entity_id']));
132
- echo $this->__('"sponsorship_count":"%s"}',$this->getNbParrainages ($_parrainage['entity_id']));
133
- if ($i != $nb)
134
- {
135
- echo ",
136
- ";
137
- }
138
- $i++;
139
- endforeach;
140
- ?>
141
- );
142
- <?php if ($this->isIe8() == true): ?>
143
- sponsorshipsTable = new TableOrderer('sponsor-table',{data : sponsorships, cols : sponsorshipsCols},<?php echo $this->__($msgs); ?>);
144
- <?php else: ?>
145
- sponsorshipsTable = new TableOrderer('sponsor-table',{data : sponsorships, cols : sponsorshipsCols, filter:'bottom', paginate:'top', pageCount:5},<?php echo $this->__($msgs); ?>);
146
- <?php endif; ?>
147
- </script>
148
- <br/>
149
- <?php else: //si il n'a jamais parrainé déjà parrainé ?>
150
- <div>
151
- <?php echo $this->__("You do not have active godson."); ?>
152
  </div>
153
- <?php endif; //fin verificatio si il a parrainé ?>
154
 
155
- <?php
156
- /**
157
- *
158
- * Points
159
- */
160
- ?>
161
- <br/>
162
- <h2>
163
- <?php echo $this->__('Use of your sponsorship points') ?>
164
- </h2>
165
- <div>
166
- <?php
167
- echo $this->__('Sponsorship balance:');
168
- $sPoints = floor($this->getSponsorPoints());
169
- echo " ".$sPoints
170
- ?>
171
- </div>
172
- <!--Liste des échanges réalisés-->
173
- <div>
174
- <?php if ($this->hasChange('sponsor')):?>
175
- <?php
176
- echo $this->__("Your points exchanges:");
177
- $changes = $this->getChanges('sponsor');
178
- ?>
 
 
 
179
 
180
- <div id="sponsor-change-table"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
181
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  <script type="text/javascript">
183
- sponsorshipChangesCols = ['<?php echo $this->__("Type");
184
- ?>','<?php echo $this->__("Date");
185
- ?>','<?php echo $this->__("Points");
186
- ?>','<?php echo $this->__("Value");
187
- ?>'];
188
- sponsorshipChanges = new Array(
189
- <?php
190
- $nb = count($changes);
191
- $i = 1;
192
- foreach ($changes as $change):
 
193
 
194
- echo $this->__('{"type": "%s",',$change->getType());
195
- echo $this->__('"date": "%s",',$this->formatDate($change->getDatetime()));
196
- echo $this->__('"points": "%d",',$change->getPoints());
197
- echo $this->__('"valeur": "%.2f"}',$change->getValue());
198
- if ($i != $nb)
199
- {
200
- echo ",
201
- ";
202
- }
203
- $i++;
204
- endforeach;
205
- ?>
206
- );
207
- <?php if ($this->isIe8() == true): ?>
208
- new TableOrderer('sponsor-change-table',{data : sponsorshipChanges, cols : sponsorshipChangesCols},<?php echo $this->__($msgs); ?>);
209
- <?php else: ?>
210
- new TableOrderer('sponsor-change-table',{data : sponsorshipChanges, cols : sponsorshipChangesCols, filter:'bottom', paginate:'top', pageCount:5},<?php echo $this->__($msgs); ?>);
211
- <?php endif; ?>
212
  </script>
213
- <?php endif; ?>
214
- </div>
215
- <!--Liste des échanges réalisés-->
216
- <?php if ($sPoints>0): //vérification du solde des points ?>
217
- <?php if ($this->isSponsorChangeEnabled()): //verification change actif?>
218
- <div>
219
- <?php echo $this->__('Change your points into:');?>
220
- <ul class="disc">
221
- <?php if ($this->getSponsorCashConfig()):?>
222
- <li>
223
- <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'sponsor','type'=>'cash')) ?>"><?php echo $this->__('Cash') ?></a>
224
- </li>
225
- <?php endif;?>
226
- <?php if ($this->getSponsorCouponConfig()):?>
227
- <li>
228
- <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'sponsor','type'=>'coupon')) ?>"><?php echo $this->__('Vouchers') ?></a>
 
 
 
 
 
 
 
 
 
229
  <?php echo $this->__(':You will receive an email with the discount code you can use on your next order.') ?>
230
- </li>
231
- <?php endif;?>
232
- <?php if ($this->getSponsorGiftConfig()):?>
233
- <li>
234
- <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'sponsor','type'=>'gift')) ?>"><?php echo $this->__('Gifts') ?></a>
235
- </li>
236
- <?php endif;?>
237
- </ul>
238
- </div>
239
- <?php endif; //change actif?>
240
- <?php else: //si il n'a pas de points?>
241
- <?php if ($this->isSponsorChangeEnabled()):?>
242
- <div>
243
- <?php echo $this->__('Once you will have points, you can change them into:');?>
244
- </div>
245
- <ul class="disc">
246
- <?php if ($this->getSponsorCashConfig()):?>
247
- <li>
248
- <?php echo $this->__('Cash') ?>
249
- </li>
250
- <?php endif;?>
251
- <?php if ($this->getSponsorCouponConfig()):?>
252
- <li>
253
- <?php echo $this->__('Vouchers') ?>
254
- <?php echo $this->__(':You will receive an email with the discount code you can use on your next order.') ?>
255
- </li>
256
- <?php endif;?>
257
- <?php if ($this->getSponsorGiftConfig()):?>
258
- <li>
259
- <?php echo $this->__('Gifts') ?>
260
- </li>
261
- <?php endif;?>
262
- </ul>
263
- <?php endif;//change enable ?>
264
- <?php endif; //fin de vérification solde des points ?>
265
- <?php endif; //fin module parrainage enable ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
  <div class="buttons-set">
267
  <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
268
  </div>
6
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
7
  */
8
  -->
9
+ <div class="std">
10
+ <div class="page-title">
11
+ <h1>
12
+ <?php echo $this->__('Sponsorship'); ?>
13
+ </h1>
14
+ </div>
15
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
16
  <?php
17
+ if ($this->getSponsorEnabledConfig ())://si le module parrainage est actif : affichage
 
 
 
 
 
 
 
 
 
 
 
 
18
  ?>
 
 
 
 
 
 
 
 
19
  <p>
20
  <a href="<?php echo $this->getUrl('sponsorship_info') ?>"><?php echo $this->__('Principles of Sponsorship')?></a>
21
  </p>
22
  <p>
23
  <a href="<?php echo $this->getUrl('sponsorship') ?>"><?php echo $this->__('Sponsor friends')?></a>
24
  </p>
25
+ <?php
26
+ /**
27
+ *
28
+ * Invitations
29
+ *
30
+ */
31
+ ?>
32
+ <div class="clearer"></div>
33
  <h2 class="title"><?php echo $this->__('Your invitations') ?></h2>
34
+ <?php //si l'utilisateur a des invitations en cours
35
+ $_items = $this->getInvits();
36
+ if ($_items):
37
+ $tableId = 'invitsTable';
38
+ ?>
39
+ <table class="data-table" id="<?php echo $tableId; ?>">
40
+ <thead>
41
+ <tr>
42
+ <th class="nosort"><span><?php echo $this->__("Guest name"); ?></span></th>
43
+ <th class="nosort"><span><?php echo $this->__("Guest mail"); ?></span></th>
44
+ <th class="nosort"><span><?php echo $this->__("Date first invitation"); ?></span></th>
45
+ <th class="nosort"><span><?php echo $this->__("Date last mail"); ?></span></th>
46
+ <th class="nosort"><span><?php echo $this->__("Recall"); ?></span></th>
47
+ </tr>
48
+ </thead>
49
+ <tbody>
50
+ <?php
51
+ $iterator = 0;
52
+ foreach ($_items as $_item):
53
+ ?>
54
+ <tr class="<?php if($iterator % 2 == 0): ?> odd<?php else: ?> even<?php endif; $iterator++; ?>">
55
+ <td><?php echo htmlentities($_item["child_firstname"])." ".htmlentities($_item["child_lastname"]); ?></td>
56
+ <td><?php echo $_item["child_mail"]; ?></td>
57
+ <td style="text-align: center"><?php echo $this->formatDate($_item["datetime"],Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM); ?></td>
58
+ <td style="text-align: center"><?php if ($_item["datetime_boost"]) { echo $this->formatDate($_item["datetime_boost"],Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM); } else { echo $this->formatDate($_item["datetime"],Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM); } ?></td>
59
+ <td style="text-align: center"><a href="<?php echo $this->getUrl("sponsorship/boost",array("sponsorship_id"=>$_item["sponsorship_id"])); ?>"><?php echo $this->__("Recall"); ?></a></td>
60
+ </tr>
61
+ <?php
62
+ endforeach;
63
+ ?>
64
+ </tbody>
65
+ </table>
66
+ <div class="sorter-pager">
67
+ <div class="entries">
68
+ <span><?php echo $this->__('Entries Per Page:'); ?></span>
69
+ <select onchange="<?php echo $tableId; ?>Sorter.size(this.value)">
70
+ <option value="5" selected="selected">5</option>
71
+ <option value="10">10</option>
72
+ <option value="20">20</option>
73
+ <option value="50">50</option>
74
+ </select>
75
+ </div>
76
 
77
+ <div class="navigation">
78
+ <div class="first" onclick="<?php echo $tableId; ?>Sorter.move(-1,true)"><span><?php echo $this->__('First'); ?></span></div>
79
+ <div class="previous" onclick="<?php echo $tableId; ?>Sorter.move(-1)"><span><?php echo $this->__('Previous'); ?></span></div>
80
+ </div>
81
+ <div class="text">
82
+ <?php echo $this->__('Page'); ?>
83
+ <span id="<?php echo $tableId; ?>Currentpage"></span>
84
+ <?php echo $this->__('of'); ?>
85
+ <span id="<?php echo $tableId; ?>Pagelimit"></span>
86
+ </div>
87
+ <div class="navigation">
88
+ <div class="next" onclick="<?php echo $tableId; ?>Sorter.move(1)"><span><?php echo $this->__('Next'); ?></span></div>
89
+ <div class="last" onclick="<?php echo $tableId; ?>Sorter.move(1,true)"><span><?php echo $this->__('Last'); ?></span></div>
90
+ </div>
91
+ </div>
92
  <script type="text/javascript">
93
  //<![CDATA[
94
+ var <?php echo $tableId; ?>Sorter = new TINY.table.sorter("<?php echo $tableId; ?>Sorter");
95
+ <?php echo $tableId; ?>Sorter.even = "even";
96
+ <?php echo $tableId; ?>Sorter.odd = "odd";
97
+ <?php echo $tableId; ?>Sorter.evensel = "evenselected";
98
+ <?php echo $tableId; ?>Sorter.oddsel = "oddselected";
99
+ <?php echo $tableId; ?>Sorter.paginate = true;
100
+ <?php echo $tableId; ?>Sorter.currentid = "<?php echo $tableId; ?>Currentpage";
101
+ <?php echo $tableId; ?>Sorter.limitid = "<?php echo $tableId; ?>Pagelimit";
102
+ <?php echo $tableId; ?>Sorter.init("<?php echo $tableId; ?>");
103
+ <?php echo $tableId; ?>Sorter.size(5);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
 
105
+ decorateTable('<?php echo $tableId; ?>', {'tbody tr' : ['first', 'last']});
106
  //]]>
107
  </script>
108
+ <div class="clearer"></div>
109
+ <?php
110
+ else:
111
+ ?>
112
  <div>
113
+ <?php echo $this->__("You do not have yet send invit."); ?>
114
  </div>
115
+ <?php
116
+ endif; //fin de vérifivcation invitations en cours
117
+ /**
118
+ *
119
+ * Filleuls
120
+ *
121
+ */
122
+ ?>
 
123
  <h2 class="title"><?php echo $this->__('Your godsons') ?></h2>
124
+ <?php
125
+ $_items = $this->getParrainages();
126
+ if ($_items): //si l'utilisateur a déjà parrainé
127
+ $tableId = 'godsonTable';
128
+ ?>
129
+ <table class="data-table" id="<?php echo $tableId; ?>">
130
+ <thead>
131
+ <tr>
132
+ <th class="nosort"><span><?php echo $this->__("Godson name"); ?></span></th>
133
+ <th class="nosort"><span><?php echo $this->__("Sponsorship date"); ?></span></th>
134
+ <th class="nosort"><span><?php echo $this->__("Last order date"); ?></span></th>
135
+ <th class="nosort"><span><?php echo $this->__("Winning"); ?></span></th>
136
+ <th class="nosort"><span><?php echo $this->__("Number of sponsorships"); ?></span></th>
137
+ </tr>
138
+ </thead>
139
+ <tbody>
140
+ <?php
141
+ $iterator = 0;
142
+ foreach ($_items as $_item):
143
+ $dateFDC ="";
144
+ if ($dateDernCde = $this->getDateDernCde ($_item['entity_id'])) {
145
+ $dateFDC = $this->formatDate($dateDernCde,Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM);
146
+ }
147
+ else {
148
+ $dateFDC = "-";
149
+ }
150
 
151
+ ?>
152
+ <tr class="<?php if($iterator % 2 == 0): ?> odd<?php else: ?> even<?php endif; $iterator++; ?>">
153
+ <td><?php echo htmlentities($_item['name']); ?></td>
154
+ <td style="text-align: center"><?php echo $this->formatDate($_item['created_at'],Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM); ?></td>
155
+ <td style="text-align: center"><?php echo $dateFDC; ?></td>
156
+ <td style="text-align: center"><?php echo $this->__('%01.4f',$this->getBranchPoints($_item['entity_id'])); ?></td>
157
+ <td style="text-align: center"><?php echo $this->getNbParrainages($_item['entity_id']); ?></td>
158
+ </tr>
159
+ <?php
160
+ endforeach;
161
+ ?>
162
+ </tbody>
163
+ </table>
164
+ <div class="sorter-pager">
165
+ <div class="entries">
166
+ <span><?php echo $this->__('Entries Per Page:'); ?></span>
167
+ <select onchange="<?php echo $tableId; ?>Sorter.size(this.value)">
168
+ <option value="5" selected="selected">5</option>
169
+ <option value="10">10</option>
170
+ <option value="20">20</option>
171
+ <option value="50">50</option>
172
+ </select>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  </div>
 
174
 
175
+ <div class="navigation">
176
+ <div class="first" onclick="<?php echo $tableId; ?>Sorter.move(-1,true)"><span><?php echo $this->__('First'); ?></span></div>
177
+ <div class="previous" onclick="<?php echo $tableId; ?>Sorter.move(-1)"><span><?php echo $this->__('Previous'); ?></span></div>
178
+ </div>
179
+ <div class="text">
180
+ <?php echo $this->__('Page'); ?>
181
+ <span id="<?php echo $tableId; ?>Currentpage"></span>
182
+ <?php echo $this->__('of'); ?>
183
+ <span id="<?php echo $tableId; ?>Pagelimit"></span>
184
+ </div>
185
+ <div class="navigation">
186
+ <div class="next" onclick="<?php echo $tableId; ?>Sorter.move(1)"><span><?php echo $this->__('Next'); ?></span></div>
187
+ <div class="last" onclick="<?php echo $tableId; ?>Sorter.move(1,true)"><span><?php echo $this->__('Last'); ?></span></div>
188
+ </div>
189
+ </div>
190
+ <script type="text/javascript">
191
+ //<![CDATA[
192
+ var <?php echo $tableId; ?>Sorter = new TINY.table.sorter("<?php echo $tableId; ?>Sorter");
193
+ <?php echo $tableId; ?>Sorter.even = "even";
194
+ <?php echo $tableId; ?>Sorter.odd = "odd";
195
+ <?php echo $tableId; ?>Sorter.evensel = "evenselected";
196
+ <?php echo $tableId; ?>Sorter.oddsel = "oddselected";
197
+ <?php echo $tableId; ?>Sorter.paginate = true;
198
+ <?php echo $tableId; ?>Sorter.currentid = "<?php echo $tableId; ?>Currentpage";
199
+ <?php echo $tableId; ?>Sorter.limitid = "<?php echo $tableId; ?>Pagelimit";
200
+ <?php echo $tableId; ?>Sorter.init("<?php echo $tableId; ?>");
201
+ <?php echo $tableId; ?>Sorter.size(5);
202
 
203
+ decorateTable('<?php echo $tableId; ?>', {'tbody tr' : ['first', 'last']});
204
+ //]]>
205
+ </script>
206
+ <div class="clearer"></div>
207
+ <?php
208
+ else: //si il n'a jamais parrainé déjà parrainé
209
+ ?>
210
+ <div>
211
+ <?php echo $this->__("You do not have active godson."); ?>
212
+ </div>
213
+ <?php
214
+ endif; //fin verification si il a parrainé
215
+ /**
216
+ *
217
+ * Points
218
+ *
219
+ */
220
+ ?>
221
+ <h2>
222
+ <?php echo $this->__('Use of your sponsorship points') ?>
223
+ </h2>
224
+ <div>
225
+ <?php
226
+ echo $this->__('Sponsorship balance:');
227
+ $sPoints = floor($this->getSponsorPoints());
228
+ echo " ".$sPoints
229
+ ?>
230
+ </div>
231
+ <div>
232
+ <?php
233
+ /*Liste des échanges réalisés*/
234
+ if ($this->hasChange('sponsor')):
235
+ echo $this->__("Your points exchanges:");
236
+ $_items = $this->getChanges('sponsor');
237
+ $tableId = 'changeTable';
238
+ ?>
239
+ <table class="data-table" id="<?php echo $tableId; ?>">
240
+ <thead>
241
+ <tr>
242
+ <th class="nosort"><span><?php echo $this->__("Type"); ?></span></th>
243
+ <th class="nosort"><span><?php echo $this->__("Date"); ?></span></th>
244
+ <th class="nosort"><span><?php echo $this->__("Points"); ?></span></th>
245
+ <th class="nosort"><span><?php echo $this->__("Value"); ?></span></th>
246
+ </tr>
247
+ </thead>
248
+ <tbody>
249
+ <?php
250
+ $iterator = 0;
251
+ foreach ($_items as $_item):
252
+ ?>
253
+ <tr class="<?php if($iterator % 2 == 0): ?> odd<?php else: ?> even<?php endif; $iterator++; ?>">
254
+ <td style="text-align: center"><?php echo $this->__($_item->getType()); ?></td>
255
+ <td style="text-align: center"><?php echo $this->formatDate($_item->getDatetime(),Mage_Core_Model_Locale::FORMAT_TYPE_MEDIUM); ?></td>
256
+ <td style="text-align: center"><?php echo $this->__('%01.4f',$_item->getPoints()); ?></td>
257
+ <td style="text-align: center"><?php echo addslashes(Mage::app()->getStore()->formatPrice($_item->getValue())); ?></td>
258
+ </tr>
259
+ <?php
260
+ endforeach;
261
+ ?>
262
+ </tbody>
263
+ </table>
264
+ <div class="sorter-pager">
265
+ <div class="entries">
266
+ <span><?php echo $this->__('Entries Per Page:'); ?></span>
267
+ <select onchange="<?php echo $tableId; ?>Sorter.size(this.value)">
268
+ <option value="5" selected="selected">5</option>
269
+ <option value="10">10</option>
270
+ <option value="20">20</option>
271
+ <option value="50">50</option>
272
+ </select>
273
+ </div>
274
 
275
+ <div class="navigation">
276
+ <div class="first" onclick="<?php echo $tableId; ?>Sorter.move(-1,true)"><span><?php echo $this->__('First'); ?></span></div>
277
+ <div class="previous" onclick="<?php echo $tableId; ?>Sorter.move(-1)"><span><?php echo $this->__('Previous'); ?></span></div>
278
+ </div>
279
+ <div class="text">
280
+ <?php echo $this->__('Page'); ?>
281
+ <span id="<?php echo $tableId; ?>Currentpage"></span>
282
+ <?php echo $this->__('of'); ?>
283
+ <span id="<?php echo $tableId; ?>Pagelimit"></span>
284
+ </div>
285
+ <div class="navigation">
286
+ <div class="next" onclick="<?php echo $tableId; ?>Sorter.move(1)"><span><?php echo $this->__('Next'); ?></span></div>
287
+ <div class="last" onclick="<?php echo $tableId; ?>Sorter.move(1,true)"><span><?php echo $this->__('Last'); ?></span></div>
288
+ </div>
289
+ </div>
290
  <script type="text/javascript">
291
+ //<![CDATA[
292
+ var <?php echo $tableId; ?>Sorter = new TINY.table.sorter("<?php echo $tableId; ?>Sorter");
293
+ <?php echo $tableId; ?>Sorter.even = "even";
294
+ <?php echo $tableId; ?>Sorter.odd = "odd";
295
+ <?php echo $tableId; ?>Sorter.evensel = "evenselected";
296
+ <?php echo $tableId; ?>Sorter.oddsel = "oddselected";
297
+ <?php echo $tableId; ?>Sorter.paginate = true;
298
+ <?php echo $tableId; ?>Sorter.currentid = "<?php echo $tableId; ?>Currentpage";
299
+ <?php echo $tableId; ?>Sorter.limitid = "<?php echo $tableId; ?>Pagelimit";
300
+ <?php echo $tableId; ?>Sorter.init("<?php echo $tableId; ?>");
301
+ <?php echo $tableId; ?>Sorter.size(5);
302
 
303
+ decorateTable('<?php echo $tableId; ?>', {'tbody tr' : ['first', 'last']});
304
+ //]]>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
305
  </script>
306
+ <div class="clearer"></div>
307
+ <?php
308
+ /*End Liste des échanges réalisés*/
309
+ endif;
310
+ ?>
311
+ </div>
312
+ <?php
313
+ if ($sPoints>0): //vérification du solde des points
314
+ if ($this->isSponsorChangeEnabled()): //verification change actif
315
+ ?>
316
+ <div>
317
+ <?php echo $this->__('Change your points into:');?>
318
+ <ul class="disc">
319
+ <?php
320
+ if ($this->getSponsorCashConfig()):
321
+ ?>
322
+ <li>
323
+ <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'sponsor','type'=>'cash')) ?>"><?php echo $this->__('Cash') ?></a>
324
+ </li>
325
+ <?php
326
+ endif;
327
+ if ($this->getSponsorCouponConfig()):
328
+ ?>
329
+ <li>
330
+ <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'sponsor','type'=>'coupon')) ?>"><?php echo $this->__('Vouchers') ?></a>
331
  <?php echo $this->__(':You will receive an email with the discount code you can use on your next order.') ?>
332
+ </li>
333
+ <?php
334
+ endif;
335
+ if ($this->getSponsorGiftConfig()):
336
+ ?>
337
+ <li>
338
+ <a href="<?php echo Mage::getUrl('*/*/change', Array('module'=>'sponsor','type'=>'gift')) ?>"><?php echo $this->__('Gifts') ?></a>
339
+ </li>
340
+ <?php
341
+ endif;
342
+ ?>
343
+ </ul>
344
+ </div>
345
+ <?php
346
+ endif; //change actif
347
+ else: //si il n'a pas de points
348
+ if ($this->isSponsorChangeEnabled())://Change enable
349
+ ?>
350
+ <div>
351
+ <?php echo $this->__('Once you will have points, you can change them into:'); ?>
352
+ </div>
353
+ <ul class="disc">
354
+ <?php
355
+ if ($this->getSponsorCashConfig()):
356
+ ?>
357
+ <li>
358
+ <?php echo $this->__('Cash') ?>
359
+ </li>
360
+ <?php
361
+ endif;
362
+ if ($this->getSponsorCouponConfig()):
363
+ ?>
364
+ <li>
365
+ <?php echo $this->__('Vouchers'); ?>
366
+ <?php echo $this->__(':You will receive an email with the discount code you can use on your next order.'); ?>
367
+ </li>
368
+ <?php
369
+ endif;
370
+ if ($this->getSponsorGiftConfig()):
371
+ ?>
372
+ <li>
373
+ <?php echo $this->__('Gifts'); ?>
374
+ </li>
375
+ <?php
376
+ endif;
377
+ ?>
378
+ </ul>
379
+ <?php
380
+ endif;//change enable
381
+ endif; //fin de vérification solde des points
382
+ endif; //fin module parrainage enable
383
+ ?>
384
  <div class="buttons-set">
385
  <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
386
  </div>
app/locale/fr_FR/Auguria_Sponsorship.csv CHANGED
@@ -1,283 +1,280 @@
1
- "Action","Action"
2
- ":You will receive an email with the discount code you can use on your next order.",": Vous recevrez un mail avec le code de réduction que vous pourrez utiliser lors de votre prochaine commande."
3
- "'%s' is not a valid number.","'%s' n'est pas un nombre valide."
4
- "'%s' is not an integer.","'%s' n'est pas un entier."
5
- "'%s' is not greater than 0.","'%s' n'est pas supérieur à 0."
6
- "%s is already an email to our customers","%s est déjà l'email d'un de nos clients"
7
- "%s points","%s points"
8
- "%s points exchange for customer (%s)","Échange de points %s pour le client (%s)"
9
- "%s sponsor points","Points de parrainage %s"
10
- "%s vouchers points exchange","%s échange de points en bon de réduction"
11
- "<a href='%s'>%s</a>","<a href='%s'>%s</a>"
12
- "A value is required.","Une valeur est requise."
13
- "Accumulated mode options","Options du mode fidélité et parrainage accumulé"
14
- "Activated","Activé"
15
- "Active godsons:","Filleuls actifs :"
16
- "Add a change","Ajouter un échange"
17
- "Add a provider","Ajouter un fournisseur"
18
- "Add a sponsorship","Ajouter un parrainage"
19
- "Add an invitation","Ajouter une invitation"
20
- "Add Recipient","Ajouter un destinataire"
21
- "Add recipients","Ajoutez les destinataires."
22
- "Add recipients.","Ajoutez les destinataires."
23
- "Address book provider:","Fournisseur de carnet d'adresse :"
24
- "Allow customers who have never ordered to send invitations","Autoriser les clients n'ayant jamais commandé à envoyer des invitations"
25
- "Allow customers who have never ordered to send sponsorship invitations","Autoriser les clients n'ayant jamais commandé à envoyer des invitations"
26
- "Allow to sponsor registred customers (but never ordered)","Autoriser le parainage de clients déjà enregistrés (mais n'ayant jamais commandé)"
 
27
  "Allows customers to import addressbook/contacts from different email providers like Yahoo, Gmail, Hotmail, Live etc. using different CMS software like Drupal, Joomla etc. or forum software like PHPBB, SMF etc. Learn more on <a href='http://openinviter.com'>openinviter.com</a>","Permet aux clients d'importer leur carnet d'adresse depuis plusieurs fournisseurs comme Yahoo, Gmail, Hotmail, Live etc. Plus de sétails sur <a href='http://openinviter.com'>openinviter.com</a>"
28
- "Amount of winning points for first order","Montant des points gagnés pour une première commande"
29
- "Amount of winning points for the first godson order","Montant des points gagnés lors de la première commande d'un filleul"
30
- "Amount of winning points when subscribe to newsletter on account creation","Montant des points gagnés si le client s'abonne à la newletter lors de son inscription"
31
- "An error occured while sending sponsor notification email.","Une erreur est survenue lors de l'envoi du mail de notification au parrain"
32
- "An error occurred while saving your request.","Une erreur est survenue lors de l'enregistrement de votre demande."
33
- "An error occurred while sending mail.","Une erreur est survenue lors de l'envoi du mail."
 
34
  "An error occurred, the mail to %s could not be delivred.","Une erreur est survenue, le mail destiné à %s n'a pas pu être délivré."
35
- "An exception occured !","Une exception s'est produite !"
36
- "And it ends as follows:","Et il se terminera comme suit :"
37
- "Are you sure to process mass action?","Êtes vous sure de vouloir procéder à une action de masse ?"
38
- "Automatic discount in cart","Remise automatique dans le panier"
39
- "Back","Retour"
40
- "But it could not be saved.","Mais il n'a pas pu être enregistré."
41
- "Buying","Achat"
42
- "Buying cancellation","Annulation d'achat"
43
- "Calculation period of the maximum allowed for an individual (days)","Période de calcul du maximum autorisé pour un particulier (jours)"
44
- "Campany number","SIRET"
45
- "Cancel earned points on credit memo creation","Annuler les points gagnés lors de la création d'un avoir"
46
- "Cancel the use of points on credit memo creation","Annuler l'utilisation des points lors de la création d'un avoir"
47
- "Canceled","Annulé"
48
- "Cart exchange","Échange panier"
49
- "Cash","Cash"
50
- "cash","cash"
51
- "Cash exchange","Échange en cash"
52
- "Cash exchange","Échange de cash"
53
- "Cash exchange cancellation","Annulation échange de cash"
54
- "Cash exchange enabled","Échange en cash activé"
55
- "Change information","Information sur l'échange"
56
- "Change your points into:","Cliquez sur un des liens suivants pour changer vos points :"
57
- "Check or uncheck all","Tout sélectionner ou tout de-sélectionner"
58
- "Choose your provider","Choisissez votre fournisseur"
59
- "Conversion rate of points in currency","Taux de conversion des points en monnaie"
60
- "coupon","bon de réduction"
61
- "Coupon Email Template","Gabarit du mail d'envoi du bon de réduction"
62
- "Coupon exchange","Échange en bons de réductions"
63
- "Coupon exchange","Échange en bon de réduction"
64
- "Coupon exchange cancellation","Annulation échange en bon de réduction"
65
- "Creation date","Date de création"
66
- "Customer","Client"
67
- "Customer ID","ID Client"
68
- "Customer name","Nom client"
69
- "Date","Date"
70
- "Date first invitation","Date de la première invitation"
71
- "Date last mail","Date du dernier email"
72
  "Dear %s %s,","Bonjour %s %s,"
73
- "Details","Détails"
74
- "Edit","Éditer"
75
- "Edition of the change '%s'","Édition de l'échange '%s'"
76
- "Edition of the invitation '%s'","Édition de l'invitation '%s'"
77
- "Edition of the Open inviter provider '%s'","Edition du fournisseur Open inviter '%s'"
78
- "Edition of the sponsorship '%s'","Édition du parrainage '%s'"
79
- "Email Address:","Email :"
80
- "Email missing !","Il manque l'email !"
81
- "Email Providers","Fournisseurs de mails"
82
- "Email:","Email :"
83
- "emptyResults","Aucun résultat"
84
- "Enter the cash you want.","Indiquez le cash que vous souhaitez obtenir."
85
- "Enter the points you want to convert.","Indiquez les points que vous voulez convertir."
86
- "errorData","Erreur de données"
87
- "errorURL","Erreur URL"
88
- "Exchange detail","Détail échange"
89
- "Exchange of your %s points into %s","Échange de vos points %s en %s"
90
- "Expiry","Fin de validité"
91
- "Exported","Exporté"
92
- "Fidelity","Fidélité"
93
- "fidelity","fidélité"
94
- "Fidelity and separated mode options","Options du mode fidélité et séparé"
95
- "Fidelity and Sponsorship","Fidélité et Parrainage"
96
- "Fidelity and Sponsorship (accumulated)","Fidélité et parrainage (accumulé)"
97
- "Fidelity and Sponsorship (separated)","Fidélité et parrainage (séparé)"
98
- "Fidelity balance:","Solde fidélité :"
99
- "Fidelity module activated","Module de fidélité activé"
100
- "Fidelity options","Options de fidélité"
101
- "Fidelity points","Points fidélité"
102
- "Fidelity points and sponsorship management","Points de fidélité et gestion du parrainage"
103
- "Fidelity points by fixed amount","Points de fidélité en montant fixe"
104
- "Fidelity points by fixed amount for whole cart","Points de fidélités fixe sur tout le panier"
105
- "Fidelity points by percentage of the original price","Points de fidélité en pourcentage du prix"
106
- "Fidelity points management","Gestion des points de fidélité"
107
- "Fidelity points:","Points fidélité :"
108
- "filterLabel","Filtrer la colonne :"
109
- "First name","Prénom"
110
- "First name:","Prénom :"
111
- "First order","Première commande"
112
- "gift","cadeau"
113
- "Gift exchange","Échange en cadeaux"
114
- "Gift exchange","Échange cadeau"
115
- "Gift exchange cancellation","Annulation échange cadeau"
116
- "Gift exchange enabled","Échange en cadeaux activé"
117
- "Gifts","Cadeaux"
118
- "Godchild first order","Première commande d'un filleul"
119
- "Godson","Filleul"
120
- "Godson ID","ID Filleul"
121
- "Godson name","Nom filleul"
122
- "Guest first name","Prénom invité"
123
- "Guest last name","Nom invité"
124
- "Guest mail","Email invité"
125
- "Guest name","Nom invité"
126
- "IBAN","IBAN"
127
- "ID","ID"
128
- "Import Contacts","Importer contacts"
129
- "Import selected contacts","Importer les contacts sélectionnés"
130
- "Inactivity time before removal of the sponsorship link (days)","Temps d'inactivité avant suppression du lien de parrainage (jours)"
131
  "Invalid IBAN code ""%s""","Le code IBAN ""%s"" est invalide"
132
- "Invitation detail","Détail de l'invitation"
133
- "Invitation does not exist","L'invitation n'existe pas"
134
- "Invitation Email Template","Gabarit du mail d'invitation"
135
- "Invitation information","Information sur l'invitation"
136
- "Invitation to %s","Invitation %s"
137
- "Invitation was successfully saved","L'invitation a bien été enregistrée"
138
- "Invitations list","Liste des invitations"
139
- "Last name","Nom"
140
- "Last name:","Nom :"
141
- "Last order date","Date dernière commande"
142
- "Listing date","Date inscription"
143
- "loading","chargement"
144
- "Login failed. Please check the email and password you have provided and try again later !","L'authentification a échouée. Merci de vérifier votre identifiant et votre mot de passe."
145
- "Manual changes","Modification manuelle"
146
- "Max invitations","Nombre max d'invitations"
147
- "Maximum amount permitted without company number","Montant maximum autorisé sans SIRET"
148
- "Maximum levels of sponsorship","Nombre maximum de niveaux de parrainage"
149
- "Message","Message"
150
- "Mode of the module","Mode du module"
151
- "Module","Module"
152
- "Movement","Mouvement"
153
- "My fidelity points","Mes points de fidélité"
154
- "My sponsor points","Mes points de parrainage"
155
- "Name:","Nom :"
156
- "Newsletter subscription","Abonnement à la newsletter"
157
- "Notification Email Template","Gabarit du mail de notification"
158
- "Number of sponsorships","Nombre de parrainages"
 
 
 
159
  "Once you will have points, you can change them into:","Lorsque vous aurez des points, vous pourrez les changer en :"
160
- "Open inviter providers","Fournisseurs Open Inviter"
161
- "Or add recipient manually.","Ou ajoutez vos destinataires manuellement."
162
- "Order","Commande"
163
- "paginationFirst","Première"
164
- "paginationLast","Dernière"
165
- "paginationNext","Suivante"
166
- "paginationOf"," de "
167
- "paginationPages","page(s)"
168
- "paginationPrev","Précédente"
169
- "Password missing !","Il manque le mot de passe !"
170
- "Please check the form fields.","Veuillez vérifier les champs du formulaire."
171
  "Please enter the full email, not just the username","Merci d'indiquer votre email, et pas seulement votre nom d'utilisateur."
172
- "Please select changes","Merci de sélectionner des échanges"
173
- "Points","Points"
174
- "Points balance:","Solde de vos points :"
175
- "Points calculation","Calcul des points"
176
- "Points exchanges list","Liste des échanges de points"
177
- "Points to exchange:","Points à échanger :"
178
- "Points validity in days(0 for unlimited)","Validité des points en jours (0 pour illimité)"
179
- "Principles of Sponsorship","Principes du parrainage"
180
- "Provider detail","Détail du fournisseur"
181
- "Provider missing !","Il manque le fournisseur !"
182
- "Provider was successfully deleted","Le fournisseur a bien été effacé"
183
- "Provider was successfully saved","Le fournisseur a bien été sauvegardé"
184
- "Ratio applied from level 2 to calculate the points of the sponsor (in percentage)","Ratio appliqué à partir du niveau 2, pour le calcul des points du parrain (en pourcentage)"
185
- "Recall","Relancer"
186
- "Recall %s %s","Relance de %s %s"
187
- "Recipient:","Destinataire :"
188
- "Recipients:","Destinataires :"
189
- "Recovery date","Date de relance"
190
- "Related ID","ID parent"
191
- "Related mail","Email parent"
192
- "Related name","Nom parent"
193
- "Remove Recipient","Supprimer le destinataire"
194
- "Required Fields","Champs obligatoires"
195
- "searchLabel","Recherche"
196
- "Select recipients from your address book:","Sélectionnez les destinataires dans votre carnet d'adresses :"
197
- "Select recipients from your address book.","Sélectionnez les destinataires à partir de votre carnet d'adresses."
198
- "Select your provider and sign in:","Sélectionnez votre fournisseur et identifiez vous :"
199
- "Send email","Envoyer l'email"
200
- "Send notification to sponsor when godchild make him earn points","Envoyer une notification au parrain lorsqu'un filleul lui fait gagner des points"
201
- "Sender:","Expéditeur :"
202
- "Social Networks","Réseaux sociaux"
203
- "Solved","Réglé"
204
- "Special Rate","Taux spécial"
205
- "Special rate","Taux spécial"
206
- "Sponsor","Parrain"
207
- "sponsor","parrainage"
208
- "Sponsor friends","Parrainez des amis"
209
- "Sponsor ID","ID parrain"
210
- "Sponsor points ","Points parrainage"
211
- "Sponsorship","Parrainage"
212
- "Sponsorship and separated mode options","Options du mode parrainage et séparé"
213
- "Sponsorship balance:","Solde parrainage :"
214
- "Sponsorship coupon","Bon de réduction parrainage"
215
- "Sponsorship date","Date de parrainage"
216
- "Sponsorship detail","Détail parrainage"
217
- "Sponsorship information","Information sur le parrainage"
218
- "Sponsorship invitation","Invitation parrainage"
219
- "Sponsorship mail options","Options des mails de parrainage"
220
- "Sponsorship management","Gestion du parrainage"
221
- "Sponsorship module activated","Module de parrainage activé"
222
- "Sponsorship notification","Notification du parrain"
223
- "Sponsorship options","Options de parrainage"
224
- "Sponsorship points","Points parrainage"
225
- "Sponsorship points by fixed amount","Points de parrainage en montant fixe"
226
- "Sponsorship points by fixed amount for whole cart","Points de parrainage fixe sur tout le panier"
227
- "Sponsorship points by percentage of the original price","Points de parrainage en pourcentage du prix"
228
- "Sponsorship points:","Points parrainage :"
229
- "Sponsorship was successfully saved","Le parrainage a bien été mis à jour"
230
- "Sponsorships list","Liste des parrainages"
231
- "Status","Statut"
232
- "Subject:","Sujet :"
233
- "The change has been successfully recorded","L'échange a bien été enregistré"
234
- "The exchange of %s points in %s is disabled.","Le change des points %s en %s est désactivé."
235
- "The gifts exchange is not yet implemented.","L'échange en cadeaux n'est pas encore disponible."
236
- "This change doesn't exist","L'échange n'existe pas"
237
- "This sponsorship doesn't exist","Ce parrainage n'existe pas"
238
- "Time to send it automatically (days)","Temps avant la relance automatique (jours)"
239
- "Time validity invitations (days)","Temps de validité des invitations (jours)"
240
  "To change more cash, you must specify a company number.","Pour changer plus de cash, vous devez indiquer un numéro SIRET."
241
  "To change your points into cash, you must indicate your IBAN.","Pour changer vos points en cash, vous devez indiquer votre code IBAN."
242
- "Type","Type"
243
- "Unable to find change to save","Impossible de trouver l'échange à enregistrer"
244
- "Unable to find invitation to save","Impossible de trouver l'invitation à enregistrer"
245
- "Unable to find sponsorship to save","Impossible de trouver le parrainage à enregistrer"
246
- "Unable to get contacts !","Impossible de récupérer les contacts !"
247
- "Update status","Modifier le statut"
248
- "Use of your fidelity points","Utilisation de vos points fidélité"
249
- "Use of your points","Utilisation de vos points"
250
- "Use of your sponsorship points","Utilisation de vos points parrainage"
251
- "Validate","Valider"
252
- "Validity fidelity points ","Validité des points de fidélité"
253
- "Validity points","Validité des points"
254
- "Validity sponsorship points ","Validité des points de parrainage"
255
- "Value","Valeur"
256
- "Voucher exchange enabled","Échange en bons de réductions activé"
257
- "Voucher exchange mail options","Options des mails d'échange de points en bon de réduction"
258
- "Vouchers","Bons de réduction"
259
- "Vouchers:","Bons de réduction :"
260
- "Waiting","En attente"
261
- "Winning","Points gagnés"
262
- "worth %s","soit %s"
263
- "You can't send an invitation to yourself","Vous ne pouvez pas vous envoyer une invitation à vous même."
264
- "You do not have active godson.","Vous n'avez pas de filleul actif."
265
- "You do not have as many points.","Vous ne disposez pas d'autant de points."
266
- "You do not have yet send invit.","Vous n'avez pas encore envoyé d'invitation."
267
- "You have %d points.","Vous disposez de %d points."
268
- "You must already have purchased to sponsor.","Vous devez déjà avoir commandé pour parrainer."
269
- "You should visit this website. It offers interesting products.","Tu devrais aller sur ce site. Ils ont des produits intéressants."
270
- "Your email has been successfully sent.","Votre email a bien été envoyé."
271
- "Your godsons","Vos filleuls"
272
- "Your invitations","Vos invitations"
273
- "Your lastest orders","Vos dernières commandes"
274
- "Your login:","Votre identifiant :"
275
  "Your mail has not been sent, please try again later.","Votre mail n'a pas pu être délivré, veuillez essayer plus tard."
276
- "Your message","Votre message"
277
- "Your message will be preceded by:","Votre message sera précédé de :"
278
- "Your message will ends as follows:","Votre message se terminera comme suit :"
279
- "Your message:","Votre message :"
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"
1
+ Action,Action
2
+ :You will receive an email with the discount code you can use on your next order.,: Vous recevrez un mail avec le code de réduction que vous pourrez utiliser lors de votre prochaine commande.
3
+ '%s' is not a valid number.,'%s' n'est pas un nombre valide.
4
+ '%s' is not an integer.,'%s' n'est pas un entier.
5
+ '%s' is not greater than 0.,'%s' n'est pas supérieur à 0.
6
+ * Required Fields,* Champs obligatoires
7
+ %s is already an email to our customers,%s est déjà l'email d'un de nos clients
8
+ %s points,%s points
9
+ %s points exchange for customer (%s),Échange de points %s pour le client (%s)
10
+ %s sponsor points,Points de parrainage %s
11
+ %s vouchers points exchange,%s échange de points en bon de réduction
12
+ <a href='%s'>%s</a>,<a href='%s'>%s</a>
13
+ A value is required.,Une valeur est requise.
14
+ Accumulated mode options,Options du mode fidélité et parrainage accumulé
15
+ Activated,Activé
16
+ Active godsons:,Filleuls actifs :
17
+ Add a change,Ajouter un échange
18
+ Add a provider,Ajouter un fournisseur
19
+ Add a sponsorship,Ajouter un parrainage
20
+ Add an invitation,Ajouter une invitation
21
+ Add Recipient,Ajouter un destinataire
22
+ Add recipients,Ajoutez les destinataires.
23
+ Add recipients.,Ajoutez les destinataires.
24
+ Address book provider:,Fournisseur de carnet d'adresse :
25
+ Allow customers who have never ordered to send invitations,Autoriser les clients n'ayant jamais commandé à envoyer des invitations
26
+ Allow customers who have never ordered to send sponsorship invitations,Autoriser les clients n'ayant jamais commandé à envoyer des invitations
27
+ Allow to sponsor registred customers (but never ordered),Autoriser le parainage de clients déjà enregistrés (mais n'ayant jamais commandé)
28
  "Allows customers to import addressbook/contacts from different email providers like Yahoo, Gmail, Hotmail, Live etc. using different CMS software like Drupal, Joomla etc. or forum software like PHPBB, SMF etc. Learn more on <a href='http://openinviter.com'>openinviter.com</a>","Permet aux clients d'importer leur carnet d'adresse depuis plusieurs fournisseurs comme Yahoo, Gmail, Hotmail, Live etc. Plus de sétails sur <a href='http://openinviter.com'>openinviter.com</a>"
29
+ Amount,Montant
30
+ Amount of winning points for first order,Montant des points gagnés pour une première commande
31
+ Amount of winning points for the first godson order,Montant des points gagnés lors de la première commande d'un filleul
32
+ Amount of winning points when subscribe to newsletter on account creation,Montant des points gagnés si le client s'abonne à la newletter lors de son inscription
33
+ An error occured while sending sponsor notification email.,Une erreur est survenue lors de l'envoi du mail de notification au parrain
34
+ An error occurred while saving your request.,Une erreur est survenue lors de l'enregistrement de votre demande.
35
+ An error occurred while sending mail.,Une erreur est survenue lors de l'envoi du mail.
36
  "An error occurred, the mail to %s could not be delivred.","Une erreur est survenue, le mail destiné à %s n'a pas pu être délivré."
37
+ An exception occured !,Une exception s'est produite !
38
+ And it ends as follows:,Et il se terminera comme suit :
39
+ Are you sure to process mass action?,Êtes vous sure de vouloir procéder à une action de masse ?
40
+ Automatic discount in cart,Remise automatique dans le panier
41
+ Back,Retour
42
+ But it could not be saved.,Mais il n'a pas pu être enregistré.
43
+ Buying,Achat
44
+ Buying cancellation,Annulation d'achat
45
+ Calculation period of the maximum allowed for an individual (days),Période de calcul du maximum autorisé pour un particulier (jours)
46
+ Campany number,SIRET
47
+ Cancel earned points on credit memo creation,Annuler les points gagnés lors de la création d'un avoir
48
+ Cancel the use of points on credit memo creation,Annuler l'utilisation des points lors de la création d'un avoir
49
+ Canceled,Annulé
50
+ Cart exchange,Échange panier
51
+ Cash,Cash
52
+ cash,cash
53
+ Cash exchange,Échange en cash
54
+ Cash exchange,Échange de cash
55
+ Cash exchange cancellation,Annulation échange de cash
56
+ Cash exchange enabled,Échange en cash activé
57
+ Change information,Information sur l'échange
58
+ Change your points into:,Cliquez sur un des liens suivants pour changer vos points :
59
+ Check or uncheck all,Tout sélectionner ou tout de-sélectionner
60
+ Choose your provider,Choisissez votre fournisseur
61
+ Conversion rate of points in currency,Taux de conversion des points en monnaie
62
+ coupon,bon de réduction
63
+ Coupon Email Template,Gabarit du mail d'envoi du bon de réduction
64
+ Coupon exchange,Échange en bons de réductions
65
+ Coupon exchange,Échange en bon de réduction
66
+ Coupon exchange cancellation,Annulation échange en bon de réduction
67
+ Creation date,Date de création
68
+ Customer,Client
69
+ Customer ID,ID Client
70
+ Customer name,Nom client
71
+ Date,Date
72
+ Date first invitation,Date de la première invitation
73
+ Date last mail,Date du dernier email
74
  "Dear %s %s,","Bonjour %s %s,"
75
+ Details,Détails
76
+ Edit,Éditer
77
+ Edition of the change '%s',Édition de l'échange '%s'
78
+ Edition of the invitation '%s',Édition de l'invitation '%s'
79
+ Edition of the Open inviter provider '%s',Edition du fournisseur Open inviter '%s'
80
+ Edition of the sponsorship '%s',Édition du parrainage '%s'
81
+ Email Address:,Email :
82
+ Email missing !,Il manque l'email !
83
+ Email Providers,Fournisseurs de mails
84
+ Email:,Email :
85
+ Enter the cash you want.,Indiquez le cash que vous souhaitez obtenir.
86
+ Enter the points you want to convert.,Indiquez les points que vous voulez convertir.
87
+ Entries Per Page:,Nombre par page :
88
+ Exchange detail,Détail échange
89
+ Exchange of your %s points into %s,Échange de vos points %s en %s
90
+ Expiry,Fin de validité
91
+ Exported,Exporté
92
+ Fidelity,Fidélité
93
+ fidelity,fidélité
94
+ Fidelity and separated mode options,Options du mode fidélité et séparé
95
+ Fidelity and Sponsorship,Fidélité et Parrainage
96
+ Fidelity and Sponsorship (accumulated),Fidélité et parrainage (accumulé)
97
+ Fidelity and Sponsorship (separated),Fidélité et parrainage (séparé)
98
+ Fidelity balance:,Solde fidélité :
99
+ Fidelity module activated,Module de fidélité activé
100
+ Fidelity options,Options de fidélité
101
+ Fidelity points,Points fidélité
102
+ Fidelity points and sponsorship management,Points de fidélité et gestion du parrainage
103
+ Fidelity points by fixed amount,Points de fidélité en montant fixe
104
+ Fidelity points by fixed amount for whole cart,Points de fidélités fixe sur tout le panier
105
+ Fidelity points by percentage of the original price,Points de fidélité en pourcentage du prix
106
+ Fidelity points management,Gestion des points de fidélité
107
+ Fidelity points:,Points fidélité :
108
+ First,Premier
109
+ First name,Prénom
110
+ First name:,Prénom :
111
+ First order,Première commande
112
+ gift,cadeau
113
+ Gift exchange,Échange en cadeaux
114
+ Gift exchange,Échange cadeau
115
+ Gift exchange cancellation,Annulation échange cadeau
116
+ Gift exchange enabled,Échange en cadeaux activé
117
+ Gifts,Cadeaux
118
+ Godchild first order,Première commande d'un filleul
119
+ Godson,Filleul
120
+ Godson ID,ID Filleul
121
+ Godson name,Nom filleul
122
+ Guest first name,Prénom invité
123
+ Guest last name,Nom invité
124
+ Guest mail,Email invité
125
+ Guest name,Nom invité
126
+ IBAN,IBAN
127
+ ID,ID
128
+ Import Contacts,Importer contacts
129
+ Import selected contacts,Importer les contacts sélectionnés
130
+ Inactivity time before removal of the sponsorship link (days),Temps d'inactivité avant suppression du lien de parrainage (jours)
 
 
131
  "Invalid IBAN code ""%s""","Le code IBAN ""%s"" est invalide"
132
+ Invitation detail,Détail de l'invitation
133
+ Invitation does not exist,L'invitation n'existe pas
134
+ Invitation Email Template,Gabarit du mail d'invitation
135
+ Invitation information,Information sur l'invitation
136
+ Invitation to %s,Invitation %s
137
+ Invitation was successfully saved,L'invitation a bien été enregistrée
138
+ Invitations list,Liste des invitations
139
+ Last,Dernier
140
+ Last name,Nom
141
+ Last name:,Nom :
142
+ Last order date,Date dernière commande
143
+ Listing date,Date inscription
144
+ loading,chargement
145
+ Login failed. Please check the email and password you have provided and try again later !,L'authentification a échouée. Merci de vérifier votre identifiant et votre mot de passe.
146
+ Manual changes,Modification manuelle
147
+ Max invitations,Nombre max d'invitations
148
+ Maximum amount permitted without company number,Montant maximum autorisé sans SIRET
149
+ Maximum levels of sponsorship,Nombre maximum de niveaux de parrainage
150
+ Message,Message
151
+ Mode of the module,Mode du module
152
+ Module,Module
153
+ Movement,Mouvement
154
+ My fidelity points,Mes points de fidélité
155
+ My sponsor points,Mes points de parrainage
156
+ Name:,Nom :
157
+ Newsletter subscription,Abonnement à la newsletter
158
+ Next,Suivant
159
+ Notification Email Template,Gabarit du mail de notification
160
+ Number of sponsorships,Nombre de parrainages
161
+ of,sur
162
  "Once you will have points, you can change them into:","Lorsque vous aurez des points, vous pourrez les changer en :"
163
+ Open inviter providers,Fournisseurs Open Inviter
164
+ Or add recipient manually.,Ou ajoutez vos destinataires manuellement.
165
+ Order,Commande
166
+ Page,Page
167
+ Password missing !,Il manque le mot de passe !
168
+ Please check the form fields.,Veuillez vérifier les champs du formulaire.
 
 
 
 
 
169
  "Please enter the full email, not just the username","Merci d'indiquer votre email, et pas seulement votre nom d'utilisateur."
170
+ Please select changes,Merci de sélectionner des échanges
171
+ Points,Points
172
+ Points balance:,Solde de vos points :
173
+ Points calculation,Calcul des points
174
+ Points exchanges list,Liste des échanges de points
175
+ Points to exchange:,Points à échanger :
176
+ Points validity in days(0 for unlimited),Validité des points en jours (0 pour illimité)
177
+ Previous,Précèdent
178
+ Principles of Sponsorship,Principes du parrainage
179
+ Provider detail,Détail du fournisseur
180
+ Provider missing !,Il manque le fournisseur !
181
+ Provider was successfully deleted,Le fournisseur a bien été effacé
182
+ Provider was successfully saved,Le fournisseur a bien été sauvegardé
183
+ Ratio applied from level 2 to calculate the points of the sponsor (in percentage),"Ratio appliqué à partir du niveau 2, pour le calcul des points du parrain (en pourcentage)"
184
+ Recall,Relancer
185
+ Recall %s %s,Relance de %s %s
186
+ Recipient:,Destinataire :
187
+ Recipients:,Destinataires :
188
+ Recovery date,Date de relance
189
+ Related ID,ID parent
190
+ Related mail,Email parent
191
+ Related name,Nom parent
192
+ Remove Recipient,Supprimer le destinataire
193
+ Required Fields,Champs obligatoires
194
+ Select recipients from your address book:,Sélectionnez les destinataires dans votre carnet d'adresses :
195
+ Select recipients from your address book.,Sélectionnez les destinataires à partir de votre carnet d'adresses.
196
+ Select your provider and sign in:,Sélectionnez votre fournisseur et identifiez vous :
197
+ Send email,Envoyer l'email
198
+ Send notification to sponsor when godchild make him earn points,Envoyer une notification au parrain lorsqu'un filleul lui fait gagner des points
199
+ Sender:,Expéditeur :
200
+ Social Networks,Réseaux sociaux
201
+ Solved,Réglé
202
+ Special Rate,Taux spécial
203
+ Special rate,Taux spécial
204
+ Sponsor,Parrain
205
+ sponsor,parrainage
206
+ Sponsor friends,Parrainez des amis
207
+ Sponsor ID,ID parrain
208
+ Sponsor points ,Points parrainage
209
+ Sponsorship,Parrainage
210
+ Sponsorship and separated mode options,Options du mode parrainage et séparé
211
+ Sponsorship balance:,Solde parrainage :
212
+ Sponsorship coupon,Bon de réduction parrainage
213
+ Sponsorship date,Date de parrainage
214
+ Sponsorship detail,Détail parrainage
215
+ Sponsorship information,Information sur le parrainage
216
+ Sponsorship invitation,Invitation parrainage
217
+ Sponsorship mail options,Options des mails de parrainage
218
+ Sponsorship management,Gestion du parrainage
219
+ Sponsorship module activated,Module de parrainage activé
220
+ Sponsorship notification,Notification du parrain
221
+ Sponsorship options,Options de parrainage
222
+ Sponsorship points,Points parrainage
223
+ Sponsorship points by fixed amount,Points de parrainage en montant fixe
224
+ Sponsorship points by fixed amount for whole cart,Points de parrainage fixe sur tout le panier
225
+ Sponsorship points by percentage of the original price,Points de parrainage en pourcentage du prix
226
+ Sponsorship points:,Points parrainage :
227
+ Sponsorship was successfully saved,Le parrainage a bien été mis à jour
228
+ Sponsorships list,Liste des parrainages
229
+ Status,Statut
230
+ Subject:,Sujet :
231
+ The change has been successfully recorded,L'échange a bien été enregistré
232
+ The exchange of %s points in %s is disabled.,Le change des points %s en %s est désactivé.
233
+ The gifts exchange is not yet implemented.,L'échange en cadeaux n'est pas encore disponible.
234
+ This change doesn't exist,L'échange n'existe pas
235
+ This sponsorship doesn't exist,Ce parrainage n'existe pas
236
+ Time to send it automatically (days),Temps avant la relance automatique (jours)
237
+ Time validity invitations (days),Temps de validité des invitations (jours)
238
  "To change more cash, you must specify a company number.","Pour changer plus de cash, vous devez indiquer un numéro SIRET."
239
  "To change your points into cash, you must indicate your IBAN.","Pour changer vos points en cash, vous devez indiquer votre code IBAN."
240
+ Type,Type
241
+ Unable to find change to save,Impossible de trouver l'échange à enregistrer
242
+ Unable to find invitation to save,Impossible de trouver l'invitation à enregistrer
243
+ Unable to find sponsorship to save,Impossible de trouver le parrainage à enregistrer
244
+ Unable to get contacts !,Impossible de récupérer les contacts !
245
+ Update status,Modifier le statut
246
+ Use of your fidelity points,Utilisation de vos points fidélité
247
+ Use of your points,Utilisation de vos points
248
+ Use of your sponsorship points,Utilisation de vos points parrainage
249
+ Validate,Valider
250
+ Validity fidelity points ,Validité des points de fidélité
251
+ Validity points,Validité des points
252
+ Validity sponsorship points ,Validité des points de parrainage
253
+ Value,Valeur
254
+ Voucher exchange enabled,Échange en bons de réductions activé
255
+ Voucher exchange mail options,Options des mails d'échange de points en bon de réduction
256
+ Vouchers,Bons de réduction
257
+ Vouchers:,Bons de réduction :
258
+ Waiting,En attente
259
+ Winning,Points gagnés
260
+ worth %s,soit %s
261
+ You can't send an invitation to yourself,Vous ne pouvez pas vous envoyer une invitation à vous même.
262
+ You do not have active godson.,Vous n'avez pas de filleul actif.
263
+ You do not have as many points.,Vous ne disposez pas d'autant de points.
264
+ You do not have yet send invit.,Vous n'avez pas encore envoyé d'invitation.
265
+ You have %d points.,Vous disposez de %d points.
266
+ You must already have purchased to sponsor.,Vous devez déjà avoir commandé pour parrainer.
267
+ You should visit this website. It offers interesting products.,Tu devrais aller sur ce site. Ils ont des produits intéressants.
268
+ Your email has been successfully sent.,Votre email a bien été envoyé.
269
+ Your godsons,Vos filleuls
270
+ Your invitations,Vos invitations
271
+ Your lastest orders,Vos dernières commandes
272
+ Your login:,Votre identifiant :
273
  "Your mail has not been sent, please try again later.","Votre mail n'a pas pu être délivré, veuillez essayer plus tard."
274
+ Your message,Votre message
275
+ Your message will be preceded by:,Votre message sera précédé de :
276
+ Your message will ends as follows:,Votre message se terminera comme suit :
277
+ Your message:,Votre message :
278
+ Your points are valid until the %s,Vos points sont valables jusqu’au %s
279
+ Your points exchanges:,Vos échanges de points :
280
  "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."
 
js/auguria/sponsorship/sorter.js ADDED
@@ -0,0 +1 @@
 
1
+ var TINY={};function T$(i){return document.getElementById(i)}function T$$(e,p){return p.getElementsByTagName(e)}TINY.table=function(){function sorter(n){this.n=n;this.pagesize=20;this.paginate=0}sorter.prototype.init=function(e,f){var t=ge(e),i=0;this.e=e;this.l=t.r.length;t.a=[];t.h=T$$('thead',T$(e))[0].rows[0];t.w=t.h.cells.length;for(i;i<t.w;i++){var c=t.h.cells[i];if(c.className!='nosort'){c.className=this.head;c.onclick=new Function(this.n+'.wk(this.cellIndex)')}}for(i=0;i<this.l;i++){t.a[i]={}}if(f!=null){var a=new Function(this.n+'.wk('+f+')');a()}if(this.paginate){this.g=1;this.pages()}};sorter.prototype.wk=function(y){var t=ge(this.e),x=t.h.cells[y],i=0;for(i;i<this.l;i++){t.a[i].o=i;var v=t.r[i].cells[y];t.r[i].style.display='';while(v.hasChildNodes()){v=v.firstChild}t.a[i].v=v.nodeValue?v.nodeValue:''}for(i=0;i<t.w;i++){var c=t.h.cells[i];if(c.className!='nosort'){c.className=this.head}}if(t.p==y){t.a.reverse();x.className=t.d?this.asc:this.desc;t.d=t.d?0:1}else{t.p=y;t.a.sort(cp);t.d=0;x.className=this.asc}var n=document.createElement('tbody');for(i=0;i<this.l;i++){var r=t.r[t.a[i].o].cloneNode(true);n.appendChild(r);r.className=i%2==0?this.even:this.odd;var cells=T$$('td',r);for(var z=0;z<t.w;z++){cells[z].className=y==z?i%2==0?this.evensel:this.oddsel:''}}t.replaceChild(n,t.b);if(this.paginate){this.size(this.pagesize)}};sorter.prototype.page=function(s){var t=ge(this.e),i=0,l=s+parseInt(this.pagesize);if(this.currentid&&this.limitid){T$(this.currentid).innerHTML=this.g}for(i;i<this.l;i++){t.r[i].style.display=i>=s&&i<l?'':'none'}};sorter.prototype.move=function(d,m){var s=d==1?(m?this.d:this.g+1):(m?1:this.g-1);if(s<=this.d&&s>0){this.g=s;this.page((s-1)*this.pagesize)}};sorter.prototype.size=function(s){this.pagesize=s;this.g=1;this.pages();this.page(0);if(this.currentid&&this.limitid){T$(this.limitid).innerHTML=this.d}};sorter.prototype.pages=function(){this.d=Math.ceil(this.l/this.pagesize)};function ge(e){var t=T$(e);t.b=T$$('tbody',t)[0];t.r=t.b.rows;return t};function cp(f,c){var g,h;f=g=f.v.toLowerCase(),c=h=c.v.toLowerCase();var i=parseFloat(f.replace(/(\$|\,)/g,'')),n=parseFloat(c.replace(/(\$|\,)/g,''));if(!isNaN(i)&&!isNaN(n)){g=i,h=n}i=Date.parse(f);n=Date.parse(c);if(!isNaN(i)&&!isNaN(n)){g=i;h=n}return g>h?1:(g<h?-1:0)};return{sorter:sorter}}();
js/auguria/sponsorship/table_orderer.js DELETED
@@ -1,574 +0,0 @@
1
- // Copyright (c) 2007 Gregory SCHURGAST (http://www.negko.com, http://prototools.negko.com)
2
- //
3
- // Permission is hereby granted, free of charge, to any person obtaining
4
- // a copy of this software and associated documentation files (the
5
- // "Software"), to deal in the Software without restriction, including
6
- // without limitation the rights to use, copy, modify, merge, publish,
7
- // distribute, sublicense, and/or sell copies of the Software, and to
8
- // permit persons to whom the Software is furnished to do so, subject to
9
- // the following conditions:
10
- //
11
- // The above copyright notice and this permission notice shall be
12
- // included in all copies or substantial portions of the Software.
13
- //
14
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
- //
22
- // VERSION 1.2.20090611
23
-
24
- var TableOrderer = Class.create();
25
- //defining the rest of the class implementation
26
-
27
- TableOrderer.prototype = {
28
- initialize: function(element,options,msgs) {
29
- this.element = element;
30
- this.options = options;
31
- this.msgs = msgs;
32
-
33
- this.options = Object.extend({
34
- data: false, // array of data
35
- cols: [],
36
- url: false, // url to a JSON application containing the data
37
- allowMultiselect : true, // don't work yet
38
- unsortedColumn : [], // array of column you don't want to sort
39
- dateFormat : 'd', // d|m ; d => dd/mm/yyyy; m => mm/dd/yyyy
40
- filter : false, // show Filter Option. false | 'top' | 'bottom'
41
- pageCount : 5, // Number of items by table
42
- paginate : false, // show Paginate Option. false | 'top' | 'bottom'
43
- search : false
44
- }, options || {});
45
-
46
- // saves tool state data for pagination, filtering and searching.
47
- this.tools = {
48
- page: 1, // for pagination
49
- pages: 1, // for pagination
50
- filterCol: '', // for filtering
51
- filterData: '', // for filtering
52
- searchData: '' // for global searching
53
- };
54
-
55
- // separates text messages out
56
- this.msgs = Object.extend({
57
- loading: 'Loading...',
58
- emptyResults: 'No matches found',
59
- errorURL: 'invalid data',
60
- errorData: 'no data',
61
- searchLabel: 'Search : ',
62
- filterLabel: 'Filter Column : ',
63
- paginationOf: ' of ',
64
- paginationPages: ' pages ',
65
- paginationFirst: '<<',
66
- paginationPrev: '<',
67
- paginationNext: '>',
68
- paginationLast: '>>'
69
- }, msgs || {});
70
-
71
- this.cache = []; // for caching capabilities
72
- this.isCached = false; // for caching capabilities
73
- this.container = $(element);
74
- this.orderField = false;
75
- this.order = 'asc';
76
- this.thClickbfx = this.thClick.bindAsEventListener(this);
77
- this.thOverbfx = this.thOver.bindAsEventListener(this);
78
- this.thOutbfx = this.thOut.bindAsEventListener(this);
79
- this.setData();
80
-
81
- },
82
-
83
- // clearCache -- Replaces this.cache with orginal data loaded into the table.
84
- clearCache : function() {
85
- this.isCached = false;
86
- this.cache = this.data;
87
-
88
- // Clearing the cache does not clear any ordering done on the data,
89
- // just operations that remove records from the user's view (i.e. filtering)
90
- if(this.orderField) {
91
- this.orderData(this.orderField);
92
- if (this.order == 'desc') { this.cache = this.cache.reverse(); }
93
- }
94
- },
95
-
96
- // preform -- performs any inital operations needed to create the table after the data has been loaded.
97
- perform : function(){
98
- this.tools.pages = Math.ceil(this.cache.size() / this.options.pageCount);
99
- this.setColumnsName();
100
- this.clearCache();
101
- this.createTable();
102
- },
103
-
104
- // getData -- gets table data from a @url. The header response from the URL must be application/json
105
- // param url: URL from where the total table data resides.
106
- getData : function(url){
107
- var transmit = new Ajax.Request(url,{
108
- onLoading : function(){ $(this.element).update(this.msgs.loading); }.bind(this),
109
- onSuccess: function(transport) {
110
- this.data = transport.responseJSON;
111
- this.perform();
112
- }.bind(this),
113
- onFailure : function(){ alert(this.msgs.errorURL); }
114
- });
115
- },
116
-
117
- // setData -- determines if the data is coming from a URL or from a json string on the page.
118
- setData : function(){
119
- if (!this.options.data && !this.options.url){alert(this.msgs.errorData);}
120
- this.data = this.options.data ? this.options.data : false;
121
- if(this.data) { this.perform(); } else { this.getData(this.options.url); }
122
- },
123
-
124
- // orderRule -- determines if @s is a date
125
- // param s: string representing column data
126
- orderRule : function (s){
127
- var dateRE = /^(\d{2})[\/\- ](\d{2})[\/\- ](\d{4}|\d{2})/;
128
- var exp=new RegExp(dateRE);
129
- if ( exp.test(s) ){
130
- s = this.options.dateFormat == 'd' ? s.replace(dateRE,"$3$2$1") : s.replace(dateRE,"$3$1$2");
131
- }
132
- return s;
133
- },
134
-
135
- // defineOrderField -- keeps track of previous orderField columns and sets the current orderField through the triggering element's id.
136
- // param e: the event object created that triggered this method
137
- defineOrderField : function(e){
138
- this.previousOrderField = this.orderField;
139
- this.orderField = Event.element(e).id.replace(this.table.id+'-','');
140
- },
141
-
142
- /* if you click on a header for the first time order is ascending
143
- else it switches between ascending and descending
144
- */
145
- // defineOrder -- determines what the order of the data should be
146
- defineOrder : function(){
147
- if (this.previousOrderField == this.orderField){ this.order = this.order == 'desc' ? 'asc' : 'desc'; }
148
- else { this.order = 'asc'; }
149
- },
150
-
151
- /* Ordonne les donn�es du tableau */
152
- // orderData -- sorts the table's cache by the @order given it.
153
- // param order: defines the order that the data should be as ascending (asc) or descending (desc)
154
- orderData : function(order){
155
- this.cache = this.cache.sortBy(function(s){
156
- var v = Object.values(s)[Object.keys(s).indexOf(order)];
157
- return this.orderRule(v);
158
- }.bind(this));
159
- },
160
-
161
- // thClick -- event handler for when the user clicks on the th cell of the table. It orders the table data by that column's field.
162
- // param e: event that triggered handler.
163
- thClick : function(e){
164
- this.defineOrderField(e);
165
- this.defineOrder();
166
- this.orderData(this.orderField);
167
-
168
- if (this.order == 'desc') { this.cache = this.cache.reverse(); }
169
-
170
- this.updateTable();
171
- },
172
-
173
- // thOver -- event handler for when the user's mouse goes over the th cell.
174
- // param e: event that triggered handler
175
- thOver : function(e){
176
- Event.element(e).addClassName('on');
177
- },
178
-
179
- // thOut -- event handler for when the user's mouse moves out of the th cell.
180
- // param e: event that triggered handler
181
- thOut : function(e){
182
- Event.element(e).removeClassName('on');
183
- },
184
-
185
- // trClick -- event handler for when user clicks on a table row, highlighting the row
186
- // param e: event that triggered handler
187
- trClick : function(e){
188
- this.setSelected(Event.findElement(e,'tr'));
189
- var selected;
190
- var items = Event.findElement(e,'tr').descendants().pluck('innerHTML');
191
- var json = '{';
192
- var keys = Object.keys(this.model);
193
-
194
- items.each(function(i,index){
195
- json += index === 0 ? '' : ', ';
196
- json += '"'+keys[index]+'": "'+i+'"';
197
- });
198
- json += '}';
199
- selected = json.evalJSON();
200
- },
201
-
202
- // trOver -- event handler for when the user's mouse moves into a table row.
203
- // param e: event that triggered handler
204
- trOver : function(e){
205
- Event.findElement(e,'tr').addClassName('on');
206
- },
207
-
208
- // trOut -- event handler for when the user's mouse moves out of a table row.
209
- // param e: event that triggered handler
210
- trOut : function(e){
211
- Event.findElement(e,'tr').removeClassName('on');
212
- },
213
-
214
- // setSelected -- what to do when a table row is selected.
215
- // param elt: the table row that is selected
216
- setSelected : function(elt){
217
- if (this.options.allowMultiselect){
218
- if(elt.hasClassName('selected')) { elt.removeClassName('selected'); } else { elt.addClassName('selected'); }
219
- }
220
- else{
221
- /* */
222
- }
223
- },
224
-
225
- // addToolsObserver -- binds the event handlers to the events associated with tools only
226
- addToolsObserver : function(){
227
- var tid = this.table.id;
228
-
229
- if (this.options.filter){
230
- var filterDatakbfx = this.filterData.bindAsEventListener(this);
231
- Event.observe(tid+'-filter-column','change',filterDatakbfx);
232
- Event.observe(tid+'-filter-data','keyup',filterDatakbfx);
233
- }
234
-
235
- if (this.options.search){
236
- var searchDatakbfx = this.searchData.bindAsEventListener(this);
237
- Event.observe(tid+'-search-data','keyup',searchDatakbfx);
238
- }
239
-
240
- if(this.options.paginate){
241
- var pagerDatabfx = this.pagerData.bindAsEventListener(this);
242
- Event.observe(tid + '-page-prev', 'click', pagerDatabfx);
243
- Event.observe(tid + '-page-next', 'click', pagerDatabfx);
244
- Event.observe(tid + '-page-last', 'click', pagerDatabfx);
245
- Event.observe(tid + '-page-first', 'click', pagerDatabfx);
246
- }
247
- },
248
-
249
- // addTableObserver -- binds event handlers to the events associated with the table generated.
250
- addTableObserver : function() {
251
- var tid = this.table.id;
252
- $$('#'+tid+' th')
253
- .invoke('observe','click',this.thClickbfx)
254
- .invoke('observe','mouseover',this.thOverbfx)
255
- .invoke('observe','mouseout',this.thOutbfx);
256
-
257
- $$('#'+tid+' tr.data')
258
- .invoke('observe','click',this.trClick.bindAsEventListener(this))
259
- .invoke('observe','mouseover',this.trOver.bindAsEventListener(this))
260
- .invoke('observe','mouseout',this.trOut.bindAsEventListener(this));
261
- },
262
-
263
- // Two approaches to filtering:
264
- // 1. If pagination is turned ON then we just recreate the rows using updateTable. Somewhat costly due to creating new elements but hopefully offset by a smaller amount of rows being shown.
265
- // 2. If pagination is turned OFF then go the slick way of just hiding the rows, which is much faster.
266
- //
267
- // filterData -- handler for filtering data. Updates this.tools internal state information for the filter tool and updates the table. Tried optimizing it as much as possible.
268
- // param e: the event triggering handler
269
- filterData : function(e){
270
- var tid = this.table.id;
271
- var caller = Event.element(e);
272
-
273
- if(caller.id == tid + '-filter-column' && this.tools.filterData === ''){
274
- this.tools.filterCol = $F(tid + '-filter-column');
275
- return; // if we are just changing the column option and we had not filtered previously then just update the column info.
276
- }
277
-
278
- // Update state information for filter tool.
279
- this.tools.filterData = $F(tid + '-filter-data');
280
- if(caller.id == tid + '-filter-column') {
281
- // clear filter data when changing which column we are filtering on.
282
- $(tid + '-filter-data').clear();
283
- this.tools.filterCol = $F(tid + '-filter-column');
284
- this.tools.filterData = '';
285
- }
286
-
287
- // Anytime we filter there is a good chance our data view will change.
288
- this.clearCache();
289
-
290
- if(this.options.paginate) {
291
- this.updateTable();
292
- return;
293
- }
294
-
295
- $$('#'+tid+' td.' + tid+'-column-'+this.tools.filterCol).each(function(i){
296
- i.ancestors()[1].show();
297
- if(!i.innerHTML.toUpperCase().include(this.tools.filterData.toUpperCase())){
298
- i.ancestors()[1].hide();
299
- }
300
- });
301
- },
302
-
303
- // pagerData -- handler for pagination. This is modifies the internal state of this.tools for pagination and then updates the table. It supports first, last, next and previous operations on the pages.
304
- // param e: the event that triggered the handler
305
- pagerData : function(e){
306
- var tid = this.table.id;
307
- var caller = Event.element(e);
308
-
309
- switch(caller.id) {
310
- case tid+'-page-next':
311
- this.tools.page = ((++this.tools.page) > this.tools.pages) ? --this.tools.page : this.tools.page;
312
- break;
313
- case tid+'-page-prev':
314
- this.tools.page = ((--this.tools.page) > this.tools.pages) ? ++this.tools.page : this.tools.page;
315
- break;
316
- case tid+'-page-last':
317
- this.tools.page = this.tools.pages;
318
- break;
319
- default:
320
- this.tools.page = 1;
321
- }
322
- this.updateTable();
323
- },
324
-
325
- // searchData -- handler for search tool. This modifies the internal state of this.tools for search tool, clears the cache and updates the table.
326
- // param e: the event that triggered the handler
327
- searchData : function(e){
328
- var tid = this.table.id;
329
-
330
- // Update state information for search tool.
331
- this.tools.searchData = $F(tid + '-search-data');
332
-
333
- // Anytime we filter there is a good chance our data view will change.
334
- this.clearCache();
335
-
336
- this.updateTable();
337
- },
338
-
339
- // makeColumnUnsortable -- takes the @columnId and makes its associated th cell unclickable by removing any user visual cue that it is a sortable column
340
- // param columnId: the name of the column (field) that will be unsortable. This the same name that is used as part of the column's id.
341
- makeColumnUnsortable : function(columnId){
342
- columnId = this.table.id + '-' + columnId;
343
- $(columnId).setStyle({'backgroundImage' : 'none'});
344
- Event.stopObserving($(columnId),'click', this.thClickbfx);
345
- Event.stopObserving($(columnId),'mouseover', this.thOverbfx);
346
- Event.stopObserving($(columnId),'mouseout', this.thOutbfx);
347
- },
348
-
349
- // makeUnsort -- cycles through each item of options.unsortedColumn and makes them unsortable.
350
- makeUnsort : function(){
351
- this.options.unsortedColumn.each(function(i){
352
- if($(this.table.id + '-' + i)){ this.makeColumnUnsortable(i);}
353
- }.bind(this));
354
- },
355
-
356
- // createTable -- creates the inital table being ran just once. It writes out the HTML elements for the table and tools interface (i.e. pagination).
357
- createTable : function(){
358
- this.container.update();
359
- this.container.insert({ top: '<table cellspacing="0" cellpadding="0" id="data-grid-'+this.element+'" class="prototools-table"></table>' });
360
- this.table = $('data-grid-'+this.element);
361
- this.createTools();
362
- this.createRows();
363
- this.addToolsObserver();
364
- this.addTableObserver();
365
- this.makeUnsort();
366
- },
367
-
368
- // updateTable -- updates just the table data, writting out the updated rows to the user and recreating the th cells in the process.
369
- updateTable : function(){
370
- this.table = $('data-grid-'+this.element);
371
- $(this.table.id).update();
372
- this.createRows();
373
- this.addTableObserver();
374
- this.makeUnsort();
375
- },
376
-
377
- // createRow -- writes out the HTML for a row using the data in @obj and applies the correct class styles associated with its @index
378
- // param obj: holdes the data of the row
379
- // param index: which index row this obj is in context to the table
380
- createRow : function(obj,index){
381
- var line = index % 2;
382
- var row = '<tr class="data line'+line+'" id="'+this.table.id+'-'+index+'">\n';
383
- var values = Object.values(obj);
384
-
385
- this.tableColumnsName.each(function(s,index){
386
- row += '\t<td class="'+this.table.id+'-column-'+s+'">'+values[index]+'</td>\n';
387
- }.bind(this));
388
- row += '\n</tr>';
389
- return row;
390
- },
391
-
392
- // createFirstRow -- sets up the th cells of the table
393
- // param obj: This has not been implemented -- FOR FUTURE USE
394
- createFirstRow : function(obj){
395
- var row = '\n<thead>\n<tr>\n';
396
- this.tableColumnsName.each(function(i,index){
397
- row += '\t<th id="'+this.table.id+'-'+i+'">'+this.options.cols[index]+'</th>';
398
- }.bind(this));
399
- row += '\n</tr>\n</thead>\n';
400
- this.model = Object.clone(obj); // NOT SURE WHAT THIS IS DOING.
401
- return row;
402
- },
403
-
404
- // setColumnsName -- column names come from the labels in the data given to the table. Just grab the names from the first record.
405
- setColumnsName : function(){
406
- this.tableColumnsName = Object.keys(this.data[0]);
407
- },
408
-
409
- // creatFilter -- creates the HTML elements for the filter tool.
410
- createFilter : function(obj){
411
- var option = '';
412
- this.tableColumnsName.each(function(i,index){
413
- option += '\t<option value="'+i+'">'+obj.options.cols[index]+'</option>\n';
414
- });
415
- $(this.table.id+'-options').insert({bottom : this.msgs.filterLabel})
416
- .insert({bottom : '<select id="'+this.table.id+'-filter-column">'+option+'</select>'})
417
- .insert({bottom : Element('input',{'id' : this.table.id+'-filter-data'})});
418
-
419
- this.tools.filterCol = $F(this.table.id + '-filter-column');
420
- this.tools.filterData = $F(this.table.id + '-filter-data');
421
- },
422
-
423
- // createPager -- creates the HTML elements for the pagination tool
424
- createPager : function () {
425
- $(this.table.id+'-pager').insert({bottom : Element('input',{'id' : this.table.id+'-page-first', 'type' : 'button', 'value' : this.msgs.paginationFirst, 'class' : 'first-page-button'})})
426
- .insert({bottom : Element('input',{'id' : this.table.id+'-page-prev', 'type' : 'button', 'value' : this.msgs.paginationPrev, 'class' : 'prev-page-button'})})
427
- .insert({bottom : '<span id="' + this.table.id+'-page-current' + '" class="currentpage">' + this.tools.page + '</span>'})
428
- .insert({bottom : Element('input',{'id' : this.table.id+'-page-next', 'type' : 'button', 'value' : this.msgs.paginationNext, 'class' : 'next-page-button'})})
429
- .insert({bottom : Element('input',{'id' : this.table.id+'-page-last', 'type' : 'button', 'value' : this.msgs.paginationLast, 'class' : 'last-page-button'})})
430
- .insert({bottom : this.msgs.paginationOf + '<span id="' + this.table.id + '-page-total' + '" class="totalpages">' + this.tools.pages + '</span>' + this.msgs.paginationPages});
431
- },
432
-
433
- // createSearch -- creates the HTML elements for the search tool
434
- createSearch : function(){
435
- $(this.table.id+'-search').insert({bottom : this.msgs.searchLabel})
436
- .insert({bottom : Element('input',{'id' : this.table.id+'-search-data'})});
437
-
438
- this.tools.searchData = $F(this.table.id + '-search-data');
439
- },
440
-
441
- // A tool is any interface that acts on the table data and not directly placed in the table that is generated.
442
- //
443
- // createTools -- determines if each tool is going to be displayed at all or at the top or bottom of the data table.
444
- // this should be ran only once when the table is first created since it can be expensive to create HTML elements.
445
- // all other times tools are updated using DOM calls. the order that each tool appears is based on where in the code it is create here.
446
- createTools : function() {
447
- var filterDiv, pagerDiv, searchDiv;
448
-
449
- if (this.options.filter) {
450
- filterDiv = new Element('div' , {'id' : this.table.id+'-options' , 'class':'prototools-options'});
451
- if(this.options.filter == 'top') {
452
- this.table.insert({ before : filterDiv});
453
- filterDiv.setStyle('border-bottom : none;');
454
- }
455
- else {
456
- this.table.insert({ after : filterDiv});
457
- filterDiv.setStyle('border-top : none;');
458
- }
459
- this.createFilter(this);
460
- }
461
-
462
- if(this.options.search)
463
- {
464
- searchDiv = new Element('div', {'id' : this.table.id + '-search', 'class':'prototools-search'});
465
- if(this.options.search == 'top') {
466
- this.table.insert({ before : searchDiv});
467
- searchDiv.setStyle('border-bottom : none;');
468
- }
469
- else {
470
- this.table.insert({ after : searchDiv});
471
- searchDiv.setStyle('border-top : none;');
472
- }
473
- this.createSearch();
474
- }
475
-
476
- if(this.options.paginate)
477
- {
478
- pagerDiv = new Element('div', {'id' : this.table.id + '-pager', 'class':'prototools-pager'});
479
- if(this.options.paginate == 'top') {
480
- this.table.insert({ before : pagerDiv});
481
- pagerDiv.setStyle('border-bottom : none;');
482
- }
483
- else {
484
- this.table.insert({ after : pagerDiv});
485
- pagerDiv.setStyle('border-top : none;');
486
- }
487
- this.createPager();
488
- }
489
- },
490
-
491
- // createRows -- this is really the heart of the script. createRows takes the data in this.cache passes it through the filter tool, then passes it through the search tool and
492
- // finally paginates the results displaying (creating rows) only the current page. if no records result then a message is displayed to the user. this always uses the cache
493
- // and never this.data directly
494
- createRows : function(){
495
- var line = 1;
496
- var display, enddisplay, startdisplay, dataView, dat, col, searchStr,row, s;
497
-
498
- // header information
499
- this.table.insert({ top: this.createFirstRow() });
500
-
501
- // data -> {filter} -> dataView -> {paginate} -> display
502
- dataView = this.cache;
503
-
504
- // if filtering is turned off or not currently being used then skip
505
- if(this.options.filter && !this.isCached && this.tools.filterData !== '') {
506
- col = this.tools.filterCol;
507
- dat = this.tools.filterData.toUpperCase();
508
- dataView = [];
509
-
510
- dataView = this.cache.inject([], function(array, rec, index) {
511
- if(rec[col].toString().toUpperCase().include(dat))
512
- {
513
- array.push(rec);
514
- }
515
-
516
- return array;
517
- });
518
- }
519
-
520
- if(this.options.search && !this.isCached && this.tools.searchData !== '') {
521
- dat = this.tools.searchData.toUpperCase();
522
-
523
- dataView = dataView.inject([], function(array, value, index) {
524
- searchStr = Object.values(value).inject('', function(acc, n) {
525
- return acc + " " + n;
526
- });
527
-
528
- if(searchStr.toUpperCase().include(dat)) {
529
- array.push(value);
530
- }
531
-
532
- return array;
533
- });
534
- }
535
- display = dataView;
536
-
537
- if(this.options.paginate) {
538
- this.tools.pages = Math.ceil(dataView.size() / this.options.pageCount);
539
- if(this.tools.page > this.tools.pages) { this.tools.page = this.tools.pages; }
540
- if(this.tools.page < 1) { this.tools.page = 1; }
541
- if(this.tools.pages === 0) { this.tools.page = 0; }
542
-
543
- $(this.table.id + '-page-current').update(this.tools.page); // update current page on tool
544
- $(this.table.id + '-page-total').update(this.tools.pages); // update total pages on tool
545
-
546
- // Instead of displaying all just display a "paginate window" to the user.
547
- startdisplay = this.options.pageCount * (this.tools.page - 1);
548
- enddisplay = this.options.pageCount * this.tools.page;
549
- display = dataView.slice(startdisplay, enddisplay);
550
- }
551
-
552
- display.each(function(i,index){
553
- this.table.insert({ bottom: this.createRow(i,index) });
554
- line = (line == 1) ? 2 : 1;
555
- }.bind(this));
556
-
557
- // if there are no results
558
- if(display.size() === 0) {
559
- s = this.tableColumnsName.size();
560
- row = '<tr class="data line0" id="'+this.table.id+'-0">\n';
561
- row += '\t<td class="'+this.table.id+'-column" colspan="' + s + '">'+this.msgs.emptyResults+'</td>\n';
562
- row += '\n</tr>';
563
- this.table.insert({ bottom: row });
564
- }
565
-
566
- if (this.orderField){ $( this.table.id+'-'+this.orderField).addClassName(this.order); }
567
-
568
- // the new dataView is set as the cache
569
- if(!this.isCached) {
570
- this.isCached = true;
571
- this.cache = dataView;
572
- }
573
- }
574
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,7 +1,7 @@
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>
@@ -26,9 +26,9 @@ Once installed, you must:&#xD;
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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Auguria_Sponsorship</name>
4
+ <version>1.2.8</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
7
  <channel>community</channel>
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-06-08</date>
30
+ <time>13:42:51</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="b34450ac151dee1d1bf61d1648094a40"/></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="82ab725ede4be657becde8d5633008b0"/><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="d8f8ebff559cb6082997bae6dcd63f5c"/></dir></dir><dir name="template"><dir name="auguria"><dir name="sponsorship"><dir name="customer"><dir name="account"><file name="accumulatedpointsdetail.phtml" hash="137fd22f7e3faba820d77a0d022d4be3"/><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="4f7a0a2261a3ecd482120fe509e67ed4"/><file name="sponsorpointsdetail.phtml" hash="525a267858d23e4843f341552c00b40e"/></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="e21fae9f6b851432c39ee656e8a4f5c9"/><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="sorter.css" hash="f46615a19ca05b5e9bbd84d479773de2"/></dir></dir></dir><dir name="images"><dir name="auguria"><dir name="sponsorship"><dir name="sorter"><file name="asc.gif" hash="58e5329314e6a12f494990ce04867020"/><file name="desc.gif" hash="7e396735fb1e84edcb688e7df472855b"/><file name="first.gif" hash="491e4cb4e5a66671d6a59abf7af1f597"/><file name="last.gif" hash="501077205048ae683c0ef6b4158e9320"/><file name="next.gif" hash="ed4d6640624c2b6edeab4c212314bd6d"/><file name="previous.gif" hash="75973b020105dccbaf34e49d7852552d"/><file name="sorter.gif" hash="e3153c533d1a71bcc71c641b64cdf676"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="auguria"><dir name="sponsorship"><file name="sorter.js" hash="aeedb979ceafb91f876525e5a392220d"/></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>
skin/frontend/base/default/css/auguria/sponsorship/sorter.css ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Pager */
2
+ div.sorter-pager {
3
+ margin: 5px 0 40px 0;
4
+ }
5
+ div.sorter-pager div.navigation,
6
+ div.sorter-pager div.text,
7
+ div.sorter-pager div.entries {
8
+ float: left;
9
+ margin: 0 0 0 5px;
10
+ }
11
+
12
+ div.sorter-pager div.entries {
13
+ float: left;
14
+ margin: 0 200px 0 0;
15
+ }
16
+ div.sorter-pager div.navigation div{
17
+ float: left;
18
+ height: 7px;
19
+ margin: 7px 2px;
20
+ cursor: pointer;
21
+ }
22
+ div.sorter-pager div.navigation div.first {
23
+ background-image:url('../../../images/auguria/sponsorship/sorter/first.gif');
24
+ width: 7px;
25
+ }
26
+ div.sorter-pager div.navigation div.previous {
27
+ background-image:url('../../../images/auguria/sponsorship/sorter/previous.gif');
28
+ width: 6px;
29
+ }
30
+ div.sorter-pager div.navigation div.next {
31
+ background-image:url('../../../images/auguria/sponsorship/sorter/next.gif');
32
+ width: 6px;
33
+ }
34
+ div.sorter-pager div.navigation div.last {
35
+ background-image:url('../../../images/auguria/sponsorship/sorter/last.gif');
36
+ width: 7px;
37
+ }
38
+ div.sorter-pager div.navigation div span {
39
+ display: none;
40
+ }
41
+
42
+ /* Table */
43
+ table.data-table thead tr th.sortable,
44
+ table.data-table thead tr th.asc,
45
+ table.data-table thead tr th.desc,
46
+ table.data-table thead tr th.nosort {
47
+ text-align: center;
48
+ }
49
+
50
+ table.data-table thead tr th.sortable span,
51
+ table.data-table thead tr th.asc span,
52
+ table.data-table thead tr th.desc span,
53
+ table.data-table thead tr th.nosort span {
54
+ text-align: center;
55
+ white-space: normal;
56
+ display: inline-block;
57
+ }
58
+
59
+ table.data-table thead tr th.sortable span,
60
+ table.data-table thead tr th.asc span,
61
+ table.data-table thead tr th.desc span {
62
+ cursor: pointer;
63
+ background-repeat: no-repeat;
64
+ background-position: right ;
65
+ padding-right: 25px;
66
+ }
67
+ table.data-table thead tr th.sortable span {
68
+ background-image: url('../../../images/auguria/sponsorship/sorter/sorter.gif');
69
+ }
70
+ table.data-table thead tr th.asc span {
71
+ background-image: url('../../../images/auguria/sponsorship/sorter/asc.gif');
72
+
73
+ }
74
+ table.data-table thead tr th.desc span {
75
+ background-image: url('../../../images/auguria/sponsorship/sorter/desc.gif');
76
+ }
skin/frontend/base/default/css/auguria/sponsorship/tableorderer.css DELETED
@@ -1,44 +0,0 @@
1
- .prototools-table{ width:100%; text-align:center; font-size:12px; border:1px solid #bebcb7; }
2
- .prototools-table th{
3
- margin:0;
4
- cursor:pointer;
5
- background-position:right center;
6
- background-repeat:no-repeat;
7
- background-image:url('../../../images/auguria/sponsorship/tableorderer/bg.gif');
8
- border-right:1px solid #c2d3e0;
9
- color:#0a263c;
10
- padding : 2px 18px;
11
- text-align:center;
12
- }
13
-
14
- .prototools-table thead tr { background: #d9e5ee; }
15
-
16
- .prototools-table th.desc{background-image:url('../../../images/auguria/sponsorship/tableorderer/desc.gif'); }
17
- .prototools-table th.asc{background-image:url('../../../images/auguria/sponsorship/tableorderer/asc.gif'); }
18
- .prototools-table th.on{ cursor :pointer;}
19
-
20
- .prototools-table td { border-bottom:1px solid #d9dde3; border-right:1px solid #d9dde3; padding : 6px; }
21
-
22
- .prototools-table tr.line0{ background:#f8f7f5; }
23
- .prototools-table tr.line1{ background:#eeeded; }
24
- /*.prototools-table tr.on{ background-color:#CDDBDC; }*/
25
- .prototools-table tr.selected{ background-color:#E4E4E4; }
26
-
27
- div.prototools-options { font-size:12px; padding :3px 7px; background:url('../../../images/auguria/sponsorship/tableorderer/bkg_toolbar.gif') repeat-x 0 100% #fff;}
28
- div.prototools-options input, div.prototools-options select{border : 1px solid #CCC; font-size:12px; padding :1px 3px; margin :0 5px;}
29
- /*.prev-page-button {background:url(../images/login_box_form_buttons_bg.gif) }*/
30
-
31
- div.prototools-pager { font-size:11px; padding :5px 7px; text-align:right; background:url('../../../images/auguria/sponsorship/tableorderer/bkg_pager.gif') repeat-x 0 100% #fff;}
32
- div.prototools-pager .currentpage {padding-left:10px; padding-right:10px;}
33
- div.prototools-pager .totalpages {padding:0;}
34
- div.prototools-pager input {font-size:11px;}
35
-
36
- div.prototools-search {border : 1px solid #E1E1E1; font-size:11px; padding :5px 7px;}
37
- div.prototools-search input {border : 1px solid #E1E1E1; font-size:11px; margin :0 3px;}
38
-
39
- th {font-weight:bold;}
40
-
41
- /*Alignements spécifiques*/
42
- .data-grid-invit-table-column-invits_name { text-align:left; }
43
- .data-grid-invit-table-column-invits_email { text-align:left; }
44
- .data-grid-sponsor-table-column-nom { text-align:left; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
skin/frontend/base/default/images/auguria/sponsorship/sorter/asc.gif ADDED
Binary file
skin/frontend/base/default/images/auguria/sponsorship/sorter/desc.gif ADDED
Binary file
skin/frontend/base/default/images/auguria/sponsorship/sorter/first.gif ADDED
Binary file
skin/frontend/base/default/images/auguria/sponsorship/sorter/last.gif ADDED
Binary file
skin/frontend/base/default/images/auguria/sponsorship/sorter/next.gif ADDED
Binary file
skin/frontend/base/default/images/auguria/sponsorship/sorter/previous.gif ADDED
Binary file
skin/frontend/base/default/images/auguria/sponsorship/sorter/sorter.gif ADDED
Binary file
skin/frontend/base/default/images/auguria/sponsorship/tableorderer/asc.gif DELETED
Binary file
skin/frontend/base/default/images/auguria/sponsorship/tableorderer/bg.gif DELETED
Binary file
skin/frontend/base/default/images/auguria/sponsorship/tableorderer/bkg_pager.gif DELETED
Binary file
skin/frontend/base/default/images/auguria/sponsorship/tableorderer/bkg_toolbar.gif DELETED
Binary file
skin/frontend/base/default/images/auguria/sponsorship/tableorderer/desc.gif DELETED
Binary file