aboutsummaryrefslogtreecommitdiff
path: root/app/layout
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2012-10-30 22:09:53 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2012-10-30 22:09:53 +0100
commit3a8a6d2d56c468af924936a80e110727bc503594 (patch)
tree827a066df9d9ebdee64d703c94698f76853b3cdb /app/layout
parent2f1a8c3d74f99ca80a13d7bc90251fa7285007d6 (diff)
petite correction du menu de gauche
Diffstat (limited to 'app/layout')
-rw-r--r--app/layout/aside.phtml8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/layout/aside.phtml b/app/layout/aside.phtml
index 73f797850..7f33bff2f 100644
--- a/app/layout/aside.phtml
+++ b/app/layout/aside.phtml
@@ -32,8 +32,10 @@
<?php } ?>
</li>
<?php } ?>
-
- <?php if (isset ($this->cat_aside)) { ?>
+ </ul>
+
+ <?php if (isset ($this->cat_aside)) { ?>
+ <ul id="categories">
<li class="all<?php echo !$this->get ? ' active' : ''; ?>"><a href="<?php echo Url::display (array ()); ?>">Tous <span><?php echo $this->nb_total; ?> article<?php echo $this->nb_total > 1 ? 's' : ''; ?></span></a></li>
<li class="favorites<?php echo $this->get == 'favoris' ? ' active' : ''; ?>"><a href="<?php echo Url::display (array ('params' => array ('get' => 'favoris'))); ?>">Favoris <span><?php echo $this->nb_favorites; ?> article<?php echo $this->nb_favorites > 1 ? 's' : ''; ?></span></a></li>
@@ -41,6 +43,6 @@
<?php foreach ($this->cat_aside as $cat) { ?>
<li class="category<?php echo $this->get == $cat->id () ? ' active' : ''; ?>"><a href="<?php echo Url::display (array ('params' => array ('get' => $cat->id ()))); ?>"><?php echo $cat->name (); ?> <span><?php echo $cat->nbFeed (); ?> flux</span></a></li>
<?php } ?>
- <?php } ?>
</ul>
+ <?php } ?>
</div>