diff options
| author | 2013-04-13 13:15:55 +0200 | |
|---|---|---|
| committer | 2013-04-13 13:15:55 +0200 | |
| commit | 627700648ba3f144afa9294afe1f9c51b0018ad7 (patch) | |
| tree | f8ad7656322289c941ab0b2320b3d5de62216713 /app/layout | |
| parent | c2bf3ead8ae15288eb99c82643fb0cbd595e1454 (diff) | |
Déplacement du bouton pour voir les flux RSS
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/aside_flux.phtml | 24 | ||||
| -rw-r--r-- | app/layout/nav_menu.phtml | 19 |
2 files changed, 23 insertions, 20 deletions
diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml index 198103428..b12edfbc7 100644 --- a/app/layout/aside_flux.phtml +++ b/app/layout/aside_flux.phtml @@ -2,8 +2,30 @@ <a class="toggle_aside" href="#close"><i class="icon i_close"></i></a> <ul class="categories"> + <?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; + } + ?> <?php if (!login_is_conf ($this->conf) || is_logged ()) { ?> - <li><a class="btn btn-important" href="<?php echo _url ('configure', 'feed'); ?>">Gestion des abonnements</a></li> + <li> + <div class="stick"> + <a class="btn btn-important" href="<?php echo _url ('configure', 'feed'); ?>">Gestion des abonnements</a> + <a class="btn btn-important" href="<?php echo Url::display ($url); ?>"><i class="icon i_rss"></i></a> + </div> + </li> <?php } ?> <li> diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index 71a5bd11e..90fe4aea1 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -62,23 +62,4 @@ </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> |
