diff options
| author | 2013-11-14 21:55:53 +0100 | |
|---|---|---|
| committer | 2013-11-14 21:55:53 +0100 | |
| commit | 9efb9388df7e07311b6e1e0696f43419c702cd2f (patch) | |
| tree | 8daecdbf9e2993c01e638da25cb5188e51f95967 /app/layout | |
| parent | 0843e5b6914c51b2263ad9bfd462cc1e4f1cea5f (diff) | |
bigMarkAsRead : utilisation sans JavaScript
et différent si l'utilisateur n'est pas connecté
Implémente https://github.com/marienfressinaud/FreshRSS/issues/249
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/nav_menu.phtml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index 55da1c204..5c5ee876a 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -53,10 +53,12 @@ break; } } + $markReadUrl = _url ('entry', 'read', 'is_read', 1, 'get', $get, 'nextGet', $nextGet); + Session::_param ('markReadUrl', $markReadUrl); ?> <div class="stick" id="nav_menu_read_all"> - <a class="read_all btn" href="<?php echo _url ('entry', 'read', 'is_read', 1, 'get', $get, 'nextGet', $nextGet); ?>"><?php echo Translate::t ('mark_read'); ?></a> + <a class="read_all btn" href="<?php echo $markReadUrl; ?>"><?php echo Translate::t ('mark_read'); ?></a> <div class="dropdown"> <div id="dropdown-read" class="dropdown-target"></div> @@ -64,7 +66,7 @@ <ul class="dropdown-menu"> <li class="dropdown-close"><a href="#close"> </a></li> - <li class="item"><a href="<?php echo _url ('entry', 'read', 'is_read', 1, 'get', $get, 'nextGet', $nextGet); ?>"><?php echo $string_mark; ?></a></li> + <li class="item"><a href="<?php echo $markReadUrl; ?>"><?php echo $string_mark; ?></a></li> <li class="separator"></li> <?php $date = getdate (); |
