kiyoh_customerreview - Version 2.1.0.10

Version Notes

- added translation file
- added show/hide rating functionality
- fixed rating value

Download this release

Release Info

Developer webmeester
Extension kiyoh_customerreview
Version 2.1.0.10
Comparing to
See all releases


Code changes from version 2.1.0.8 to 2.1.0.10

app/code/community/Kiyoh/Customerreview/Adminhtml/Model/System/Config/Source/Language.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * @category Kiyoh
5
+ * @package Kiyoh_Customerreview
6
+ * @author ModuleCreator
7
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
8
+ */
9
+ class Kiyoh_Customerreview_Adminhtml_Model_System_Config_Source_Language {
10
+
11
+ /**
12
+ * Options getter
13
+ *
14
+ * @return array
15
+ */
16
+ public function toOptionArray() {
17
+
18
+ $languges = array(
19
+ '' => '',
20
+ '1' => ('Dutch (BE)'),
21
+ '2' => ('French'),
22
+ '3' => ('German'),
23
+ '4' => ('English'),
24
+ '5' => ('Netherlands'),
25
+ '6' => ('Danish'),
26
+ '7' => ('Hungarian'),
27
+ '8' => ('Bulgarian'),
28
+ '9' => ('Romanian'),
29
+ '10' => ('Croatian'),
30
+ '11' => ('Japanese'),
31
+ '12' => ('Spanish'),
32
+ '13' => ('Italian'),
33
+ '14' => ('Portuguese'),
34
+ '15' => ('Turkish'),
35
+ '16' => ('Norwegian'),
36
+ '17' => ('Swedish'),
37
+ '18' => ('Finnish'),
38
+ '20' => ('Brazilian Portuguese'),
39
+ '21' => ('Polish'),
40
+ '22' => ('Slovenian'),
41
+ '23' => ('Chinese'),
42
+ '24' => ('Russian'),
43
+ '25' => ('Greek'),
44
+ '26' => ('Czech'),
45
+ '29' => ('Estonian'),
46
+ '31' => ('Lithuanian'),
47
+ '33' => ('Latvian'),
48
+ '35' => ('Slovak')
49
+ );
50
+ foreach ($languges as $key => $item) {
51
+ $dataArray[] = array(
52
+ 'value'=>$key,
53
+ 'label'=>$item
54
+ );
55
+ }
56
+ return $dataArray;
57
+ }
58
+
59
+ }
app/code/community/Kiyoh/Customerreview/Block/Customerreview.php CHANGED
@@ -1,17 +1,81 @@
1
  <?php
 
2
  class Kiyoh_Customerreview_Block_Customerreview extends Mage_Core_Block_Template
3
  {
4
- public function _prepareLayout()
5
  {
6
- return parent::_prepareLayout();
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
8
-
9
- public function getCustomerreview()
10
- {
11
  if (!$this->hasData('customerreview')) {
12
  $this->setData('customerreview', Mage::registry('customerreview'));
13
  }
14
  return $this->getData('customerreview');
15
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
17
  }
1
  <?php
2
+
3
  class Kiyoh_Customerreview_Block_Customerreview extends Mage_Core_Block_Template
4
  {
5
+ public function _prepareLayout()
6
  {
7
+ $this->setMicrodata(Mage::registry('kiyoh_customerreview_microdata'));
8
+ if(!$this->getMicrodata()){
9
+ $cache = Mage::app()->getCache();
10
+ $this->setMicrodata(unserialize($cache->load('kiyoh_customerreview_microdata')));
11
+ if(!$this->getMicrodata()){
12
+ $this->setMicrodata($this->receiveData());
13
+ $cache->save(serialize($this->getMicrodata()),'kiyoh_customerreview_microdata',array(),3600);
14
+ }
15
+ }
16
+ if(isset($this->getMicrodata()['company']['total_score'])){
17
+ $this->setCorrectData(1);
18
+ }
19
+ return parent::_prepareLayout();
20
  }
21
+
22
+ public function getCustomerreview()
23
+ {
24
  if (!$this->hasData('customerreview')) {
25
  $this->setData('customerreview', Mage::registry('customerreview'));
26
  }
27
  return $this->getData('customerreview');
28
+
29
+ }
30
+ public function receiveData()
31
+ {
32
+ $kiyoh_connector = Mage::getStoreConfig('customconfig/review_group/custom_connector');
33
+ $company_id = Mage::getStoreConfig('customconfig/review_group/company_id');
34
+ $kiyoh_server = Mage::getStoreConfig('customconfig/review_group/custom_server');
35
+
36
+ $file = 'https://www.'.$kiyoh_server.'/xml/recent_company_reviews.xml?connectorcode=' . $kiyoh_connector . '&company_id=' . $company_id;
37
+
38
+ $ch = curl_init();
39
+ curl_setopt($ch, CURLOPT_URL, $file);
40
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
41
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
42
+ $output = curl_exec($ch);
43
+ curl_close($ch);
44
+ $doc = simplexml_load_string($output);
45
+ $data = array();
46
+ if ($doc) {
47
+ $data = Mage::helper('core/data')->jsonDecode(Mage::helper('core/data')->jsonEncode($doc));
48
+ }
49
+ return $data;
50
+ }
51
+ public function getRatingPercentage(){
52
+ if(isset($this->getMicrodata()['company']['total_score'])){
53
+ return $this->getMicrodata()['company']['total_score']*10;
54
+ }
55
+ return 100;
56
+ }
57
+ public function getMaxrating(){
58
+ return 10;
59
+ }
60
+ public function getMicrodataUrl(){
61
+ if(isset($this->getMicrodata()['company']['url'])){
62
+ return $this->getMicrodata()['company']['url'];
63
+ }
64
+ return '#';
65
+ }
66
+ public function getRating(){
67
+ if(isset($this->getMicrodata()['company']['total_score'])){
68
+ return $this->getMicrodata()['company']['total_score'];
69
+ }
70
+ return '10';
71
+ }
72
+ public function getReviews(){
73
+ if(isset($this->getMicrodata()['company']['total_reviews'])){
74
+ return $this->getMicrodata()['company']['total_reviews'];
75
+ }
76
+ return '0';
77
+ }
78
+ public function getShowRating(){
79
+ return (Mage::getStoreConfig('customconfig/review_group/show_rating')=='1');
80
  }
81
  }
app/code/community/Kiyoh/Customerreview/Model/Observer.php CHANGED
@@ -44,18 +44,22 @@ class Kiyoh_Customerreview_Model_Observer
44
  }
45
  protected function sendRequest($order){
46
  $storeId = $order->getStoreId();
47
- $exclude_customer_groups = explode(',',Mage::getStoreConfig('customconfig/review_group/exclude_customer_groups',$storeId));
 
 
 
 
48
  if(in_array($order->getCustomerGroupId(),$exclude_customer_groups)){
49
  return;
50
  }
51
-
52
  $email = $order->getCustomerEmail();
53
  $kiyoh_server = Mage::getStoreConfig('customconfig/review_group/custom_server',$storeId);
54
  $kiyoh_user = Mage::getStoreConfig('customconfig/review_group/custom_user',$storeId);
55
  $kiyoh_connector = Mage::getStoreConfig('customconfig/review_group/custom_connector',$storeId);
56
  $kiyoh_action = Mage::getStoreConfig('customconfig/review_group/custom_action',$storeId);
57
  $kiyoh_delay = Mage::getStoreConfig('customconfig/review_group/custom_delay',$storeId);
58
- $url = 'https://www.'.$kiyoh_server.'/set.php?user='.$kiyoh_user.'&connector='.$kiyoh_connector.'&action='.$kiyoh_action.'&targetMail='.$email.'&delay='.$kiyoh_delay;
 
59
 
60
  try{
61
  // create a new cURL resource
44
  }
45
  protected function sendRequest($order){
46
  $storeId = $order->getStoreId();
47
+ $groups_str = Mage::getStoreConfig('customconfig/review_group/exclude_customer_groups',$storeId);
48
+ $exclude_customer_groups = array();
49
+ if($groups_str != ''){
50
+ $exclude_customer_groups = explode(',',$groups_str);
51
+ }
52
  if(in_array($order->getCustomerGroupId(),$exclude_customer_groups)){
53
  return;
54
  }
 
55
  $email = $order->getCustomerEmail();
56
  $kiyoh_server = Mage::getStoreConfig('customconfig/review_group/custom_server',$storeId);
57
  $kiyoh_user = Mage::getStoreConfig('customconfig/review_group/custom_user',$storeId);
58
  $kiyoh_connector = Mage::getStoreConfig('customconfig/review_group/custom_connector',$storeId);
59
  $kiyoh_action = Mage::getStoreConfig('customconfig/review_group/custom_action',$storeId);
60
  $kiyoh_delay = Mage::getStoreConfig('customconfig/review_group/custom_delay',$storeId);
61
+ $kiyoh_lang = Mage::getStoreConfig('customconfig/review_group/language',$storeId);
62
+ $url = 'https://www.'.$kiyoh_server.'/set.php?user='.$kiyoh_user.'&connector='.$kiyoh_connector.'&action='.$kiyoh_action.'&targetMail='.$email.'&delay='.$kiyoh_delay.'&language='.$kiyoh_lang;
63
 
64
  try{
65
  // create a new cURL resource
app/code/community/Kiyoh/Customerreview/etc/config.xml CHANGED
@@ -10,11 +10,11 @@
10
  <config>
11
  <modules>
12
  <Kiyoh_Customerreview>
13
- <version>2.1.0.7</version>
14
  </Kiyoh_Customerreview>
15
  </modules>
16
- <!--<frontend>
17
- <routers>
18
  <customerreview>
19
  <use>standard</use>
20
  <args>
@@ -22,25 +22,34 @@
22
  <frontName>customerreview</frontName>
23
  </args>
24
  </customerreview>
25
- </routers>
26
  <layout>
27
  <updates>
28
- <customerreview>
29
- <file>customerreview.xml</file>
30
- </customerreview>
31
  </updates>
32
  </layout>
33
- </frontend>-->
 
 
 
 
 
 
 
 
 
34
 
35
- <!--<adminhtml>
36
- <layout>
37
- <updates>
38
- <customerreview>
39
- <file>customerreview.xml</file>
40
- </customerreview>
41
- </updates>
42
- </layout>
43
- </adminhtml>-->
44
  <global>
45
  <models>
46
  <customerreview_adminhtml>
@@ -97,6 +106,7 @@
97
  <custom_action>sendInvitation</custom_action>
98
  <custom_server>kiyoh.nl</custom_server>
99
  <debug_enable>1</debug_enable>
 
100
  </review_group>
101
  </customconfig>
102
  </default>
10
  <config>
11
  <modules>
12
  <Kiyoh_Customerreview>
13
+ <version>2.1.0.10</version>
14
  </Kiyoh_Customerreview>
15
  </modules>
16
+ <frontend>
17
+ <!--<routers>
18
  <customerreview>
19
  <use>standard</use>
20
  <args>
22
  <frontName>customerreview</frontName>
23
  </args>
24
  </customerreview>
25
+ </routers>-->
26
  <layout>
27
  <updates>
28
+ <kiyohcustomerreview>
29
+ <file>kiyohcustomerreview.xml</file>
30
+ </kiyohcustomerreview>
31
  </updates>
32
  </layout>
33
+ <translate>
34
+ <modules>
35
+ <Kiyoh_Customerreview>
36
+ <files>
37
+ <default>Kiyoh_Customerreview.csv</default>
38
+ </files>
39
+ </Kiyoh_Customerreview>
40
+ </modules>
41
+ </translate>
42
+ </frontend>
43
 
44
+ <!--<adminhtml>
45
+ <layout>
46
+ <updates>
47
+ <customerreview>
48
+ <file>customerreview.xml</file>
49
+ </customerreview>
50
+ </updates>
51
+ </layout>
52
+ </adminhtml>-->
53
  <global>
54
  <models>
55
  <customerreview_adminhtml>
106
  <custom_action>sendInvitation</custom_action>
107
  <custom_server>kiyoh.nl</custom_server>
108
  <debug_enable>1</debug_enable>
109
+ <show_rating>0</show_rating>
110
  </review_group>
111
  </customconfig>
112
  </default>
app/code/community/Kiyoh/Customerreview/etc/system.xml CHANGED
@@ -17,7 +17,7 @@
17
  <groups>
18
  <review_group translate="label">
19
  <label>Customers</label>
20
- <comment>Version 2.1.0.7</comment>
21
  <sort_order>10</sort_order>
22
  <show_in_default>1</show_in_default>
23
  <show_in_website>1</show_in_website>
@@ -101,6 +101,17 @@
101
  <show_in_store>1</show_in_store>
102
  <comment></comment>
103
  </custom_server>
 
 
 
 
 
 
 
 
 
 
 
104
  <exclude_customer_groups>
105
  <label>Exclude customer groups</label>
106
  <frontend_type>multiselect</frontend_type>
@@ -111,6 +122,36 @@
111
  <show_in_store>1</show_in_store>
112
  <comment></comment>
113
  </exclude_customer_groups>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  <debug_enable translate="label">
115
  <label>Debug: </label>
116
  <frontend_type>select</frontend_type>
17
  <groups>
18
  <review_group translate="label">
19
  <label>Customers</label>
20
+ <comment>Version 2.1.0.10</comment>
21
  <sort_order>10</sort_order>
22
  <show_in_default>1</show_in_default>
23
  <show_in_website>1</show_in_website>
101
  <show_in_store>1</show_in_store>
102
  <comment></comment>
103
  </custom_server>
104
+ <language>
105
+ <label>Language email template</label>
106
+ <frontend_type>select</frontend_type>
107
+ <source_model>customerreview_adminhtml/system_config_source_language</source_model>
108
+ <sort_order>8</sort_order>
109
+ <show_in_default>1</show_in_default>
110
+ <show_in_website>1</show_in_website>
111
+ <show_in_store>1</show_in_store>
112
+ <depends><custom_server>kiyoh.com</custom_server></depends>
113
+ </language>
114
+
115
  <exclude_customer_groups>
116
  <label>Exclude customer groups</label>
117
  <frontend_type>multiselect</frontend_type>
122
  <show_in_store>1</show_in_store>
123
  <comment></comment>
124
  </exclude_customer_groups>
125
+ <enable_microdata translate="label">
126
+ <label>Enable Microdata functionality</label>
127
+ <frontend_type>select</frontend_type>
128
+ <sort_order>11</sort_order>
129
+ <show_in_default>1</show_in_default>
130
+ <show_in_website>1</show_in_website>
131
+ <show_in_store>1</show_in_store>
132
+ <source_model>adminhtml/system_config_source_yesno</source_model>
133
+ </enable_microdata>
134
+ <show_rating translate="label">
135
+ <label>Show rating functionality</label>
136
+ <frontend_type>select</frontend_type>
137
+ <sort_order>12</sort_order>
138
+ <show_in_default>1</show_in_default>
139
+ <show_in_website>1</show_in_website>
140
+ <show_in_store>1</show_in_store>
141
+ <source_model>adminhtml/system_config_source_yesno</source_model>
142
+ <comment>Adding a rating to header. </comment>
143
+ <depends><enable_microdata>1</enable_microdata></depends>
144
+ </show_rating>
145
+ <company_id>
146
+ <label>Company Id</label>
147
+ <frontend_type>text</frontend_type>
148
+ <sort_order>13</sort_order>
149
+ <show_in_default>1</show_in_default>
150
+ <show_in_website>1</show_in_website>
151
+ <show_in_store>1</show_in_store>
152
+ <depends><enable_microdata>1</enable_microdata></depends>
153
+ <frontend_class>required-entry</frontend_class>
154
+ </company_id>
155
  <debug_enable translate="label">
156
  <label>Debug: </label>
157
  <frontend_type>select</frontend_type>
app/design/frontend/base/default/layout/kiyohcustomerreview.xml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+ <default>
4
+ <reference name="head">
5
+ <action method="addItem"><type>skin_css</type><name>css/kiyohrating.css</name></action>
6
+ </reference>
7
+ <reference name="top.container">
8
+ <block name="kiyohcustomerreview" type="customerreview/customerreview" template="kiyohcustomerreview/microdata.phtml"></block><!-- ifconfig="customconfig/review_group/enable_microdata"-->
9
+ </reference>
10
+ </default>
11
+ </layout>
app/design/frontend/base/default/template/kiyohcustomerreview/microdata.phtml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if($this->getCorrectData()):
3
+ $rating_percentage = $this->getRatingPercentage();
4
+ $maxrating = $this->getMaxrating();
5
+ $url = $this->getMicrodataUrl();
6
+ $rating = $this->getRating();
7
+ $reviews = $this->getReviews();
8
+ $display= '';
9
+ if(!$this->getShowRating()){
10
+ $display = 'display:none;';
11
+ }
12
+ ?>
13
+
14
+ <div class="kiyoh-shop-snippets" style="<?php echo $display;?>">
15
+ <div class="rating-box">
16
+ <div class="rating" style="width:<?php echo $rating_percentage;?>%"></div>
17
+ </div>
18
+ <div class="kiyoh-schema" itemscope="itemscope" itemtype="http://schema.org/WebPage">
19
+ <div itemprop="aggregateRating" itemscope="itemscope" itemtype="http://schema.org/AggregateRating">
20
+ <meta itemprop="bestRating" content="<?php echo $maxrating;?>">
21
+ <p>
22
+ <a href="<?php echo $url;?>" target="_blank" class="kiyoh-link">
23
+ <?php echo $this->__('Rating')?> <span itemprop="ratingValue"><?php echo $rating;?></span> <?php echo $this->__('out of %s, based on',$maxrating)?> <span itemprop="ratingCount"><?php echo $reviews;?></span> <?php echo $this->__('customer reviews');?>
24
+ </a>
25
+ </p>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ <?php endif;
30
+
app/locale/en_US/Kiyoh_Customerreview.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ "Rating","Rating2"
2
+ "out of %s, based on","out of %s, based on"
3
+ "customer reviews","customer reviews"
package.xml CHANGED
@@ -1,22 +1,22 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>kiyoh_customerreview</name>
4
- <version>2.1.0.8</version>
5
  <stability>stable</stability>
6
- <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>KiyOh.nl-gebruikers kunnen met deze plug-in automatisch klantbeoordelingen verzamelen</summary>
10
  <description>&lt;p&gt;&lt;span&gt;KiyOh.nl-gebruikers kunnen met deze plug-in automatisch klantbeoordelingen verzamelen, publiceren en delen in social media. Wanneer een klant een bestelling heeft gemaakt in uw Magento Shop, wordt een e-mail uitnodiging automatisch na een paar dagen verstuurd om u te beoordelen. De e-mail wordt uit naam en e-mailadres van uw organisatie gestuurd, zodat uw klanten u herkennen. De e-mail tekst is aanpasbaar en bevat een persoonlijke en veilige link naar de pagina om te beoordelen. Vanaf nu worden de beoordelingen dus automatisch verzameld, gepubliceerd en gedeeld. Dat is nog eens handig!&lt;/span&gt;&lt;/p&gt;&#xD;
11
  &lt;p&gt; &lt;/p&gt;&#xD;
12
  &lt;p&gt;Download de volledige handleiding met instructies via:&lt;br /&gt; &lt;a href="http://www.kiyoh.nl/kiyoh_customerreview_manual.pdf"&gt;http://www.kiyoh.nl/kiyoh_customerreview_manual.pdf&lt;/a&gt; &lt;br /&gt;&lt;br /&gt; Download the complete manual with instructions here:&lt;br /&gt; &lt;a href="http://www.kiyoh.nl/kiyoh_customerreview_manual.pdf"&gt;http://www.kiyoh.nl/kiyoh_customerreview_manual.pdf&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;The manual holds both UK and Dutch descriptions.&lt;/p&gt;</description>
13
- <notes>Fixed work curl&#xD;
14
- Fixed mode Purchase&#xD;
15
- Fixed work module on magento 1.4-1.5</notes>
16
  <authors><author><name>webmeester</name><user>kiyoh_magento</user><email>info@webmeester.eu</email></author></authors>
17
- <date>2015-01-23</date>
18
- <time>17:03:09</time>
19
- <contents><target name="magecommunity"><dir name="Kiyoh"><dir name="Customerreview"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Orderstatus.php" hash="9d2dbfd56ff0753d5891afe043feff57"/><file name="Orderstatus.php~" hash="1456ada991c8540db5e4fc4343e60f06"/><file name="Reviewevents.php" hash="2f2cb18d12939198ff1d93864013c863"/><file name="Reviewserver.php" hash="f0f94d01b5c57cb0927caf294e765ea4"/></dir></dir></dir></dir></dir><dir name="Block"><file name="Customerreview.php" hash="f432ad8f99c6ea166af486a4ea52e29c"/></dir><dir name="Helper"><file name="Data.php" hash="88ba0e3070f175888d7ac157d48fd3f6"/></dir><dir name="Model"><file name="Customerreview.php" hash="300271d1ccb54387b8b34bca62241035"/><file name="Observer.php" hash="38db606cdc462ec8a2509a00e80add13"/><file name="Status.php" hash="644c20690349400e33f3e4bf606f2471"/></dir><dir name="etc"><file name="adminhtml.xml" hash="b5c5e6c01a005284a28ce35c6b13ae59"/><file name="config.xml" hash="1d64c819287d09d11b9a4d6635e2d5b3"/><file name="system.xml" hash="13e16a42771cf145a3f9e5330fffb414"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Kiyoh_Customerreview.xml" hash="bbaf093738bc2b0835c48341a8849acb"/></dir></target></contents>
20
  <compatible/>
21
- <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>kiyoh_customerreview</name>
4
+ <version>2.1.0.10</version>
5
  <stability>stable</stability>
6
+ <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>KiyOh.nl-gebruikers kunnen met deze plug-in automatisch klantbeoordelingen verzamelen</summary>
10
  <description>&lt;p&gt;&lt;span&gt;KiyOh.nl-gebruikers kunnen met deze plug-in automatisch klantbeoordelingen verzamelen, publiceren en delen in social media. Wanneer een klant een bestelling heeft gemaakt in uw Magento Shop, wordt een e-mail uitnodiging automatisch na een paar dagen verstuurd om u te beoordelen. De e-mail wordt uit naam en e-mailadres van uw organisatie gestuurd, zodat uw klanten u herkennen. De e-mail tekst is aanpasbaar en bevat een persoonlijke en veilige link naar de pagina om te beoordelen. Vanaf nu worden de beoordelingen dus automatisch verzameld, gepubliceerd en gedeeld. Dat is nog eens handig!&lt;/span&gt;&lt;/p&gt;&#xD;
11
  &lt;p&gt; &lt;/p&gt;&#xD;
12
  &lt;p&gt;Download de volledige handleiding met instructies via:&lt;br /&gt; &lt;a href="http://www.kiyoh.nl/kiyoh_customerreview_manual.pdf"&gt;http://www.kiyoh.nl/kiyoh_customerreview_manual.pdf&lt;/a&gt; &lt;br /&gt;&lt;br /&gt; Download the complete manual with instructions here:&lt;br /&gt; &lt;a href="http://www.kiyoh.nl/kiyoh_customerreview_manual.pdf"&gt;http://www.kiyoh.nl/kiyoh_customerreview_manual.pdf&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;The manual holds both UK and Dutch descriptions.&lt;/p&gt;</description>
13
+ <notes>- added translation file&#xD;
14
+ - added show/hide rating functionality&#xD;
15
+ - fixed rating value</notes>
16
  <authors><author><name>webmeester</name><user>kiyoh_magento</user><email>info@webmeester.eu</email></author></authors>
17
+ <date>2016-09-13</date>
18
+ <time>05:49:07</time>
19
+ <contents><target name="magecommunity"><dir name="Kiyoh"><dir name="Customerreview"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Language.php" hash="45498a3f6c3b43a865517b2d5fe65d7b"/><file name="Orderstatus.php" hash="9d2dbfd56ff0753d5891afe043feff57"/><file name="Orderstatus.php~" hash="1456ada991c8540db5e4fc4343e60f06"/><file name="Reviewevents.php" hash="2f2cb18d12939198ff1d93864013c863"/><file name="Reviewserver.php" hash="f0f94d01b5c57cb0927caf294e765ea4"/></dir></dir></dir></dir></dir><dir name="Block"><file name="Customerreview.php" hash="cacf5b5f38a596ab90613504419d2446"/></dir><dir name="Helper"><file name="Data.php" hash="88ba0e3070f175888d7ac157d48fd3f6"/></dir><dir name="Model"><file name="Customerreview.php" hash="300271d1ccb54387b8b34bca62241035"/><file name="Observer.php" hash="7b800e88af82782ccf197bd739aa9ed8"/><file name="Status.php" hash="644c20690349400e33f3e4bf606f2471"/></dir><dir name="etc"><file name="adminhtml.xml" hash="b5c5e6c01a005284a28ce35c6b13ae59"/><file name="config.xml" hash="686a85c9a6383b5d6ffb96297716f2bf"/><file name="system.xml" hash="633221b03bfbadfa246e1c2d65f6a84f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Kiyoh_Customerreview.xml" hash="bbaf093738bc2b0835c48341a8849acb"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="kiyohcustomerreview"><file name="microdata.phtml" hash="2a4b7b338040038369cdf64b1713b73b"/></dir></dir><dir name="layout"><file name="kiyohcustomerreview.xml" hash="88f1202f10f892b10bfe2c49502a915c"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="kiyohrating.css" hash="5a64e933279c1b060857b09ec3f950e2"/></dir><dir name="images"><file name="rating-sprite.png" hash="ca525cd9b85bd1a3df72941bbb55e7df"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Kiyoh_Customerreview.csv" hash="0a3fa6d823a1c078d5bca6994170df21"/></dir></target></contents>
20
  <compatible/>
21
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><extension><name>curl</name><min/><max/></extension></required></dependencies>
22
  </package>
skin/frontend/base/default/css/kiyohrating.css ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .kiyoh-shop-snippets{display: inline-block}
2
+ .kiyoh-shop-snippets .rating-box{
3
+ float: left;
4
+ width: 91px;
5
+ background: url('../images/rating-sprite.png') no-repeat 0 -15px;
6
+ height: 15px;
7
+ margin: 11px 10px 10px 10px;
8
+ }
9
+ .kiyoh-shop-snippets .rating-box .rating{
10
+ height: 15px;
11
+ background: url('../images/rating-sprite.png') no-repeat 0 0;
12
+ margin: 0;padding: 0;
13
+ }
skin/frontend/base/default/images/rating-sprite.png ADDED
Binary file