diff options
| author | 2013-04-13 13:02:21 +0200 | |
|---|---|---|
| committer | 2013-04-13 13:02:21 +0200 | |
| commit | c2bf3ead8ae15288eb99c82643fb0cbd595e1454 (patch) | |
| tree | 2a4da7c310f3506aa478eade79d8a807d809f2bd /app/layout | |
| parent | 1cc118acdc52895ca500c93b36bbb5cf3a149bc7 (diff) | |
Export des flux au format RSS pleinement supporté (voir issue #34) - possibilité de les filtrer comme pour la vue principale
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/nav_menu.phtml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index 90fe4aea1..71a5bd11e 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -62,4 +62,23 @@ </li> </ul> </div> + + <?php + $get = Request::param ('get', ''); + $search = Request::param ('search', ''); + $url = array ( + 'c' => 'index', + 'a' => 'index', + 'params' => array ( + 'output' => 'rss' + ) + ); + if ($get != '') { + $url['params']['get'] = $get; + } + if ($search != '') { + $url['params']['search'] = $search; + } + ?> + <a class="btn" href="<?php echo Url::display ($url); ?>"><i class="icon i_rss"></i></a> </div> |
