Commit: c180b7a4ab9e50d369a4e335cff02045ba0cecc7
Author: gwoo | Date: 2010-01-27 20:58:40 -0800
diff --git a/views/home/index.html.php b/views/home/index.html.php
index 64469fb..1a1c7e4 100644
--- a/views/home/index.html.php
+++ b/views/home/index.html.php
@@ -6,22 +6,18 @@
'action' => 'index'
)); ?>
</h2>
- <ul>
<?php if (!empty($latestPlugins)) { ?>
- <?php foreach ($latestPlugins as $plugin) { ?>
+ <ul>
+ <?php foreach ($latestPlugins as $plugin) { ?>
<li>
- <?php
- echo $this->html->link(
- $plugin->name,
- array(
+ <?php echo $this->html->link($plugin->name, array(
'plugin' => 'li3_lab',
'controller' => 'plugins',
'action' => 'view',
'args' => ($plugin->id)
- )
- );
- ?></li>
- <?php } ?>
+ ));?>
+ </li>
+ <?php } ?>
<li>
<?php echo $this->html->link('view all plugins', array(
'plugin' => 'li3_lab',
@@ -29,8 +25,8 @@
'action' => 'index'
)); ?>
</li>
- <?php } ?>
</ul>
+ <?php } ?>
</div>
<div class="column latest-extensions">
@@ -41,22 +37,18 @@
'action' => 'index'
)); ?>
</h2>
- <ul>
<?php if (!empty($latestExtensions)) { ?>
- <?php foreach ($latestExtensions as $extension) { ?>
+ <ul>
+ <?php foreach ($latestExtensions as $extension) { ?>
<li>
- <?php
- echo $this->html->link(
- $extension->name,
- array(
+ <?php echo $this->html->link($extension->name, array(
'plugin' => 'li3_lab',
'controller' => 'extensions',
'action' => 'view',
'args' => ($extension->id)
- )
- );
- ?></li>
- <?php } ?>
+ ));?>
+ </li>
+ <?php } ?>
<li>
<?php echo $this->html->link('view all extensions', array(
'plugin' => 'li3_lab',
@@ -64,8 +56,9 @@
'action' => 'index'
)); ?>
</li>
- <?php } ?>
</ul>
+ <?php } ?>
+
</div>
<div class="column news">