ShprAprvd_ShopperApproved - Version 1.0.2

Version Notes

URL Update @ initial survey script

Download this release

Release Info

Developer Shopper Approved
Extension ShprAprvd_ShopperApproved
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/design/frontend/base/default/template/shopperapproved/script.phtml CHANGED
@@ -9,5 +9,5 @@
9
  ?>
10
 
11
  <?php if($this->getSetting('enabled')) { ?>
12
- <script type="text/javascript"> var sa_values = { 'site':<?php echo $this->getSetting('account'); ?>, 'orderid':'<?php echo $this->getSetting('orderid'); ?>', 'name':'<?php echo $this->getSetting('name'); ?>', 'email':'<?php echo $this->getSetting('email'); ?>', 'country':'<?php echo $this->getSetting('country'); ?>', 'state':'<?php echo $this->getSetting('state'); ?>' }; function saLoadScript(src) { var js = window.document.createElement("script"); js.src = src; js.type = "text/javascript"; document.getElementsByTagName("head")[0].appendChild(js); } var d = new Date(); if (d.getTime() - 172800000 > 1427423361000) saLoadScript("//www.shopperapproved.com/thankyou/rate/<?php echo $this->getSetting('account'); ?>.js"); else saLoadScript("//direct.shopperapproved.com/thankyou/rate/<?php echo $this->getSetting('account'); ?>.js?d=" + d.getTime()); </script>
13
  <?php } ?>
9
  ?>
10
 
11
  <?php if($this->getSetting('enabled')) { ?>
12
+ <script type="text/javascript"> var sa_values = { 'site':<?php echo $this->getSetting('account'); ?>, 'orderid':'<?php echo $this->getSetting('orderid'); ?>', 'name':'<?php echo $this->getSetting('name'); ?>', 'email':'<?php echo $this->getSetting('email'); ?>', 'country':'<?php echo $this->getSetting('country'); ?>', 'state':'<?php echo $this->getSetting('state'); ?>' }; function saLoadScript(src) { var js = window.document.createElement("script"); js.src = src; js.type = "text/javascript"; document.getElementsByTagName("head")[0].appendChild(js); } var d = new Date(); if (d.getTime() - 172800000 > 1427423361000) saLoadScript("//www.shopperapproved.com/thankyou/rate/<?php echo $this->getSetting('account'); ?>.js"); else saLoadScript("//www.shopperapproved.com/thankyou/rate/<?php echo $this->getSetting('account'); ?>.js?d=" + d.getTime()); </script>
13
  <?php } ?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ShprAprvd_ShopperApproved</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/OSL-3.0">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -13,11 +13,11 @@
13
  &lt;p&gt;&lt;a href="http://www.shopperapproved.com/18393"&gt;Learn more about Shopper Approved here.&lt;/a&gt;&lt;/p&gt;&#xD;
14
  &lt;p&gt;Super Fast Setup, be actively collecting ratings in 5 minutes. You don't need any special technical skills, and there are no files to upload or complicated databases to install or manage. All you have to do is add the Magento extension and enter your Shopper Approved ID and you'll be actively collecting ratings and reviews.&lt;/p&gt;&#xD;
15
  &lt;p&gt;&lt;a href="http://www.shopperapproved.com/18393"&gt;Learn more about Shopper Approved here.&lt;/a&gt;&lt;/p&gt;</description>
16
- <notes>Add Search Engine Schema Code</notes>
17
  <authors><author><name>Shopper Approved</name><user>ShprAprvd</user><email>aubreybarker@gmail.com</email></author></authors>
18
- <date>2015-03-31</date>
19
- <time>04:22:03</time>
20
- <contents><target name="magecommunity"><dir name="ShprAprvd"><dir name="ShopperApproved"><dir name="Block"><file name="Script.php" hash="c26b8c21d5453a8ec0a70f27cb23aa8c"/><file name="Schema.php" hash="40ddd9967b68989159636dcd1c961f76"/></dir><dir name="Helper"><file name="Data.php" hash="3b4e2552938727f35bd0efa7876fecee"/></dir><dir name="etc"><file name="config.xml" hash="91fa9d1c8deba90aa127d1e978d959a0"/><file name="system.xml" hash="4a6130d691fa4ae0cdd5e878f5354075"/><file name="adminhtml.xml" hash="c9798475d4287bf86c0669d4ca46095f"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="shopperapproved.xml" hash="ff3677fa1c64458746af72125ed607e7"/></dir><dir name="template"><dir name="shopperapproved"><file name="script.phtml" hash="03b6881229124dc31ad1168da5a91d24"/><file name="schema.phtml" hash="083c348a9fbf82228eb9ac17f73249f1"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ShprAprvd_ShopperApproved.xml" hash="eccf9347cb9cb379ef66fab53ef4a78c"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ShprAprvd_ShopperApproved</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/OSL-3.0">Open Software License (OSL)</license>
7
  <channel>community</channel>
13
  &lt;p&gt;&lt;a href="http://www.shopperapproved.com/18393"&gt;Learn more about Shopper Approved here.&lt;/a&gt;&lt;/p&gt;&#xD;
14
  &lt;p&gt;Super Fast Setup, be actively collecting ratings in 5 minutes. You don't need any special technical skills, and there are no files to upload or complicated databases to install or manage. All you have to do is add the Magento extension and enter your Shopper Approved ID and you'll be actively collecting ratings and reviews.&lt;/p&gt;&#xD;
15
  &lt;p&gt;&lt;a href="http://www.shopperapproved.com/18393"&gt;Learn more about Shopper Approved here.&lt;/a&gt;&lt;/p&gt;</description>
16
+ <notes>URL Update @ initial survey script</notes>
17
  <authors><author><name>Shopper Approved</name><user>ShprAprvd</user><email>aubreybarker@gmail.com</email></author></authors>
18
+ <date>2015-05-18</date>
19
+ <time>00:45:04</time>
20
+ <contents><target name="magecommunity"><dir name="ShprAprvd"><dir name="ShopperApproved"><dir name="Block"><file name="Script.php" hash="c26b8c21d5453a8ec0a70f27cb23aa8c"/><file name="Schema.php" hash="40ddd9967b68989159636dcd1c961f76"/></dir><dir name="Helper"><file name="Data.php" hash="3b4e2552938727f35bd0efa7876fecee"/></dir><dir name="etc"><file name="config.xml" hash="91fa9d1c8deba90aa127d1e978d959a0"/><file name="system.xml" hash="4a6130d691fa4ae0cdd5e878f5354075"/><file name="adminhtml.xml" hash="c9798475d4287bf86c0669d4ca46095f"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="shopperapproved.xml" hash="ff3677fa1c64458746af72125ed607e7"/></dir><dir name="template"><dir name="shopperapproved"><file name="script.phtml" hash="4788b9812ebf91671154d996a984fb4b"/><file name="schema.phtml" hash="083c348a9fbf82228eb9ac17f73249f1"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ShprAprvd_ShopperApproved.xml" hash="eccf9347cb9cb379ef66fab53ef4a78c"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>