diff options
| author | 2012-12-04 22:41:45 +0100 | |
|---|---|---|
| committer | 2012-12-04 22:41:45 +0100 | |
| commit | 75f8898dcdfca963b731dffe7c1766d60fd410ea (patch) | |
| tree | 86cc7ef48c22ad48dbc9f03c409c05da3360c98f /app/views | |
| parent | 0a0758995a10e28863f827be41c7a59340bc5e59 (diff) | |
Fix issue #21 - bug affichage lorsque non lus par défaut
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/index/index.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml index 2e6d75ae8..86352f6ad 100644 --- a/app/views/index/index.phtml +++ b/app/views/index/index.phtml @@ -3,7 +3,7 @@ <div id="top"> <?php if (!login_is_conf ($this->conf) || is_logged ()) { ?> <a class="read_all" href="<?php echo Url::display (array ('c' => 'entry', 'a' => 'read', 'params' => array ('is_read' => 1))); ?>">Tout marquer comme lu</a><?php } ?><!-- - <?php if (Session::param ('mode', 'all') == 'not_read') { ?> + <?php if ($this->mode == 'not_read') { ?> --><a class="print_all" href="<?php echo Url::display (array ('a' => 'changeMode', 'params' => array ('mode' => 'all'))); ?>">Tout afficher</a> <?php } else { ?> --><a class="print_non_read" href="<?php echo Url::display (array ('a' => 'changeMode', 'params' => array ('mode' => 'not_read'))); ?>">Afficher les non lus</a> |
