Magmodules_Kiyoh - Version 1.1.0

Version Notes

First stable release

Download this release

Release Info

Developer Magento Core Team
Extension Magmodules_Kiyoh
Version 1.1.0
Comparing to
See all releases


Code changes from version 1.0.9 to 1.1.0

app/code/local/Magmodules/Kiyoh/Block/Custom.php CHANGED
@@ -22,13 +22,13 @@
22
 
23
  class Magmodules_Kiyoh_Block_Custom extends Mage_Core_Block_Template {
24
 
25
- protected function _construct() {
 
26
  parent::_construct();
27
-
28
  $this->addData(array(
29
  'cache_lifetime' => 7200,
30
  'cache_tags' => array(Mage_Cms_Model_Block::CACHE_TAG, Magmodules_Kiyoh_Model_Reviews::CACHE_TAG),
31
- 'cache_key' => 'kiyoh-custom-block',
32
  ));
33
 
34
  if(Mage::getStoreConfig('kiyoh/general/enabled')) {
@@ -36,7 +36,8 @@ class Magmodules_Kiyoh_Block_Custom extends Mage_Core_Block_Template {
36
  }
37
  }
38
 
39
- public function getKiyohData() {
 
40
  return $this->helper('kiyoh')->getTotalScore();
41
  }
42
 
22
 
23
  class Magmodules_Kiyoh_Block_Custom extends Mage_Core_Block_Template {
24
 
25
+ protected function _construct()
26
+ {
27
  parent::_construct();
 
28
  $this->addData(array(
29
  'cache_lifetime' => 7200,
30
  'cache_tags' => array(Mage_Cms_Model_Block::CACHE_TAG, Magmodules_Kiyoh_Model_Reviews::CACHE_TAG),
31
+ 'cache_key' => Mage::app()->getStore()->getStoreId() . '-kiyoh-custom-block',
32
  ));
33
 
34
  if(Mage::getStoreConfig('kiyoh/general/enabled')) {
36
  }
37
  }
38
 
39
+ public function getKiyohData()
40
+ {
41
  return $this->helper('kiyoh')->getTotalScore();
42
  }
43
 
app/code/local/Magmodules/Kiyoh/Block/Reviews.php CHANGED
@@ -21,7 +21,8 @@
21
 
22
  class Magmodules_Kiyoh_Block_Reviews extends Mage_Core_Block_Template {
23
 
24
- public function __construct() {
 
25
  parent::__construct();
26
 
27
  // Load Reviews
@@ -36,7 +37,8 @@ class Magmodules_Kiyoh_Block_Reviews extends Mage_Core_Block_Template {
36
  $this->setStats($stats);
37
  }
38
 
39
- public function _prepareLayout() {
 
40
  parent::_prepareLayout();
41
  $pager = $this->getLayout()->createBlock('page/html_pager', 'kiyoh.pager');
42
  if(Mage::getStoreConfig('kiyoh/overview/enable_paging')) {
@@ -53,11 +55,13 @@ class Magmodules_Kiyoh_Block_Reviews extends Mage_Core_Block_Template {
53
  return $this;
54
  }
55
 
56
- public function getPagerHtml() {
 
57
  return $this->getChildHtml('pager');
58
  }
59
 
60
- public function getFormUrl() {
 
61
  return $this->helper('kiyoh')->getFormUrl();
62
  }
63
 
21
 
22
  class Magmodules_Kiyoh_Block_Reviews extends Mage_Core_Block_Template {
23
 
24
+ public function __construct()
25
+ {
26
  parent::__construct();
27
 
28
  // Load Reviews
37
  $this->setStats($stats);
38
  }
39
 
40
+ public function _prepareLayout()
41
+ {
42
  parent::_prepareLayout();
43
  $pager = $this->getLayout()->createBlock('page/html_pager', 'kiyoh.pager');
44
  if(Mage::getStoreConfig('kiyoh/overview/enable_paging')) {
55
  return $this;
56
  }
57
 
58
+ public function getPagerHtml()
59
+ {
60
  return $this->getChildHtml('pager');
61
  }
62
 
63
+ public function getFormUrl()
64
+ {
65
  return $this->helper('kiyoh')->getFormUrl();
66
  }
67
 
app/code/local/Magmodules/Kiyoh/Block/Sidebar.php CHANGED
@@ -21,27 +21,27 @@
21
 
22
  class Magmodules_Kiyoh_Block_Sidebar extends Mage_Core_Block_Template {
23
 
24
- protected function _construct() {
 
25
  parent::_construct();
26
  }
27
 
28
- function getSidebarCollection($sidebar) {
29
-
30
  $enabled = '';
31
  $qty = '5';
32
-
33
- if(Mage::getStoreConfig('kiyoh/general/enabled')):
34
- if($sidebar == 'left'):
35
  $qty = Mage::getStoreConfig('kiyoh/sidebar/left_qty');
36
  $enabled = Mage::getStoreConfig('kiyoh/sidebar/left');
37
- endif;
38
- if($sidebar == 'right'):
39
  $qty = Mage::getStoreConfig('kiyoh/sidebar/right_qty');
40
  $enabled = Mage::getStoreConfig('kiyoh/sidebar/right');
41
- endif;
42
- endif;
43
 
44
- if($enabled):
45
  $shop_id = Mage::getStoreConfig('kiyoh/general/api_id');
46
  $collection = Mage::getModel("kiyoh/reviews")->getCollection();
47
  $collection->setOrder('date_created', 'DESC');
@@ -51,53 +51,45 @@ class Magmodules_Kiyoh_Block_Sidebar extends Mage_Core_Block_Template {
51
  $collection->setPageSize($qty);
52
  $collection->load();
53
  return $collection;
54
- else:
55
  return false;
56
- endif;
57
  }
58
 
59
- function formatContent($sidebarreview, $sidebar = 'left') {
60
-
61
- $content = $sidebarreview->getPositive();
62
-
63
- if($sidebar == 'left'):
64
  $char_limit = Mage::getStoreConfig('kiyoh/sidebar/left_lenght');
65
- endif;
66
- if($sidebar == 'right'):
67
  $char_limit = Mage::getStoreConfig('kiyoh/sidebar/right_lenght');
68
- endif;
69
-
70
  $content = Mage::helper('core/string')->truncate($content, $char_limit, ' ...', $_remainder, false);
71
-
72
  if($content) {
73
  $content = '"' . $content . '"';
74
  }
75
-
76
  return $content;
77
-
78
  }
79
 
80
- function getReviewsUrl($sidebar = 'left') {
81
-
82
  $link = '';
83
  $url = '';
84
-
85
- if($sidebar == 'left'):
86
  $link = Mage::getStoreConfig('kiyoh/sidebar/left_link');
87
- endif;
88
- if($sidebar == 'right'):
89
  $link = Mage::getStoreConfig('kiyoh/sidebar/right_link');
90
- endif;
91
-
92
- if($link == 'internal'):
93
  $url = $this->getUrl('kiyoh');
94
  $target = '';
95
- endif;
96
- if($link == 'external'):
97
  $url = Mage::getStoreConfig('kiyoh/general/url');
98
  $target = 'target="_blank"';
99
- endif;
100
-
101
  if($url) {
102
  return '<a href="' . $url . '" ' . $target . '>' . $this->__('View all reviews') . '</a>';
103
  } else {
@@ -106,17 +98,15 @@ class Magmodules_Kiyoh_Block_Sidebar extends Mage_Core_Block_Template {
106
 
107
  }
108
 
109
- function getSnippetsEnabled($sidebar = 'left') {
110
-
111
  $enabled = '';
112
-
113
  if($sidebar == 'left'):
114
  $enabled = Mage::getStoreConfig('kiyoh/sidebar/left_snippets');
115
  endif;
116
  if($sidebar == 'right'):
117
  $enabled = Mage::getStoreConfig('kiyoh/sidebar/right_snippets');
118
  endif;
119
-
120
  if($enabled) {
121
  return true;
122
  } else {
@@ -124,7 +114,8 @@ class Magmodules_Kiyoh_Block_Sidebar extends Mage_Core_Block_Template {
124
  }
125
  }
126
 
127
- public function getTotalScore() {
 
128
  return $this->helper('kiyoh')->getTotalScore();
129
  }
130
 
21
 
22
  class Magmodules_Kiyoh_Block_Sidebar extends Mage_Core_Block_Template {
23
 
24
+ protected function _construct()
25
+ {
26
  parent::_construct();
27
  }
28
 
29
+ function getSidebarCollection($sidebar)
30
+ {
31
  $enabled = '';
32
  $qty = '5';
33
+ if(Mage::getStoreConfig('kiyoh/general/enabled')) {
34
+ if($sidebar == 'left') {
 
35
  $qty = Mage::getStoreConfig('kiyoh/sidebar/left_qty');
36
  $enabled = Mage::getStoreConfig('kiyoh/sidebar/left');
37
+ }
38
+ if($sidebar == 'right') {
39
  $qty = Mage::getStoreConfig('kiyoh/sidebar/right_qty');
40
  $enabled = Mage::getStoreConfig('kiyoh/sidebar/right');
41
+ }
42
+ }
43
 
44
+ if($enabled) {
45
  $shop_id = Mage::getStoreConfig('kiyoh/general/api_id');
46
  $collection = Mage::getModel("kiyoh/reviews")->getCollection();
47
  $collection->setOrder('date_created', 'DESC');
51
  $collection->setPageSize($qty);
52
  $collection->load();
53
  return $collection;
54
+ } else {
55
  return false;
56
+ }
57
  }
58
 
59
+ function formatContent($sidebarreview, $sidebar = 'left')
60
+ {
61
+ $content = $sidebarreview->getPositive();
62
+ if($sidebar == 'left') {
 
63
  $char_limit = Mage::getStoreConfig('kiyoh/sidebar/left_lenght');
64
+ }
65
+ if($sidebar == 'right') {
66
  $char_limit = Mage::getStoreConfig('kiyoh/sidebar/right_lenght');
67
+ }
 
68
  $content = Mage::helper('core/string')->truncate($content, $char_limit, ' ...', $_remainder, false);
 
69
  if($content) {
70
  $content = '"' . $content . '"';
71
  }
 
72
  return $content;
 
73
  }
74
 
75
+ function getReviewsUrl($sidebar = 'left')
76
+ {
77
  $link = '';
78
  $url = '';
79
+ if($sidebar == 'left') {
 
80
  $link = Mage::getStoreConfig('kiyoh/sidebar/left_link');
81
+ }
82
+ if($sidebar == 'right') {
83
  $link = Mage::getStoreConfig('kiyoh/sidebar/right_link');
84
+ }
85
+ if($link == 'internal') {
 
86
  $url = $this->getUrl('kiyoh');
87
  $target = '';
88
+ }
89
+ if($link == 'external') {
90
  $url = Mage::getStoreConfig('kiyoh/general/url');
91
  $target = 'target="_blank"';
92
+ }
 
93
  if($url) {
94
  return '<a href="' . $url . '" ' . $target . '>' . $this->__('View all reviews') . '</a>';
95
  } else {
98
 
99
  }
100
 
101
+ function getSnippetsEnabled($sidebar = 'left')
102
+ {
103
  $enabled = '';
 
104
  if($sidebar == 'left'):
105
  $enabled = Mage::getStoreConfig('kiyoh/sidebar/left_snippets');
106
  endif;
107
  if($sidebar == 'right'):
108
  $enabled = Mage::getStoreConfig('kiyoh/sidebar/right_snippets');
109
  endif;
 
110
  if($enabled) {
111
  return true;
112
  } else {
114
  }
115
  }
116
 
117
+ public function getTotalScore()
118
+ {
119
  return $this->helper('kiyoh')->getTotalScore();
120
  }
121
 
app/code/local/Magmodules/Kiyoh/Block/Snippets.php CHANGED
@@ -21,14 +21,13 @@
21
 
22
  class Magmodules_Kiyoh_Block_Snippets extends Mage_Core_Block_Template {
23
 
24
- protected function _construct() {
25
-
26
  parent::_construct();
27
-
28
  $this->addData(array(
29
  'cache_lifetime' => 7200,
30
  'cache_tags' => array(Mage_Cms_Model_Block::CACHE_TAG, Magmodules_Kiyoh_Model_Reviews::CACHE_TAG),
31
- 'cache_key' => 'kiyoh-snippets-block',
32
  ));
33
 
34
  if(Mage::getStoreConfig('kiyoh/general/enabled')) {
@@ -37,15 +36,18 @@ class Magmodules_Kiyoh_Block_Snippets extends Mage_Core_Block_Template {
37
 
38
  }
39
 
40
- public function getSnippets() {
 
41
  return $this->helper('kiyoh')->getTotalScore();
42
  }
43
 
44
- public function getHtmlStars($rating) {
 
45
  return $this->helper('kiyoh')->getHtmlStars($rating);
46
  }
47
 
48
- public function getExternalLink() {
 
49
  return $this->helper('kiyoh')->getExternalLink();
50
  }
51
 
21
 
22
  class Magmodules_Kiyoh_Block_Snippets extends Mage_Core_Block_Template {
23
 
24
+ protected function _construct()
25
+ {
26
  parent::_construct();
 
27
  $this->addData(array(
28
  'cache_lifetime' => 7200,
29
  'cache_tags' => array(Mage_Cms_Model_Block::CACHE_TAG, Magmodules_Kiyoh_Model_Reviews::CACHE_TAG),
30
+ 'cache_key' => Mage::app()->getStore()->getStoreId() . '-kiyoh-snippets-block',
31
  ));
32
 
33
  if(Mage::getStoreConfig('kiyoh/general/enabled')) {
36
 
37
  }
38
 
39
+ public function getSnippets()
40
+ {
41
  return $this->helper('kiyoh')->getTotalScore();
42
  }
43
 
44
+ public function getHtmlStars($rating)
45
+ {
46
  return $this->helper('kiyoh')->getHtmlStars($rating);
47
  }
48
 
49
+ public function getExternalLink()
50
+ {
51
  return $this->helper('kiyoh')->getExternalLink();
52
  }
53
 
app/code/local/Magmodules/Kiyoh/Helper/Data.php CHANGED
@@ -21,7 +21,8 @@
21
 
22
  class Magmodules_Kiyoh_Helper_Data extends Mage_Core_Helper_Abstract {
23
 
24
- public function getTotalScore() {
 
25
  $qty = 0; $rating = 0;
26
  $shop_id = Mage::getStoreConfig('kiyoh/general/api_id');
27
  $review_stats = Mage::getModel('kiyoh/stats')->load($shop_id, 'shop_id');
@@ -34,15 +35,17 @@ class Magmodules_Kiyoh_Helper_Data extends Mage_Core_Helper_Abstract {
34
  }
35
  }
36
 
37
- function getExternalLink() {
 
38
  if(Mage::getStoreConfig('kiyoh/general/url')) {
39
- return Mage::helper('kiyoh')->__('on') . ' <a href="' . Mage::getStoreConfig('kiyoh/general/url'). '" target="_blank">Kiyoh.nl</a>';
40
  } else {
41
  return false;
42
  }
43
  }
44
 
45
- function getHtmlStars($rating) {
 
46
  $perc = $rating;
47
  $html = '<div class="rating-box">';
48
  $html .= ' <div class="rating" style="width:' . $perc . '%"></div>';
21
 
22
  class Magmodules_Kiyoh_Helper_Data extends Mage_Core_Helper_Abstract {
23
 
24
+ public function getTotalScore()
25
+ {
26
  $qty = 0; $rating = 0;
27
  $shop_id = Mage::getStoreConfig('kiyoh/general/api_id');
28
  $review_stats = Mage::getModel('kiyoh/stats')->load($shop_id, 'shop_id');
35
  }
36
  }
37
 
38
+ function getExternalLink()
39
+ {
40
  if(Mage::getStoreConfig('kiyoh/general/url')) {
41
+ return Mage::helper('kiyoh')->__('on') . ' <a href="' . Mage::getStoreConfig('kiyoh/general/url'). '" target="_blank">KiyOh</a>';
42
  } else {
43
  return false;
44
  }
45
  }
46
 
47
+ function getHtmlStars($rating)
48
+ {
49
  $perc = $rating;
50
  $html = '<div class="rating-box">';
51
  $html .= ' <div class="rating" style="width:' . $perc . '%"></div>';
app/code/local/Magmodules/Kiyoh/etc/config.xml CHANGED
@@ -23,7 +23,7 @@
23
  <config>
24
  <modules>
25
  <Magmodules_Kiyoh>
26
- <version>1.0.9</version>
27
  </Magmodules_Kiyoh>
28
  </modules>
29
  <global>
23
  <config>
24
  <modules>
25
  <Magmodules_Kiyoh>
26
+ <version>1.1.0</version>
27
  </Magmodules_Kiyoh>
28
  </modules>
29
  <global>
app/design/frontend/base/default/template/magmodules/kiyoh/widget/custom.phtml CHANGED
@@ -19,20 +19,12 @@
19
  * @copyright Copyright (c) 2015 (http://www.magmodules.eu)
20
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
21
  */
22
-
23
- // Load data
24
- $enabled = $this->getKiyohEnabled();
25
- $data = $this->getKiyohData();
26
-
27
- // All available data
28
- $company = $data->getCompany();
29
- $percentage = $data->getPercentage();
30
-
31
  ?>
32
- <div class="kiyoh-custom">
33
- <div class="client">Customers like <?php echo $company; ?>!</div>
34
- <div class="rating-box">
35
- <div class="rating" style="width:<?php echo $percentage; ?>%"> </div>
 
 
36
  </div>
37
- </div>
38
-
19
  * @copyright Copyright (c) 2015 (http://www.magmodules.eu)
20
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
21
  */
 
 
 
 
 
 
 
 
 
22
  ?>
23
+ <?php if($data = $this->getKiyohData()) { ?>
24
+ <div class="kiyoh-custom">
25
+ <div class="client">Customers like <?php echo $data->getCompany(); ?>!</div>
26
+ <div class="rating-box">
27
+ <div class="rating" style="width:<?php echo $data->getPercentage(); ?>%"> </div>
28
+ </div>
29
  </div>
30
+ <?php } ?>
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magmodules_Kiyoh</name>
4
- <version>1.0.9</version>
5
  <stability>stable</stability>
6
  <license/>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Connect your Magento shop to KiyOh</description>
11
  <notes>First stable release</notes>
12
  <authors><author><name>Magmodules</name><user>auto-converted</user><email>info@magmodules.nl</email></author></authors>
13
- <date>2015-07-09</date>
14
- <time>09:01:13</time>
15
- <contents><target name="magelocal"><dir name="Magmodules"><dir name="Kiyoh"><dir name="Block"><dir name="Adminhtml"><dir name="Kiyohlog"><file name="Grid.php" hash="39d3a230b792a146bcb7ea6fc5975d5a"/></dir><dir name="Kiyohreviews"><dir name="Renderer"><file name="Experience.php" hash="abf99c6f9a07589b8fe2bcf63b9edb48"/></dir><file name="Grid.php" hash="e4326ccf1ea00dff4a664ecfbd03e9f7"/></dir><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="119648013568daa5953dc8db0a386868"/><file name="Test.php" hash="019586f9d0a4bc7bb431a3df2cf7c4d9"/></dir><dir name="Form"><file name="Heading.php" hash="6c99f624f1267ed1500a708f3e01fea3"/></dir><dir name="Grid"><file name="Log.php" hash="7971522fb582fdedaa1624f2878d1304"/><file name="Seconds.php" hash="ab77b3a2da42984db58388d119c2e07c"/><file name="Stars.php" hash="4544f1fec819ec465d69ad1c562ae31c"/></dir><dir name="Info"><file name="Info.php" hash="53ee9e0e47ad2a27b61f03884a25dedc"/></dir></dir><file name="Kiyohlog.php" hash="0499fae2c8246c1224e42003422dbb0f"/><file name="Kiyohreviews.php" hash="bf7858406e19fe69785022922c1c4ae1"/></dir><file name="Custom.php" hash="c1c9496401966f3713cfa6241e900f55"/><file name="Reviews.php" hash="52dfc5e33dabb7a2ef20f396c51d79ad"/><file name="Sidebar.php" hash="bd94e23ee9109aa679a9aa46c32f2894"/><file name="Snippets.php" hash="b5b26063a091c14c2b5cbcfd01007282"/></dir><dir name="Helper"><file name="Data.php" hash="26e039a882e0e89977c0b438fa51c681"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="b9cc585b00e4e372a6fe2ce36677f546"/></dir><dir name="Reviews"><file name="Collection.php" hash="0a16cd2660475f7fd498403437cd0bf7"/></dir><dir name="Stats"><file name="Collection.php" hash="bdfb3db30e754ae539ba445678570eaf"/></dir><file name="Log.php" hash="e60478150048e9c4e6d4197ae12f6f16"/><file name="Reviews.php" hash="de8cd145282dc3105e963cf845f45e25"/><file name="Stats.php" hash="c917baef200f1ce4dfe391e7444bf280"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Cronfrequency.php" hash="66d15d15237d5301fd42a88e37070d12"/><file name="Kiyoh.php" hash="239df03e58cf9a2ba7519384428bde8f"/><file name="Orderstatus.php" hash="7e42dbf2ab2e5f3544cf34da1fd1a04c"/><file name="Position.php" hash="74bc6ab7cb4560b682ebdbf82d891b08"/><file name="Sidebarlink.php" hash="c576f54e39f067bae18999aa26874fe1"/></dir><file name="Flushcache.php" hash="90f9342571a9f3ee9121436f8952fe49"/></dir></dir><file name="Api.php" hash="4f0ff2b0f5eef478bba61c68567d5c68"/><file name="Log.php" hash="bcf9328adcf61b84164b86ff3e14914f"/><file name="Observer.php" hash="157e2ccb96be50d3737e9ae271fabf84"/><file name="Reviews.php" hash="fe04d8ef866ba1d03e68671e69ebc9e2"/><file name="Stats.php" hash="1ebed4b32a8538fb2a21d273e52dbfce"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="KiyohlogController.php" hash="558867eaa44ef63377a9f56a44623f0e"/><file name="KiyohreviewsController.php" hash="2feab6f013e80814a70d286124760340"/></dir><file name="IndexController.php" hash="09bd38e43ead00a123ded748281f3607"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d5a32f8a2cdc35d3bf688c488f1d2f3f"/><file name="config.xml" hash="cf205d4a458eb62067e1e79e739a0541"/><file name="system.xml" hash="a182da17744652206f40fa2760e9f1e8"/></dir><dir name="sql"><dir name="kiyoh_setup"><file name="mysql4-install-1.0.0.php" hash="bf048fb7428e3aba9e078a06e38afe20"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magmodules_kiyoh.xml" hash="8e873ae1213e8db26169cc21a532cea6"/></dir><dir name="template"><dir name="magmodules"><dir name="kiyoh"><dir name="sidebar"><file name="left.phtml" hash="d851a378399894e58a2a8e5ea551eb37"/><file name="right.phtml" hash="5e9a7831f23fea5bf70412cd626cb53d"/></dir><dir name="widget"><file name="custom.phtml" hash="cfd6918fd847a440d2cd555c1c67e6a9"/><file name="richsnippets.phtml" hash="3620ef28597f4efbee122129a4eb7125"/></dir><file name="index.phtml" hash="12b24e4ec169d7b11e31c0f5831a7553"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magmodules_kiyoh.xml" hash="ea960e10667c3a1d3df2527c7f1d0561"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magmodules_Kiyoh.xml" hash="4ad6b4740e25b3587cc0692f444838e2"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Magmodules_Kiyoh.csv" hash="591605112c7a04a8caa0eb95ffa8af04"/></dir><dir name="nl_NL"><file name="Magmodules_Kiyoh.csv" hash="5f0e3861fa7ae9546b9df5f56cc10bc7"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magmodules"><dir name="kiyoh"><dir name="images"><file name="5-stars-empty.png" hash="799c499ca785331e7e69d892df52dd48"/><file name="5-stars-full.png" hash="1d06151a2c4da6bb71381538c8a903a5"/><file name="bkg_rating.gif" hash="0efa835d6b68d7f8042170b182ace2a9"/><file name="greystar.png" hash="ab99888c7a8f47826ad7a83bcabf9130"/><file name="logo.png" hash="89e94131c585fe977c77ef312cad3206"/><file name="star.png" hash="647c77f0ef881fb2a90a4f53f70d75fa"/></dir><file name="richsnippets.css" hash="02e1731917f79a91e7b4c9f131d623c8"/><file name="sidebar.css" hash="ed9bac8878ed90310d364afd61b44bc1"/><file name="style.css" hash="b081241691d7042267d42d58c3417c6d"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magmodules"><dir name="kiyoh"><file name="grid.css" hash="8236836bfb11ba1a52bec1cea1ea64b0"/><file name="star.png" hash="4beacfb62ebdd5feecd946494e895f4c"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magmodules_Kiyoh</name>
4
+ <version>1.1.0</version>
5
  <stability>stable</stability>
6
  <license/>
7
  <channel>community</channel>
10
  <description>Connect your Magento shop to KiyOh</description>
11
  <notes>First stable release</notes>
12
  <authors><author><name>Magmodules</name><user>auto-converted</user><email>info@magmodules.nl</email></author></authors>
13
+ <date>2015-12-29</date>
14
+ <time>14:43:13</time>
15
+ <contents><target name="magelocal"><dir name="Magmodules"><dir name="Kiyoh"><dir name="Block"><dir name="Adminhtml"><dir name="Kiyohlog"><file name="Grid.php" hash="39d3a230b792a146bcb7ea6fc5975d5a"/></dir><dir name="Kiyohreviews"><dir name="Renderer"><file name="Experience.php" hash="abf99c6f9a07589b8fe2bcf63b9edb48"/></dir><file name="Grid.php" hash="e4326ccf1ea00dff4a664ecfbd03e9f7"/></dir><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="119648013568daa5953dc8db0a386868"/><file name="Test.php" hash="019586f9d0a4bc7bb431a3df2cf7c4d9"/></dir><dir name="Form"><file name="Heading.php" hash="6c99f624f1267ed1500a708f3e01fea3"/></dir><dir name="Grid"><file name="Log.php" hash="7971522fb582fdedaa1624f2878d1304"/><file name="Seconds.php" hash="ab77b3a2da42984db58388d119c2e07c"/><file name="Stars.php" hash="4544f1fec819ec465d69ad1c562ae31c"/></dir><dir name="Info"><file name="Info.php" hash="53ee9e0e47ad2a27b61f03884a25dedc"/></dir></dir><file name="Kiyohlog.php" hash="0499fae2c8246c1224e42003422dbb0f"/><file name="Kiyohreviews.php" hash="bf7858406e19fe69785022922c1c4ae1"/></dir><file name="Custom.php" hash="671b30fcf0bc70424353f0c414af91dd"/><file name="Reviews.php" hash="3efe1f35019085001a80b9951d987d1e"/><file name="Sidebar.php" hash="8675081b671c0b8def1bdfe8ccb5918b"/><file name="Snippets.php" hash="b4a8f771b1faa4bb20cbdbaf7498717a"/></dir><dir name="Helper"><file name="Data.php" hash="50075047e520e32244257bd2a471d775"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="b9cc585b00e4e372a6fe2ce36677f546"/></dir><dir name="Reviews"><file name="Collection.php" hash="0a16cd2660475f7fd498403437cd0bf7"/></dir><dir name="Stats"><file name="Collection.php" hash="bdfb3db30e754ae539ba445678570eaf"/></dir><file name="Log.php" hash="e60478150048e9c4e6d4197ae12f6f16"/><file name="Reviews.php" hash="de8cd145282dc3105e963cf845f45e25"/><file name="Stats.php" hash="c917baef200f1ce4dfe391e7444bf280"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Cronfrequency.php" hash="66d15d15237d5301fd42a88e37070d12"/><file name="Kiyoh.php" hash="239df03e58cf9a2ba7519384428bde8f"/><file name="Orderstatus.php" hash="7e42dbf2ab2e5f3544cf34da1fd1a04c"/><file name="Position.php" hash="74bc6ab7cb4560b682ebdbf82d891b08"/><file name="Sidebarlink.php" hash="c576f54e39f067bae18999aa26874fe1"/></dir><file name="Flushcache.php" hash="90f9342571a9f3ee9121436f8952fe49"/></dir></dir><file name="Api.php" hash="4f0ff2b0f5eef478bba61c68567d5c68"/><file name="Log.php" hash="bcf9328adcf61b84164b86ff3e14914f"/><file name="Observer.php" hash="157e2ccb96be50d3737e9ae271fabf84"/><file name="Reviews.php" hash="fe04d8ef866ba1d03e68671e69ebc9e2"/><file name="Stats.php" hash="1ebed4b32a8538fb2a21d273e52dbfce"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="KiyohlogController.php" hash="558867eaa44ef63377a9f56a44623f0e"/><file name="KiyohreviewsController.php" hash="2feab6f013e80814a70d286124760340"/></dir><file name="IndexController.php" hash="09bd38e43ead00a123ded748281f3607"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d5a32f8a2cdc35d3bf688c488f1d2f3f"/><file name="config.xml" hash="1d9e2e86642252f0dc1450147162a9f4"/><file name="system.xml" hash="a182da17744652206f40fa2760e9f1e8"/></dir><dir name="sql"><dir name="kiyoh_setup"><file name="mysql4-install-1.0.0.php" hash="bf048fb7428e3aba9e078a06e38afe20"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magmodules_kiyoh.xml" hash="8e873ae1213e8db26169cc21a532cea6"/></dir><dir name="template"><dir name="magmodules"><dir name="kiyoh"><dir name="sidebar"><file name="left.phtml" hash="d851a378399894e58a2a8e5ea551eb37"/><file name="right.phtml" hash="5e9a7831f23fea5bf70412cd626cb53d"/></dir><dir name="widget"><file name="custom.phtml" hash="2ff02836d06923f71bf08471c074bea0"/><file name="richsnippets.phtml" hash="3620ef28597f4efbee122129a4eb7125"/></dir><file name="index.phtml" hash="12b24e4ec169d7b11e31c0f5831a7553"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magmodules_kiyoh.xml" hash="ea960e10667c3a1d3df2527c7f1d0561"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magmodules_Kiyoh.xml" hash="4ad6b4740e25b3587cc0692f444838e2"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Magmodules_Kiyoh.csv" hash="591605112c7a04a8caa0eb95ffa8af04"/></dir><dir name="nl_NL"><file name="Magmodules_Kiyoh.csv" hash="5f0e3861fa7ae9546b9df5f56cc10bc7"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magmodules"><dir name="kiyoh"><dir name="images"><file name="5-stars-empty.png" hash="799c499ca785331e7e69d892df52dd48"/><file name="5-stars-full.png" hash="1d06151a2c4da6bb71381538c8a903a5"/><file name="bkg_rating.gif" hash="0efa835d6b68d7f8042170b182ace2a9"/><file name="greystar.png" hash="ab99888c7a8f47826ad7a83bcabf9130"/><file name="logo.png" hash="89e94131c585fe977c77ef312cad3206"/><file name="star.png" hash="647c77f0ef881fb2a90a4f53f70d75fa"/></dir><file name="richsnippets.css" hash="6b3b7e1a3b114767ac9c0fd852815478"/><file name="sidebar.css" hash="ed9bac8878ed90310d364afd61b44bc1"/><file name="style.css" hash="c4dd4d1b21e3947ba377324935ef340b"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magmodules"><dir name="kiyoh"><file name="grid.css" hash="8236836bfb11ba1a52bec1cea1ea64b0"/><file name="star.png" hash="4beacfb62ebdd5feecd946494e895f4c"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
skin/frontend/base/default/magmodules/kiyoh/richsnippets.css CHANGED
@@ -22,12 +22,12 @@
22
  .kiyoh-snippets .rating-box {
23
  float: left;
24
  margin-right: 5px;
25
- margin-top: 5px;
26
- width: 60px;
27
- height: 13px;
28
- font-size:0;
29
  background:url('images/bkg_rating.gif') 0 0 repeat-x;
30
- text-indent:-999em;
31
  overflow:hidden;
32
  }
33
 
22
  .kiyoh-snippets .rating-box {
23
  float: left;
24
  margin-right: 5px;
25
+ margin-top: 7px;
26
+ width: 55px;
27
+ height: 13px;
28
+ font-size:0;
29
  background:url('images/bkg_rating.gif') 0 0 repeat-x;
30
+ text-indent:-999em;
31
  overflow:hidden;
32
  }
33
 
skin/frontend/base/default/magmodules/kiyoh/style.css CHANGED
@@ -110,17 +110,17 @@
110
  /* INDEX REVIEW LIST */
111
  .review-list .rating-empty { float: left; display: block; width: 80px; height: 16px; background: url('./images/star.png') 0 -16px; margin-right: 5px; }
112
 
113
- .review-list .rating-empty { float: right; display: block; width: 80px; height: 16px; background: url('./images/star.png') 0 -16px; margin-right: 5px; }
114
  .review-list .rating-star-1 { float: left; display: block; width: 8px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
115
  .review-list .rating-star-2 { float: left; display: block; width: 16px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
116
  .review-list .rating-star-3 { float: left; display: block; width: 24px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
117
  .review-list .rating-star-4 { float: left; display: block; width: 32px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
118
  .review-list .rating-star-5 { float: left; display: block; width: 40px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
119
  .review-list .rating-star-6 { float: left; display: block; width: 48px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
120
- .review-list .rating-star-7 { float: left; display: block; width: 56px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
121
  .review-list .rating-star-8 { float: left; display: block; width: 64px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
122
  .review-list .rating-star-9 { float: left; display: block; width: 72px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
123
- .review-list .rating-star-10 { float: left; display: block; width: 80px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
124
 
125
  .review-list .rating-greystar-1 { float: left; display: block; width: 8px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
126
  .review-list .rating-greystar-2 { float: left; display: block; width: 16px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
@@ -129,6 +129,6 @@
129
  .review-list .rating-greystar-5 { float: left; display: block; width: 40px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
130
  .review-list .rating-greystar-6 { float: left; display: block; width: 48px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
131
  .review-list .rating-greystar-7 { float: left; display: block; width: 56px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
132
- .review-list .rating-greystar-8 { float: left; display: block; width: 64px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
133
  .review-list .rating-greystar-9 { float: left; display: block; width: 72px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
134
- .review-list .rating-greystar-10 { float: left; display: block; width: 80px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
110
  /* INDEX REVIEW LIST */
111
  .review-list .rating-empty { float: left; display: block; width: 80px; height: 16px; background: url('./images/star.png') 0 -16px; margin-right: 5px; }
112
 
113
+ .review-list .rating-empty {float: left; display: block; width: 80px; height: 16px; background: url('./images/star.png') 0 -16px; margin-right: 5px;}
114
  .review-list .rating-star-1 { float: left; display: block; width: 8px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
115
  .review-list .rating-star-2 { float: left; display: block; width: 16px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
116
  .review-list .rating-star-3 { float: left; display: block; width: 24px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
117
  .review-list .rating-star-4 { float: left; display: block; width: 32px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
118
  .review-list .rating-star-5 { float: left; display: block; width: 40px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
119
  .review-list .rating-star-6 { float: left; display: block; width: 48px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
120
+ .review-list .rating-star-7 { float: left; display: block;width: 55px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px;}
121
  .review-list .rating-star-8 { float: left; display: block; width: 64px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
122
  .review-list .rating-star-9 { float: left; display: block; width: 72px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
123
+ .review-list .rating-star-10 { float: left; display: block;width: 78px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px;}
124
 
125
  .review-list .rating-greystar-1 { float: left; display: block; width: 8px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
126
  .review-list .rating-greystar-2 { float: left; display: block; width: 16px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
129
  .review-list .rating-greystar-5 { float: left; display: block; width: 40px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
130
  .review-list .rating-greystar-6 { float: left; display: block; width: 48px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
131
  .review-list .rating-greystar-7 { float: left; display: block; width: 56px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
132
+ .review-list .rating-greystar-8 { float: left; display: block;width: 62px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px;}
133
  .review-list .rating-greystar-9 { float: left; display: block; width: 72px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
134
+ .review-list .rating-greystar-10 {float: left;display: block;width: 78px;height: 16px; background: url('./images/greystar.png') 0 0;margin-right: 5px;}