diff options
| author | 2012-10-28 01:17:15 +0200 | |
|---|---|---|
| committer | 2012-10-28 01:17:15 +0200 | |
| commit | 08a01f87f156fb0a89c032a806645291e6fd55dd (patch) | |
| tree | 21029e844d6f84901e3d4ddf19dcb3b83365be66 /app/layout | |
| parent | b5c39ef5ef10ca80816260030ef6a3e9a6c59acf (diff) | |
Ajout informations dans la sidebar
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/aside.phtml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/layout/aside.phtml b/app/layout/aside.phtml index 51c64fa08..f1c838950 100644 --- a/app/layout/aside.phtml +++ b/app/layout/aside.phtml @@ -12,7 +12,8 @@ <?php if (isset ($this->cat_aside)) { ?> <ul id="flux_menu"> - <li><a href="<?php echo Url::display (array ('params' => array ('get' => 'favoris'))); ?>">Favoris</a></li> + <li><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><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> <?php foreach ($this->cat_aside as $cat) { ?> <li><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 } ?> |
