aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-17 00:01:40 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-17 00:01:40 +0100
commitd63eddf0c5a563d11c880bb700dafc889ee87a3d (patch)
tree17a2d4f788850684e73b8229e57efefeda9a121a /app/views
parent81eab003ef3ff845da46f85c56850a76f2d16bb8 (diff)
Ajout d'options : possibilité de changer l'ordre des articles + possibilité de marquer comme lu au choix : tous, antérieurs à 1 jour, antérieurs à 1 semaine
Diffstat (limited to 'app/views')
-rw-r--r--app/views/index/index.phtml26
1 files changed, 1 insertions, 25 deletions
diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml
index 3e213d076..7734630ef 100644
--- a/app/views/index/index.phtml
+++ b/app/views/index/index.phtml
@@ -1,30 +1,6 @@
<?php $this->partial ('aside_flux'); ?>
-<div class="nav_menu stick">
- <a class="btn" href="<?php echo _url ('feed', 'actualize'); ?>"><i class="icon i_refresh"></i></a>
-
- <?php
- $get = false;
- $string_mark = 'Tout marquer comme lu';
- if ($this->get_f) {
- $get = 'f_' . $this->get_f;
- $string_mark = 'Marquer le flux comme lu';
- } elseif ($this->get_c) {
- $get = 'c_' . $this->get_c;
- $string_mark = 'Marquer la catégorie comme lue';
- }
- ?>
-
- <?php if (!login_is_conf ($this->conf) || is_logged ()) { ?>
- <a class="read_all btn" href="<?php echo _url ('entry', 'read', 'is_read', 1, 'get', $get); ?>"><?php echo $string_mark; ?></a>
- <?php } ?>
-
- <?php if ($this->mode == 'not_read') { ?>
- <a class="print_all btn" href="<?php echo _url ('index', 'changeMode', 'mode', 'all'); ?>">Tout afficher</a>
- <?php } else { ?>
- <a class="print_non_read btn" href="<?php echo _url ('index', 'changeMode', 'mode', 'not_read'); ?>">Afficher les non lus</a>
- <?php } ?>
-</div>
+<?php $this->partial ('nav_menu'); ?>
<?php
if (isset ($this->entryPaginator)) {