Eyemagine_Cloudsponge - Version 2.0.3

Version Notes

Public Release

Meet your customers' friends in 5 minutes

Download this release

Release Info

Developer Magento Core Team
Extension Eyemagine_Cloudsponge
Version 2.0.3
Comparing to
See all releases


Code changes from version 2.0.2 to 2.0.3

app/design/frontend/base/default/template/cloudsponge/send.phtml CHANGED
@@ -20,6 +20,7 @@
20
  i=0;
21
  var recipCount = 1;
22
  var maxRecip = <?php echo $this->getMaxRecipients() ?>;
 
23
 
24
  //initial email recipients limitation here and restore in showAddressRecords() every time:
25
  var counter = maxRecip;
20
  i=0;
21
  var recipCount = 1;
22
  var maxRecip = <?php echo $this->getMaxRecipients() ?>;
23
+ var baseUrl = "<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB); ?>";
24
 
25
  //initial email recipients limitation here and restore in showAddressRecords() every time:
26
  var counter = maxRecip;
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Eyemagine_Cloudsponge</name>
4
- <version>2.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -16,9 +16,9 @@ Install CloudSponge today to enhance your Magento store's viral-ness.</descripti
16
 
17
  Meet your customers' friends in 5 minutes</notes>
18
  <authors><author><name>EYEMAGINE</name><user>auto-converted</user><email>magento@eyemaginetech.com</email></author></authors>
19
- <date>2011-12-20</date>
20
- <time>19:05:15</time>
21
- <contents><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><file name="cloudsponge.png" hash="47c4cbdad77f340482d802fd9d8680f9"/></dir><file name="cloudsponge.css" hash="79c180061bb939ddc9854123ba873d4e"/></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="cloudsponge.css" hash="46f8cfea2e8035801d86ed4391044d29"/></dir><dir name="images"><dir name="cloudsponge"><file name="aol.png" hash="0e3e34ebf79279737c0276b48ec76d99"/><file name="apple.png" hash="8927def4c9e62088f4cc8e2c6f08d50e"/><file name="bkg_block-title.gif" hash="f8c1f130ad69464fe7aff2f589b2ec75"/><file name="google.png" hash="4eca22513f0aaede4925c2dfe34f7d6c"/><file name="i_address.gif" hash="52d778dddbf48b8d04226bee9370a7ef"/><file name="msn.png" hash="8f117246b27d3f739f8645849690a1ab"/><file name="plaxo.jpeg" hash="58ce87edfba74e1b598f11c2352496f2"/><file name="searchfield.png" hash="4f5a8499fcaa78aa570b910a8e5367d3"/><file name="yahoo.png" hash="90a3dad399cf3d8366cef56fd9f1d34b"/></dir></dir><dir name="js"><file name="cloudsponge.js" hash="b77049b7073d4ec26e84de99e44db9e5"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cloudsponge.xml" hash="9e0bfec0e2aa8d072c77b5894ec45d28"/></dir><dir name="template"><dir name="cloudsponge"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="ba2d7df0bd457d9771a6dcefe00bb2e0"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cloudsponge.xml" hash="f00b79541b484c7e9bb1a047097f717e"/></dir><dir name="template"><dir name="cloudsponge"><file name="cloudsponge.phtml" hash="05d2ebffe5089ff2f87b23bbdd50def5"/><file name="popup.phtml" hash="1d196915281211a300909c4425d5ea5b"/><file name="send.phtml" hash="399a7ee9999299762f3ed47a2ddab776"/><file name="send_bak.phtml" hash="bbeff9df64f88f91accf0059508aced1"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="cloudsponge"><file name="auth.php" hash="428d4fa3f306eb1cbdcc98a8ec37d821"/><file name="csconstants.php" hash="44f729993893169222a097941d2c72b1"/><file name="csimport.php" hash="b070554d98792a863bd9fbbe11de2bac"/><file name="cstest.php" hash="87e3e22cf4fe34c152091f9c0f79381d"/><file name="popup.php" hash="60cf3647dc75381f804607902012eb66"/><file name="prototype.js" hash="b5684120e496c310977713be34be4868"/><file name="README.txt" hash="f04b70aa6ffac767d606d5632cb39214"/><file name="step_1_start.php" hash="b3a33d4e6b4df7f2fb7aeaaa8b70c86f"/><file name="step_2_events.php" hash="799210ebdc745b22ff25c03640b60ec9"/><file name="step_3_contacts.php" hash="8fe40b6b6799cd755ad34897e4c9c219"/></dir></target><target name="magelocal"><dir name="Eyemagine"><dir name="Cloudsponge"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="d919bb912a412c0e9e8435ea5719acdb"/></dir></dir></dir></dir><file name="Popup.php" hash="ca4b3c768280ef356ec285d550c00ba2"/><file name="Send.php" hash="1876ae4564e6cea636479a216f7b7568"/></dir><dir name="controllers"><file name="IndexController.php" hash="c5234de849af538a70c7a505c5a30444"/></dir><dir name="etc"><file name="adminhtml.xml" hash="fd1283ac35a5a0fdac6b4ba830e7edcd"/><file name="config.xml" hash="66d52779e37668e2bfc0e6fae7e1ae41"/><file name="system.xml" hash="89230125d971f5354395f634edee6e2a"/></dir><dir name="Helper"><file name="Data.php" hash="6cd1d402555574d1ff4df1bdb135502d"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Cloudsponge"><file name="Collection.php" hash="22a6d663b55551f5e70bae506f42acdb"/></dir><file name="Cloudsponge.php" hash="149ce4adc8eb58af0ef165b7239b74d1"/></dir><file name="Cloudsponge.php" hash="340a80d69ff8b5f44cc0b2ceefdae6c1"/></dir><dir name="sql"><dir name="cloudsponge_setup"><file name="mysql4-install-0.1.0.php" hash="6ec1384d43f2f0bbbc2c17bd982d8e68"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Eyemagine_Cloudsponge.xml" hash="fee7b0c26af41a8a72de828302686f43"/></dir></target></contents>
22
  <compatible/>
23
  <dependencies/>
24
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Eyemagine_Cloudsponge</name>
4
+ <version>2.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
16
 
17
  Meet your customers' friends in 5 minutes</notes>
18
  <authors><author><name>EYEMAGINE</name><user>auto-converted</user><email>magento@eyemaginetech.com</email></author></authors>
19
+ <date>2011-12-31</date>
20
+ <time>13:11:54</time>
21
+ <contents><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><file name="cloudsponge.png" hash="47c4cbdad77f340482d802fd9d8680f9"/></dir><file name="cloudsponge.css" hash="79c180061bb939ddc9854123ba873d4e"/></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="cloudsponge.css" hash="46f8cfea2e8035801d86ed4391044d29"/></dir><dir name="images"><dir name="cloudsponge"><file name="aol.png" hash="0e3e34ebf79279737c0276b48ec76d99"/><file name="apple.png" hash="8927def4c9e62088f4cc8e2c6f08d50e"/><file name="bkg_block-title.gif" hash="f8c1f130ad69464fe7aff2f589b2ec75"/><file name="google.png" hash="4eca22513f0aaede4925c2dfe34f7d6c"/><file name="i_address.gif" hash="52d778dddbf48b8d04226bee9370a7ef"/><file name="msn.png" hash="8f117246b27d3f739f8645849690a1ab"/><file name="plaxo.jpeg" hash="58ce87edfba74e1b598f11c2352496f2"/><file name="searchfield.png" hash="4f5a8499fcaa78aa570b910a8e5367d3"/><file name="yahoo.png" hash="90a3dad399cf3d8366cef56fd9f1d34b"/></dir></dir><dir name="js"><file name="cloudsponge.js" hash="7837703717207067bf7d3bea3e556f37"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cloudsponge.xml" hash="9e0bfec0e2aa8d072c77b5894ec45d28"/></dir><dir name="template"><dir name="cloudsponge"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="ba2d7df0bd457d9771a6dcefe00bb2e0"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cloudsponge.xml" hash="f00b79541b484c7e9bb1a047097f717e"/></dir><dir name="template"><dir name="cloudsponge"><file name="cloudsponge.phtml" hash="05d2ebffe5089ff2f87b23bbdd50def5"/><file name="popup.phtml" hash="1d196915281211a300909c4425d5ea5b"/><file name="send.phtml" hash="c33e873209dca97ed60dfea7fbffc24d"/><file name="send_bak.phtml" hash="bbeff9df64f88f91accf0059508aced1"/></dir></dir></dir></dir></dir></target><target name="magelib"><dir name="cloudsponge"><file name="auth.php" hash="428d4fa3f306eb1cbdcc98a8ec37d821"/><file name="csconstants.php" hash="44f729993893169222a097941d2c72b1"/><file name="csimport.php" hash="b070554d98792a863bd9fbbe11de2bac"/><file name="cstest.php" hash="87e3e22cf4fe34c152091f9c0f79381d"/><file name="popup.php" hash="60cf3647dc75381f804607902012eb66"/><file name="prototype.js" hash="b5684120e496c310977713be34be4868"/><file name="README.txt" hash="f04b70aa6ffac767d606d5632cb39214"/><file name="step_1_start.php" hash="b3a33d4e6b4df7f2fb7aeaaa8b70c86f"/><file name="step_2_events.php" hash="799210ebdc745b22ff25c03640b60ec9"/><file name="step_3_contacts.php" hash="8fe40b6b6799cd755ad34897e4c9c219"/></dir></target><target name="magelocal"><dir name="Eyemagine"><dir name="Cloudsponge"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="d919bb912a412c0e9e8435ea5719acdb"/></dir></dir></dir></dir><file name="Popup.php" hash="ca4b3c768280ef356ec285d550c00ba2"/><file name="Send.php" hash="1876ae4564e6cea636479a216f7b7568"/></dir><dir name="controllers"><file name="IndexController.php" hash="c5234de849af538a70c7a505c5a30444"/></dir><dir name="etc"><file name="adminhtml.xml" hash="fd1283ac35a5a0fdac6b4ba830e7edcd"/><file name="config.xml" hash="66d52779e37668e2bfc0e6fae7e1ae41"/><file name="system.xml" hash="89230125d971f5354395f634edee6e2a"/></dir><dir name="Helper"><file name="Data.php" hash="6cd1d402555574d1ff4df1bdb135502d"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Cloudsponge"><file name="Collection.php" hash="22a6d663b55551f5e70bae506f42acdb"/></dir><file name="Cloudsponge.php" hash="149ce4adc8eb58af0ef165b7239b74d1"/></dir><file name="Cloudsponge.php" hash="340a80d69ff8b5f44cc0b2ceefdae6c1"/></dir><dir name="sql"><dir name="cloudsponge_setup"><file name="mysql4-install-0.1.0.php" hash="6ec1384d43f2f0bbbc2c17bd982d8e68"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Eyemagine_Cloudsponge.xml" hash="fee7b0c26af41a8a72de828302686f43"/></dir></target></contents>
22
  <compatible/>
23
  <dependencies/>
24
  </package>
skin/frontend/base/default/js/cloudsponge.js CHANGED
@@ -190,7 +190,7 @@ function filterAddressRecords (evt) {
190
  };
191
 
192
  function importAOL (evt) {
193
- var popUpUrl = '/cloudsponge/index/popup/service/aol';
194
  this.popUp = window.open(popUpUrl, 'import', 'width=987,height=600,resizable=yes,scrollbars=yes');
195
  this.popUp.focus();
196
  popupWinRef = this.popUp;
@@ -217,10 +217,10 @@ function importApple (evt) {
217
  /*var apple_iframe = Element.extend(document.createElement("IFRAME"));
218
  apple_iframe.width = "500px";
219
  apple_iframe.height = "500px";
220
- apple_iframe.src = '/cloudsponge/index/popup/service/addressbook';
221
 
222
  document.body.appendChild(apple_iframe); */
223
- var popUpUrl = '/cloudsponge/index/popup/service/addressbook';
224
  this.popUp = window.open(popUpUrl, 'import', 'width=500,height=300,resizable=yes,scrollbars=yes');
225
  popupWinRef = this.popUp;
226
  window.focus();
@@ -230,7 +230,7 @@ function importApple (evt) {
230
  };
231
 
232
  function importGmail (evt) {
233
- var popUpUrl = '/cloudsponge/index/popup/service/gmail';
234
  this.popUp = window.open(popUpUrl, 'import', 'width=987,height=600,resizable=yes,scrollbars=yes');
235
  this.popUp.focus();
236
  popupWinRef = this.popUp;
@@ -240,7 +240,7 @@ function importGmail (evt) {
240
  };
241
 
242
  function importMSN (evt) {
243
- var popUpUrl = '/cloudsponge/index/popup/service/windowslive';
244
  this.popUp = window.open(popUpUrl, 'import', 'width=987,height=600,resizable=yes,scrollbars=yes');
245
  this.popUp.focus();
246
  popupWinRef = this.popUp;
@@ -250,7 +250,7 @@ function importMSN (evt) {
250
  };
251
 
252
  function importPlaxo (evt) {
253
- var popUpUrl = '/cloudsponge/index/popup/service/plaxo';
254
  this.popUp = window.open(popUpUrl, 'import', 'width=987,height=600,resizable=yes,scrollbars=yes');
255
  this.popUp.focus();
256
  popupWinRef = this.popUp;
@@ -260,7 +260,7 @@ function importPlaxo (evt) {
260
  };
261
 
262
  function importUserPassword (evt) {
263
- var popUpUrl = '/cloudsponge/index/popup/service/' + inputService;
264
  popUpUrl += '/username/' + $('username').value + '/password/' + $('password').value;
265
  this.popUp = window.open(popUpUrl, 'import', 'width=600,height=987,resizable=yes,scrollbars=yes');
266
  this.popUp.focus();
@@ -271,7 +271,7 @@ function importUserPassword (evt) {
271
  };
272
 
273
  function importYahoo (evt) {
274
- var popUpUrl = '/cloudsponge/index/popup/service/yahoo';
275
  this.popUp = window.open(popUpUrl, 'import', 'width=500,height=500,resizable=yes,scrollbars=yes');
276
  this.popUp.focus();
277
  popupWinRef = this.popUp;
@@ -414,7 +414,7 @@ function getJSONData() {
414
  return;
415
  }
416
 
417
- new Ajax.Request('/cloudsponge/index/getcontactsjson/', {
418
  method: 'get',
419
  onSuccess: function(transport) {
420
 
@@ -518,7 +518,7 @@ function getErrorMessage() {
518
  return;
519
  }
520
 
521
- new Ajax.Request('/cloudsponge/index/geterrormessage/', {
522
  method: 'get',
523
  timeout: 10000,
524
  onSuccess: function(transport) {
190
  };
191
 
192
  function importAOL (evt) {
193
+ var popUpUrl = baseUrl + '/cloudsponge/index/popup/service/aol';
194
  this.popUp = window.open(popUpUrl, 'import', 'width=987,height=600,resizable=yes,scrollbars=yes');
195
  this.popUp.focus();
196
  popupWinRef = this.popUp;
217
  /*var apple_iframe = Element.extend(document.createElement("IFRAME"));
218
  apple_iframe.width = "500px";
219
  apple_iframe.height = "500px";
220
+ apple_iframe.src = baseUrl + '/cloudsponge/index/popup/service/addressbook';
221
 
222
  document.body.appendChild(apple_iframe); */
223
+ var popUpUrl = baseUrl + '/cloudsponge/index/popup/service/addressbook';
224
  this.popUp = window.open(popUpUrl, 'import', 'width=500,height=300,resizable=yes,scrollbars=yes');
225
  popupWinRef = this.popUp;
226
  window.focus();
230
  };
231
 
232
  function importGmail (evt) {
233
+ var popUpUrl = baseUrl + '/cloudsponge/index/popup/service/gmail';
234
  this.popUp = window.open(popUpUrl, 'import', 'width=987,height=600,resizable=yes,scrollbars=yes');
235
  this.popUp.focus();
236
  popupWinRef = this.popUp;
240
  };
241
 
242
  function importMSN (evt) {
243
+ var popUpUrl = baseUrl + '/cloudsponge/index/popup/service/windowslive';
244
  this.popUp = window.open(popUpUrl, 'import', 'width=987,height=600,resizable=yes,scrollbars=yes');
245
  this.popUp.focus();
246
  popupWinRef = this.popUp;
250
  };
251
 
252
  function importPlaxo (evt) {
253
+ var popUpUrl = baseUrl + '/cloudsponge/index/popup/service/plaxo';
254
  this.popUp = window.open(popUpUrl, 'import', 'width=987,height=600,resizable=yes,scrollbars=yes');
255
  this.popUp.focus();
256
  popupWinRef = this.popUp;
260
  };
261
 
262
  function importUserPassword (evt) {
263
+ var popUpUrl = baseUrl + '/cloudsponge/index/popup/service/' + inputService;
264
  popUpUrl += '/username/' + $('username').value + '/password/' + $('password').value;
265
  this.popUp = window.open(popUpUrl, 'import', 'width=600,height=987,resizable=yes,scrollbars=yes');
266
  this.popUp.focus();
271
  };
272
 
273
  function importYahoo (evt) {
274
+ var popUpUrl = baseUrl + '/cloudsponge/index/popup/service/yahoo';
275
  this.popUp = window.open(popUpUrl, 'import', 'width=500,height=500,resizable=yes,scrollbars=yes');
276
  this.popUp.focus();
277
  popupWinRef = this.popUp;
414
  return;
415
  }
416
 
417
+ new Ajax.Request(baseUrl + '/cloudsponge/index/getcontactsjson/', {
418
  method: 'get',
419
  onSuccess: function(transport) {
420
 
518
  return;
519
  }
520
 
521
+ new Ajax.Request(baseUrl + '/cloudsponge/index/geterrormessage/', {
522
  method: 'get',
523
  timeout: 10000,
524
  onSuccess: function(transport) {