From e3c2d2660e3b22599a08e5db4e9ed1a0b0253e18 Mon Sep 17 00:00:00 2001
From: Magmodules
Date: Tue, 30 May 2017 10:11:45 +0200
Subject: [PATCH] 1.1.1
---
.gitignore | 0
README.md | 15 ++
.../System/Config/Form/Field/Heading.php | 38 +++++
.../System/Config/Form/Field/Version.php | 35 +++++
.../Block/Adminhtml/Widget/Info/Info.php | 65 ++++++++
.../Ekomisnippets/Block/Snippets.php | 66 ++++++++
.../Magmodules/Ekomisnippets/Helper/Data.php | 75 +++++++++
.../Model/System/Config/Flushcache.php | 30 ++++
.../Ekomisnippets/etc/adminhtml.xml | 40 +++++
.../Magmodules/Ekomisnippets/etc/config.xml | 79 ++++++++++
.../Magmodules/Ekomisnippets/etc/system.xml | 148 ++++++++++++++++++
.../layout/magmodules_ekomisnippets.xml | 27 ++++
.../magmodules/ekomisnippets/block.phtml | 36 +++++
app/etc/modules/Magmodules_Ekomisnippets.xml | 28 ++++
app/locale/en_US/Magmodules_Ekomisnippets.csv | 0
app/locale/it_IT/Magmodules_Ekomisnippets.csv | 13 ++
app/locale/nl_NL/Magmodules_Ekomisnippets.csv | 13 ++
modman | 8 +
.../ekomisnippets/images/5-stars-empty.png | Bin 0 -> 4742 bytes
.../ekomisnippets/images/5-stars-full.png | Bin 0 -> 7441 bytes
.../ekomisnippets/images/bkg_rating.gif | Bin 0 -> 661 bytes
.../magmodules/ekomisnippets/style.css | 41 +++++
22 files changed, 757 insertions(+)
create mode 100755 .gitignore
create mode 100755 README.md
create mode 100755 app/code/local/Magmodules/Ekomisnippets/Block/Adminhtml/System/Config/Form/Field/Heading.php
create mode 100755 app/code/local/Magmodules/Ekomisnippets/Block/Adminhtml/System/Config/Form/Field/Version.php
create mode 100755 app/code/local/Magmodules/Ekomisnippets/Block/Adminhtml/Widget/Info/Info.php
create mode 100755 app/code/local/Magmodules/Ekomisnippets/Block/Snippets.php
create mode 100755 app/code/local/Magmodules/Ekomisnippets/Helper/Data.php
create mode 100755 app/code/local/Magmodules/Ekomisnippets/Model/System/Config/Flushcache.php
create mode 100755 app/code/local/Magmodules/Ekomisnippets/etc/adminhtml.xml
create mode 100755 app/code/local/Magmodules/Ekomisnippets/etc/config.xml
create mode 100755 app/code/local/Magmodules/Ekomisnippets/etc/system.xml
create mode 100755 app/design/frontend/base/default/layout/magmodules_ekomisnippets.xml
create mode 100755 app/design/frontend/base/default/template/magmodules/ekomisnippets/block.phtml
create mode 100755 app/etc/modules/Magmodules_Ekomisnippets.xml
create mode 100755 app/locale/en_US/Magmodules_Ekomisnippets.csv
create mode 100755 app/locale/it_IT/Magmodules_Ekomisnippets.csv
create mode 100755 app/locale/nl_NL/Magmodules_Ekomisnippets.csv
create mode 100755 modman
create mode 100755 skin/frontend/base/default/magmodules/ekomisnippets/images/5-stars-empty.png
create mode 100755 skin/frontend/base/default/magmodules/ekomisnippets/images/5-stars-full.png
create mode 100755 skin/frontend/base/default/magmodules/ekomisnippets/images/bkg_rating.gif
create mode 100755 skin/frontend/base/default/magmodules/ekomisnippets/style.css
diff --git a/.gitignore b/.gitignore
new file mode 100755
index 0000000..e69de29
diff --git a/README.md b/README.md
new file mode 100755
index 0000000..067ef3d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,15 @@
+# Ekomi Rich Snippets for Magento® 1
+
+Show your ratings from Ekomi on your homepage and use them for the Rich Snippets so the Rich Snippets will be shown in the most popular search engines.
+
+## Development by Magmodules
+
+We are a Dutch Magento® Only Agency dedicated to the development of extensions for Magento® 1 and Magento® 2. All our extensions are coded by our own team and our support team is always there to help you out.
+
+## Links
+
+[Visit Magmodules.eu](https://www.magmodules.eu/)
+
+[Terms and Conditions](https://www.magmodules.eu/terms.html)
+
+[Contact Us](https://www.magmodules.eu/contact-us.html)
\ No newline at end of file
diff --git a/app/code/local/Magmodules/Ekomisnippets/Block/Adminhtml/System/Config/Form/Field/Heading.php b/app/code/local/Magmodules/Ekomisnippets/Block/Adminhtml/System/Config/Form/Field/Heading.php
new file mode 100755
index 0000000..695e38e
--- /dev/null
+++ b/app/code/local/Magmodules/Ekomisnippets/Block/Adminhtml/System/Config/Form/Field/Heading.php
@@ -0,0 +1,38 @@
+
+ * @copyright Copyright (c) 2017 (http://www.magmodules.eu)
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
+ */
+
+class Magmodules_Ekomisnippets_Block_Adminhtml_System_Config_Form_Field_Heading
+ extends Mage_Adminhtml_Block_Abstract implements Varien_Data_Form_Element_Renderer_Interface
+{
+
+ /**
+ * @param Varien_Data_Form_Element_Abstract $element
+ *
+ * @return string
+ */
+ public function render(Varien_Data_Form_Element_Abstract $element)
+ {
+ $useContainerId = $element->getData('use_container_id');
+ return sprintf('%s |
',
+ $element->getHtmlId(), $element->getLabel()
+ );
+ }
+
+}
diff --git a/app/code/local/Magmodules/Ekomisnippets/Block/Adminhtml/System/Config/Form/Field/Version.php b/app/code/local/Magmodules/Ekomisnippets/Block/Adminhtml/System/Config/Form/Field/Version.php
new file mode 100755
index 0000000..0127a31
--- /dev/null
+++ b/app/code/local/Magmodules/Ekomisnippets/Block/Adminhtml/System/Config/Form/Field/Version.php
@@ -0,0 +1,35 @@
+
+ * @copyright Copyright (c) 2017 (http://www.magmodules.eu)
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
+ */
+
+class Magmodules_Ekomisnippets_Block_Adminhtml_System_Config_Form_Field_Version
+ extends Mage_Adminhtml_Block_System_Config_Form_Field
+{
+
+ /**
+ * @param Varien_Data_Form_Element_Abstract $element
+ *
+ * @return mixed
+ */
+ public function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
+ {
+ return Mage::getConfig()->getNode()->modules->Magmodules_Ekomisnippets->version;
+ }
+
+}
\ No newline at end of file
diff --git a/app/code/local/Magmodules/Ekomisnippets/Block/Adminhtml/Widget/Info/Info.php b/app/code/local/Magmodules/Ekomisnippets/Block/Adminhtml/Widget/Info/Info.php
new file mode 100755
index 0000000..f845b37
--- /dev/null
+++ b/app/code/local/Magmodules/Ekomisnippets/Block/Adminhtml/Widget/Info/Info.php
@@ -0,0 +1,65 @@
+
+ * @copyright Copyright (c) 2017 (http://www.magmodules.eu)
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
+ */
+
+class Magmodules_Ekomisnippets_Block_Adminhtml_Widget_Info_Info
+ extends Mage_Adminhtml_Block_Abstract implements Varien_Data_Form_Element_Renderer_Interface {
+
+ /**
+ * @param Varien_Data_Form_Element_Abstract $element
+ *
+ * @return string
+ */
+ public function render(Varien_Data_Form_Element_Abstract $element)
+ {
+ $magento_version = Mage::getVersion();
+ $module_version = Mage::getConfig()->getNode()->modules->Magmodules_Ekomisnippets->version;
+ $logo_link = '//www.magmodules.eu/logo/kiyohsnippets/' . $module_version . '/' . $magento_version . '/logo.png';
+
+ $html = '
+
About Magmodules.eu
+
We are a Magento only E-commerce Agency located in the Netherlands.
+
+
+
';
+ return $html;
+ }
+
+}
diff --git a/app/code/local/Magmodules/Ekomisnippets/Block/Snippets.php b/app/code/local/Magmodules/Ekomisnippets/Block/Snippets.php
new file mode 100755
index 0000000..b834d47
--- /dev/null
+++ b/app/code/local/Magmodules/Ekomisnippets/Block/Snippets.php
@@ -0,0 +1,66 @@
+
+ * @copyright Copyright (c) 2017 (http://www.magmodules.eu)
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
+ */
+
+class Magmodules_Ekomisnippets_Block_Snippets extends Mage_Core_Block_Template
+{
+
+ /**
+ * @return mixed
+ */
+ public function getSnapshopRequest()
+ {
+ return $this->helper('ekomisnippets')->getSnapshopRequest();
+ }
+
+ /**
+ * @return mixed
+ */
+ public function getEkomiLink()
+ {
+ return $this->helper('ekomisnippets')->getEkomiLink();
+ }
+
+ /**
+ * @param $rating
+ *
+ * @return mixed
+ */
+ public function getEkomiStars($rating)
+ {
+ return $this->helper('ekomisnippets')->getEkomiStars($rating);
+ }
+
+ /**
+ *
+ */
+ protected function _construct()
+ {
+ parent::_construct();
+ $this->addData(array(
+ 'cache_lifetime' => 7200,
+ 'cache_tags' => array(Mage_Cms_Model_Block::CACHE_TAG, 'ekomisnippets_block'),
+ 'cache_key' => 'ekomisnippets-snippets-block',
+ ));
+ if (Mage::getStoreConfig('ekomisnippets/api/enabled')) {
+ $this->setTemplate('magmodules/ekomisnippets/block.phtml');
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/app/code/local/Magmodules/Ekomisnippets/Helper/Data.php b/app/code/local/Magmodules/Ekomisnippets/Helper/Data.php
new file mode 100755
index 0000000..cada2f3
--- /dev/null
+++ b/app/code/local/Magmodules/Ekomisnippets/Helper/Data.php
@@ -0,0 +1,75 @@
+
+ * @copyright Copyright (c) 2017 (http://www.magmodules.eu)
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
+ */
+
+class Magmodules_Ekomisnippets_Helper_Data extends Mage_Core_Helper_Abstract
+{
+
+ /**
+ * @return bool
+ */
+ function getSnapshopRequest()
+ {
+ $ekomiApiId = Mage::getStoreConfig('ekomisnippets/api/api_id');
+ $ekomiApiKey = Mage::getStoreConfig('ekomisnippets/api/api_key');
+ $ekomiVersion = 'cust-1.0.0';
+
+ if ($ekomiApiId && $ekomiApiKey) {
+ $api = 'http://api.ekomi.de/v2/wsdl';
+ $client = new SoapClient($api, array('exceptions' => 0));
+ $sendSnapshotRequest = $client->getSnapshot($ekomiApiId . '|' . $ekomiApiKey, $ekomiVersion);
+ $ret = unserialize(utf8_decode($sendSnapshotRequest));
+ if ($ret['done']) {
+ $snippets = $ret['info'];
+ if ($snippets['fb_count'] > 0) {
+ return $snippets;
+ }
+ }
+ }
+ return false;
+ }
+
+ /**
+ * @return bool|string
+ */
+ function getEkomiLink()
+ {
+ if (Mage::getStoreConfig('ekomisnippets/api/show_link')) {
+ $ekomiLink = Mage::getStoreConfig('ekomisnippets/api/ekomi_link');
+ return Mage::helper('ekomisnippets')->__('customer reviews on') . ' Ekomi';
+ } else {
+ return false;
+ }
+ }
+
+ /**
+ * @param $rating
+ *
+ * @return string
+ */
+ function getEkomiStars($rating)
+ {
+ $perc = round(($rating * 20), 0);
+ $html = '';
+ $html .= '
';
+ $html .= '
';
+ return $html;
+ }
+
+}
\ No newline at end of file
diff --git a/app/code/local/Magmodules/Ekomisnippets/Model/System/Config/Flushcache.php b/app/code/local/Magmodules/Ekomisnippets/Model/System/Config/Flushcache.php
new file mode 100755
index 0000000..110ac99
--- /dev/null
+++ b/app/code/local/Magmodules/Ekomisnippets/Model/System/Config/Flushcache.php
@@ -0,0 +1,30 @@
+
+ * @copyright Copyright (c) 2017 (http://www.magmodules.eu)
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
+ */
+
+class Magmodules_Ekomisnippets_Model_System_Config_Flushcache extends Mage_Core_Model_Config_Data {
+
+ /**
+ *
+ */
+ protected function _afterSave() {
+ Mage::app()->cleanCache('ekomisnippets_block');
+ }
+
+}
diff --git a/app/code/local/Magmodules/Ekomisnippets/etc/adminhtml.xml b/app/code/local/Magmodules/Ekomisnippets/etc/adminhtml.xml
new file mode 100755
index 0000000..98749df
--- /dev/null
+++ b/app/code/local/Magmodules/Ekomisnippets/etc/adminhtml.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ Ekomi Rich Snippets
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/code/local/Magmodules/Ekomisnippets/etc/config.xml b/app/code/local/Magmodules/Ekomisnippets/etc/config.xml
new file mode 100755
index 0000000..57b4c8e
--- /dev/null
+++ b/app/code/local/Magmodules/Ekomisnippets/etc/config.xml
@@ -0,0 +1,79 @@
+
+
+
+
+
+ 1.1.1
+
+
+
+
+
+ Magmodules_Ekomisnippets_Helper
+
+
+
+
+ Magmodules_Ekomisnippets_Block
+
+
+
+
+ Magmodules_Ekomisnippets_Model
+
+
+
+
+
+
+
+ magmodules_ekomisnippets.xml
+
+
+
+
+
+
+
+ Magmodules_Ekomisnippets.csv
+
+
+
+
+
+
+
+
+
+
+ Magmodules_Ekomisnippets.csv
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
\ No newline at end of file
diff --git a/app/code/local/Magmodules/Ekomisnippets/etc/system.xml b/app/code/local/Magmodules/Ekomisnippets/etc/system.xml
new file mode 100755
index 0000000..db97b8e
--- /dev/null
+++ b/app/code/local/Magmodules/Ekomisnippets/etc/system.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+ 200
+
+
+
+
+
+ magmodules
+ text
+ 15
+ 1
+ 1
+ 1
+
+
+ ekomisnippets/adminhtml_widget_info_info
+ 1
+ 1
+ 1
+ 1
+
+
+
+ text
+ 2
+ 1
+ 1
+ 1
+ 1
+
+
+
+ select
+ adminhtml/system_config_source_yesno
+ ekomisnippets/system_config_flushcache
+ 1
+ 1
+ 1
+ 1
+
+
+
+ text
+ ekomisnippets/adminhtml_system_config_form_field_version
+ 2
+ 1
+ 0
+ 0
+
+
+
+ ekomisnippets/adminhtml_system_config_form_field_heading
+ 10
+ 1
+ 1
+ 1
+
+
+
+ text
+ 11
+ 1
+ 1
+ 1
+
+
+
+ text
+ 12
+ 1
+ 1
+ 1
+
+
+
+ ekomisnippets/adminhtml_system_config_form_field_heading
+ 20
+ 1
+ 1
+ 1
+
+
+
+ select
+ adminhtml/system_config_source_yesno
+ 21
+ 1
+ 1
+ 1
+
+
+
+ text
+ 22
+ 1
+ 1
+ 1
+
+ 1
+
+
+
+
+ select
+ adminhtml/system_config_source_yesno
+ 23
+ 1
+ 1
+ 1
+
+
+
+
+
+ text
+ 3
+ 1
+ 1
+ 1
+ 1
+ Use: {{block type="ekomisnippets/snippets" name="ekomisnippets"}} to call the block on the homepage.
]]>
+
+
+
+
+
\ No newline at end of file
diff --git a/app/design/frontend/base/default/layout/magmodules_ekomisnippets.xml b/app/design/frontend/base/default/layout/magmodules_ekomisnippets.xml
new file mode 100755
index 0000000..8cc03e5
--- /dev/null
+++ b/app/design/frontend/base/default/layout/magmodules_ekomisnippets.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+ magmodules/ekomisnippets/style.css
+
+
+
\ No newline at end of file
diff --git a/app/design/frontend/base/default/template/magmodules/ekomisnippets/block.phtml b/app/design/frontend/base/default/template/magmodules/ekomisnippets/block.phtml
new file mode 100755
index 0000000..35b9149
--- /dev/null
+++ b/app/design/frontend/base/default/template/magmodules/ekomisnippets/block.phtml
@@ -0,0 +1,36 @@
+
+ * @copyright Copyright (c) 2017 (http://www.magmodules.eu)
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
+ */
+?>
+getSnapshopRequest()) { ?>
+
+ getEkomiStars($_snippets['fb_avg']); ?>
+
+
+
+
__('Rating') ?>
+
+ __('based on') ?>
+
+ getEkomiLink(); ?>
+
+
+
+
+
\ No newline at end of file
diff --git a/app/etc/modules/Magmodules_Ekomisnippets.xml b/app/etc/modules/Magmodules_Ekomisnippets.xml
new file mode 100755
index 0000000..29e2ad9
--- /dev/null
+++ b/app/etc/modules/Magmodules_Ekomisnippets.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+ true
+ local
+
+
+
\ No newline at end of file
diff --git a/app/locale/en_US/Magmodules_Ekomisnippets.csv b/app/locale/en_US/Magmodules_Ekomisnippets.csv
new file mode 100755
index 0000000..e69de29
diff --git a/app/locale/it_IT/Magmodules_Ekomisnippets.csv b/app/locale/it_IT/Magmodules_Ekomisnippets.csv
new file mode 100755
index 0000000..bc2b749
--- /dev/null
+++ b/app/locale/it_IT/Magmodules_Ekomisnippets.csv
@@ -0,0 +1,13 @@
+"General configuration","Configurazione generale"
+"Use: {{block type="ekomisnippets/snippets" name="ekomisnippets" template="magmodules/ekomisnippets/block.phtml"}} to call the block on the homepage","Use: {{block type="ekomisnippets/snippets" name="ekomisnippets" template="magmodules/ekomisnippets/block.phtml"}} to call the block on the homepage"
+"API CREDENTIALS","API CREDENZIALI"
+"API ID","API ID"
+"API Key","API Key"
+"DESIGN","Design"
+"Shopname","Nome del negozio"
+"Show Link to Ekomi","Mostra Link eKomi"
+"Ekomi Link","Ekomi Link"
+"Show Stars","Mostra Stars"
+"Rating","Valutazione"
+"based on","sulla base"
+"customer reviews on","recensioni dei clienti su"
\ No newline at end of file
diff --git a/app/locale/nl_NL/Magmodules_Ekomisnippets.csv b/app/locale/nl_NL/Magmodules_Ekomisnippets.csv
new file mode 100755
index 0000000..41abb78
--- /dev/null
+++ b/app/locale/nl_NL/Magmodules_Ekomisnippets.csv
@@ -0,0 +1,13 @@
+"General configuration","Algemene Configuratie"
+"Use: {{block type="ekomisnippets/snippets" name="ekomisnippets" template="magmodules/ekomisnippets/block.phtml"}} to call the block on the homepage","Gebruik: {{block type="ekomisnippets/snippets" name="ekomisnippets" template="magmodules/ekomisnippets/block.phtml"}} to call the block on the homepage"
+"API CREDENTIALS","API Gegevens"
+"API ID","API ID"
+"API Key","API sleutel"
+"DESIGN","Ontwerp"
+"Shopname","Winkelnaam"
+"Show Link to Ekomi","Toon link naar Ekomi"
+"Ekomi Link","Ekomi Link"
+"Show Stars","Toon sterren"
+"Rating","Beoordeeld"
+"based on","gebasseerd op"
+"customer reviews on","klant beoordelingen"
\ No newline at end of file
diff --git a/modman b/modman
new file mode 100755
index 0000000..2e73397
--- /dev/null
+++ b/modman
@@ -0,0 +1,8 @@
+app/code/local/Magmodules/Ekomisnippets app/code/local/Magmodules/Ekomisnippets
+app/etc/modules/Magmodules_Ekomisnippets.xml app/etc/modules/Magmodules_Ekomisnippets.xml
+app/locale/en_US/Magmodules_Ekomisnippets.csv app/locale/en_US/Magmodules_Ekomisnippets.csv
+app/locale/it_IT/Magmodules_Ekomisnippets.csv app/locale/it_IT/Magmodules_Ekomisnippets.csv
+app/locale/nl_NL/Magmodules_Ekomisnippets.csv app/locale/nl_NL/Magmodules_Ekomisnippets.csv
+app/design/frontend/base/default/layout/magmodules_ekomisnippets.xml app/design/frontend/base/default/layout/magmodules_ekomisnippets.xml
+app/design/frontend/base/default/template/magmodules/ekomisnippets app/design/frontend/base/default/template/magmodules/ekomisnippets
+skin/frontend/base/default/magmodules/ekomisnippets skin/frontend/base/default/magmodules/ekomisnippets
\ No newline at end of file
diff --git a/skin/frontend/base/default/magmodules/ekomisnippets/images/5-stars-empty.png b/skin/frontend/base/default/magmodules/ekomisnippets/images/5-stars-empty.png
new file mode 100755
index 0000000000000000000000000000000000000000..a7e5a167adf2787632f38d5a69249b5288ee77cc
GIT binary patch
literal 4742
zcmaJ_cT`i^x27WuO%Op4CxjNHgis^|5JEx?y%V?^ICm_-IMB@-YmIgDj0hgUYB4Y{
zOZeK_lkCk*VIH_ZMYo?eis6BHI+}q&OD7!f=HZVe0o<|PzCqf+FRjmk0AEjSAX?2#
z$qbLc`uG|}60kOr=C&S@{vH~hK%L6~t#BBfAP`G(1B3?#1QB83+Q2_~Vf6aXZZHt=
zrwPel8~7hl_GXp<1df0Os41!`cqla;$r}4#z5gdM(KZ5)1zTf@xDbK|ec`+$e!9ZL5Cp6n2}iKS
z;R61iMN1zX2}kt7;Qr^+CVymqOY$fOdkP7
zA`u$uP*r_32t;2+Pf1lzUr$8^uCJn^r=kq~8;itwgal%PNPlBJ|BHqGEB0qB1mfwQ
zkywInDAv<}fC~itIcAveziUzZSH8cnp8u}p(!XNCbTQzcEBn7z`tL4!`24K?6Swrn
zKar0OqK7+y9@m0-s<8|VJl~CxaNF>=pD+$M(P=?x+2m|c#+cV88H=hX8<9Z~z8-Jj
z>y5$8GNI!DBgZq>{l>JO@?QUlIMIEO01Uj&Rw|Be*P58jZfR*$=mY*e3VZeyAr#gx}}i&
z@Dy)*%9E#02PPjx1p>U)vt+jRvewqtg!&6k`-S%%92`_Xc<`XorH{)s7~Jjb?7Vmzn(NlGb9kItoyEq9+}RcR{&r@jIhnRL5E_m$G&GcB5Ok0~E07Wq
zjKxX~o=R@|{r4?q;a6NCN~6QW8S+k@f8lZow5?T&T7sMQx;R5o9P^+00y`6Mdc28HN*^3@p*iC
zP1|J5HndIbG>!9DOi?SEEj3Yrw>QuXdArC%#pa>z#8aa)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^45D^z!;@5%vwG2(@95c0I)5`&qQC3z~25xR{G9m{bwzs#ln#)yN02X8nQ25K|xM2~qhw=mN
zCU4%p-C0_s71?gisJlnD`S^_N?lYz^FUa`$`x~Z-X@>Im2EeQ2W5kCEd!pxW76v70
zEHVu$F<#A;}3~K4Kj>>t30HAnMP=1GL@j{D>z&o
zNzqw_F9EYQsK;F)apnEp4k>n3~$&
zEVpgxabPJy)OE9OcrwL6aw{&!Cfi&wonwpC^?TPB*U5RP>87H5cMTiETUQ5GNw8IaKR*~>z+6n7?5%F_
z?}3b>5%$Oq^P-+}FRt5)3p6Pqy0*VxyA_bVu(v<&O^q3AGi1-d@%6*7>$YJ-;xpgU
z11&)aQWU4K9Z@7wH{GbY#|7sgy3!3=;%XD+5>#2@D$Z*btRNUI%3LD<&n7S
zTVihT%H_w3op2WFN&_UBZs0wp)bECzdukn<1C{6U1TokAv
zzZ*N6cG%W5J9&3Waa%h%zPz!#e3fN{790|?m;3n9x)DbIYoRnh8s_)m_`|vcev;Bq
zV~oS$e#pkWVe8yE)t(nfjxG6&?2_IuUeb)S%r26=2
XbWgtp-2&bE`De&j-yBKNyBhO9;P;MN
literal 0
HcmV?d00001
diff --git a/skin/frontend/base/default/magmodules/ekomisnippets/images/5-stars-full.png b/skin/frontend/base/default/magmodules/ekomisnippets/images/5-stars-full.png
new file mode 100755
index 0000000000000000000000000000000000000000..5d9f2a1c63e6f37322e8dcf51004f3e666c287b0
GIT binary patch
literal 7441
zcmaKRcT`i&);_&Rks`fUk($s6RXRfGy%|dA5K8FMA}CFofB|XJAs`?M2t)`)kt))H
zARxU%q$$mh_r3SM-|vt6{mxqF%f%H
zo12%6_7
z;nrXSkPFOL-03eL@i1Ti8#ErCl4_X0lZ!VL&g~3!_w-ZdJ?QA-<@R({=CzUm1Hk?o
zP!CVth(M@WgrT`hgtv==E3c{ww^A7BhQJpJcj6B7_3;Y=g(>s?%?rBe|1~VZ%l)?t
z+*_IVU!ttR#@rgPKq$A2xQv(!04U8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-BiTSp>HehemZMwz3v^Mtrg`-nmIdSc~>(L>;j6RQA{z*Eu@!E*>DfMG|k$rE(c#y
zhRfNbI%e`QqDlRqS%thgeT{k$kB?sm493{K7d+gSBVDW|)1l
z*p6!9OuRnp2(lFR&Gsw%f-75IUQUn@d$ppa^_@TTuKRmpO%=cUr9Vz{<+8;TKL0HK
z_<^%X_At1`D34KctKPAz^kr~!XxR{|JXvoZz%M5=$VM*c*MpX0^=TEG{%#py8O`4%
zv7!2~cUt+yD=w+jn1H#_P1KnZrx2LJQIz9Y5RUW2xORn2NCF$!yyHOECr8AbXXGr0
z<6J{)J$bERp`Htx?@$dJu|<_n%Uv5uV$sKmHMd3k)^ARbqN~NO4i03oKdDFp$A(}}
zA3iZ1oia7`(6l4Cj29gDgSPoL*u0+FL9Q6Dz+fVW-P4lQ6Q8GA!{lT>S_Uz-+B&1!
z%%eT__ZF6Z6O4KA4U}BXcUOO8^c73gCwe}UdK(kD;tLQ3uHCu^k)g1lz}(Tj(m7FQ
zEguXg81q_7c8r7xZw69;zA77y)D^Tev^bJ~ykdTL)o1oxeVN_PEVq0Fi#T04LjP`1
sXyLub;-HewEc=JY^L022hzp8x;=
literal 0
HcmV?d00001
diff --git a/skin/frontend/base/default/magmodules/ekomisnippets/images/bkg_rating.gif b/skin/frontend/base/default/magmodules/ekomisnippets/images/bkg_rating.gif
new file mode 100755
index 0000000000000000000000000000000000000000..fcebdc71af4138f7efe5b5d71ed8186e4a94ca6a
GIT binary patch
literal 661
zcmdUsNox~f06@PcX%d^Z)|%25qS(YPNI?pp1-}xOLyfbI*;}cifK@emR
zKt#f{U$4kwA|5LhshSXuMI(*6Qm@HEg%hg+`1KnuSIh#qRxJ^W+
zKUH|PuFz2;@=vU0+*sea(B+~?&Iz$wLgKE%uH~|6dc}|@a|-`M;WpsvKKAD*
zq{}riEyFLdD3MAgIF@05P4J=1Qo$>ULaiEYG#cQ4pik5^0f2zv-PqkHK*uU63mTQS!G0QR`h!EU?{vme%ssd0R$ZKO-3dFkEM;zwi#Yv0O}SK;(N7>>h~X+^7~$Yb#_?J%^~plL)F&s+rSN%-2sli5dm~J&s$99B?k>H
zk9EEGE@FZASI_H?;p@IjGtLLry?3-9M-qXiXJaQvZ!XQK=Z&_(L#xn@Ju;tCeV9DG
P-2BaI958hl_2Bql_SY~4
literal 0
HcmV?d00001
diff --git a/skin/frontend/base/default/magmodules/ekomisnippets/style.css b/skin/frontend/base/default/magmodules/ekomisnippets/style.css
new file mode 100755
index 0000000..42f9565
--- /dev/null
+++ b/skin/frontend/base/default/magmodules/ekomisnippets/style.css
@@ -0,0 +1,41 @@
+/*
+ * Magmodules.eu - http://www.magmodules.eu
+ *
+ * NOTICE OF LICENSE
+ * This source file is subject to the Open Software License (OSL 3.0)
+ * that is bundled with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://opensource.org/licenses/osl-3.0.php
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to info@magmodules.eu so we can send you a copy immediately.
+ *
+ * @category Magmodules
+ * @package Magmodules_Ekomisnippets
+ * @author Magmodules
+ * @copyright Copyright (c) 2017 (http://www.magmodules.eu)
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
+ */
+
+.ekomi-shop-snippets {
+ margin-top: 5px;
+}
+
+.ekomi-shop-snippets .rating-box {
+ float: left;
+ margin: 3px 5px 0px 0px;
+}
+
+.ekomi-shop-snippets .rating {
+ display: block;
+ background: url(./images/5-stars-full.png) no-repeat;
+ background-size: 100px;
+ height: 50px;
+}
+
+.ekomi-shop-snippets .rating-box {
+ width: 100px;
+ background: url(./images/5-stars-empty.png) no-repeat;
+ margin: 5px auto;
+ background-size: 100px;
+}
\ No newline at end of file