diff options
| author | 2013-11-28 02:52:30 +0100 | |
|---|---|---|
| committer | 2013-11-28 02:52:30 +0100 | |
| commit | 38b4ba034f1ef9e9861c8891964f87277725e785 (patch) | |
| tree | 41f223abd8987332592218704a8bffa0985d6433 /app/layout | |
| parent | ee2c1a8c7888ef16d76a0c03ff2040aaa8a11a94 (diff) | |
Déplacement de config Shaarli
Page dédiée pour les options de partage
Voir #175
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/aside_configure.phtml | 7 | ||||
| -rw-r--r-- | app/layout/header.phtml | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/app/layout/aside_configure.phtml b/app/layout/aside_configure.phtml index 0ca2ed099..7dbe445b2 100644 --- a/app/layout/aside_configure.phtml +++ b/app/layout/aside_configure.phtml @@ -2,9 +2,12 @@ <li class="nav-header"><?php echo Translate::t ('configuration'); ?></li> <li class="item<?php echo Request::actionName () == 'display' ? ' active' : ''; ?>"> - <a href="<?php echo Url::display (array ('c' => 'configure', 'a' => 'display')); ?>"><?php echo Translate::t ('general_and_reading'); ?></a> + <a href="<?php echo _url ('configure', 'display'); ?>"><?php echo Translate::t ('general_and_reading'); ?></a> + </li> + <li class="item<?php echo Request::actionName () == 'sharing' ? ' active' : ''; ?>"> + <a href="<?php echo _url ('configure', 'sharing'); ?>"><?php echo Translate::t ('sharing'); ?></a> </li> <li class="item<?php echo Request::actionName () == 'shortcut' ? ' active' : ''; ?>"> - <a href="<?php echo Url::display (array ('c' => 'configure', 'a' => 'shortcut')); ?>"><?php echo Translate::t ('shortcuts'); ?></a> + <a href="<?php echo _url ('configure', 'shortcut'); ?>"><?php echo Translate::t ('shortcuts'); ?></a> </li> </div> diff --git a/app/layout/header.phtml b/app/layout/header.phtml index b0eff4d8b..12af6057a 100644 --- a/app/layout/header.phtml +++ b/app/layout/header.phtml @@ -58,6 +58,7 @@ <li class="dropdown-close"><a href="#close">❌</a></li> <li class="dropdown-header"><?php echo Translate::t ('configuration'); ?></li> <li class="item"><a href="<?php echo _url ('configure', 'display'); ?>"><?php echo Translate::t ('general_and_reading'); ?></a></li> + <li class="item"><a href="<?php echo _url ('configure', 'sharing'); ?>"><?php echo Translate::t ('sharing'); ?></a></li> <li class="item"><a href="<?php echo _url ('configure', 'shortcut'); ?>"><?php echo Translate::t ('shortcuts'); ?></a></li> <li class="separator"></li> <li class="item"><a href="<?php echo _url ('index', 'about'); ?>"><?php echo Translate::t ('about'); ?></a></li> |
