recent-reviews-lite - Version 0.1.1

Version Notes

Stable release

Download this release

Release Info

Developer Développeurs EnvoiMoinsCher.com
Extension recent-reviews-lite
Version 0.1.1
Comparing to
See all releases


Code changes from version 0.1.0 to 0.1.1

app/design/frontend/base/default/template/orange/recentreviews/reviews.phtml CHANGED
@@ -1,6 +1,5 @@
1
  <?php $_reviews = Mage::getModel('orange_recentreviews/recentreviews') ?>
2
  <?php if($_reviews->isActive()): ?>
3
- <?php if(count($_reviews->data())): ?>
4
  <div class="block">
5
  <?php if($_reviews->showTitle()): ?>
6
  <div class="block-title">
@@ -10,6 +9,7 @@
10
  </div>
11
  <?php endif ?>
12
  <div class="block-content">
 
13
  <ul>
14
  <?php foreach($_reviews->data() as $_review): ?>
15
  <li class="item">
@@ -45,7 +45,9 @@
45
  </li>
46
  <?php endforeach ?>
47
  </ul>
 
 
 
48
  </div>
49
  </div>
50
- <?php endif ?>
51
  <?php endif ?>
1
  <?php $_reviews = Mage::getModel('orange_recentreviews/recentreviews') ?>
2
  <?php if($_reviews->isActive()): ?>
 
3
  <div class="block">
4
  <?php if($_reviews->showTitle()): ?>
5
  <div class="block-title">
9
  </div>
10
  <?php endif ?>
11
  <div class="block-content">
12
+ <?php if(count($_reviews->data())): ?>
13
  <ul>
14
  <?php foreach($_reviews->data() as $_review): ?>
15
  <li class="item">
45
  </li>
46
  <?php endforeach ?>
47
  </ul>
48
+ <?php else: ?>
49
+ <p class="empty"><?php echo $this->__('No reviews found.') ?></p>
50
+ <?php endif ?>
51
  </div>
52
  </div>
 
53
  <?php endif ?>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>recent-reviews-lite</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
  <license>Open Software License</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Display latest reviews</description>
11
  <notes>Stable release</notes>
12
  <authors><author><name>Mage</name><user>Dev</user><email>mage.ext@gmail.com</email></author></authors>
13
- <date>2013-01-07</date>
14
- <time>22:38:50</time>
15
- <contents><target name="magecommunity"><dir name="Orange"><dir name="RecentReviews"><dir name="Model"><file name="Recentreviews.php" hash="7c751c09965a2897caa1ce6fec651f16"/></dir><dir name="etc"><file name="config.xml" hash="b167c4ef444eca5d912a7d0d5e3c28d0"/><file name="system.xml" hash="1342359e211ce7b5c5eba9f19a4ae7b1"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="orange"><dir name="recentreviews"><file name="reviews.phtml" hash="f13fa9cd56c1d7d84e2f8af9a6d6cba2"/></dir></dir></dir><dir name="layout"><file name="orange_recent_reviews.xml" hash="6937b3d46a4bf1c2ff75139bfafd22ee"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Orange_RecentReviews.xml" hash="465284a2cfe768c59f90c44b4b56e793"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>recent-reviews-lite</name>
4
+ <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license>Open Software License</license>
7
  <channel>community</channel>
10
  <description>Display latest reviews</description>
11
  <notes>Stable release</notes>
12
  <authors><author><name>Mage</name><user>Dev</user><email>mage.ext@gmail.com</email></author></authors>
13
+ <date>2013-01-08</date>
14
+ <time>21:11:49</time>
15
+ <contents><target name="magecommunity"><dir name="Orange"><dir name="RecentReviews"><dir name="Model"><file name="Recentreviews.php" hash="7c751c09965a2897caa1ce6fec651f16"/></dir><dir name="etc"><file name="config.xml" hash="b167c4ef444eca5d912a7d0d5e3c28d0"/><file name="system.xml" hash="1342359e211ce7b5c5eba9f19a4ae7b1"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="orange"><dir name="recentreviews"><file name="reviews.phtml" hash="fe2f113f9cade4f158d76ac0c5d9886f"/></dir></dir></dir><dir name="layout"><file name="orange_recent_reviews.xml" hash="6937b3d46a4bf1c2ff75139bfafd22ee"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Orange_RecentReviews.xml" hash="465284a2cfe768c59f90c44b4b56e793"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>