summaryrefslogtreecommitdiff
path: root/app/layout/aside_configure.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/layout/aside_configure.phtml')
-rw-r--r--app/layout/aside_configure.phtml12
1 files changed, 10 insertions, 2 deletions
diff --git a/app/layout/aside_configure.phtml b/app/layout/aside_configure.phtml
index 59846a7c8..7a9d0d839 100644
--- a/app/layout/aside_configure.phtml
+++ b/app/layout/aside_configure.phtml
@@ -19,10 +19,18 @@
<a href="<?php echo _url('configure', 'queries'); ?>"><?php echo _t('queries'); ?></a>
</li>
<li class="separator"></li>
- <li class="item<?php echo Minz_Request::controllerName() === 'users' ? ' active' : ''; ?>">
- <a href="<?php echo _url('users', 'index'); ?>"><?php echo _t('users'); ?></a>
+ <li class="item<?php echo Minz_Request::controllerName() === 'user' &&
+ Minz_Request::actionName() === 'profil'? ' active' : ''; ?>">
+ <a href="<?php echo _url('user', 'profil'); ?>"><?php echo _t('users.profil'); ?></a>
</li>
<?php if (FreshRSS_Auth::hasAccess('admin')) { ?>
+ <li class="item<?php echo Minz_Request::controllerName() === 'user' &&
+ Minz_Request::actionName() === 'manage' ? ' active' : ''; ?>">
+ <a href="<?php echo _url('user', 'manage'); ?>"><?php echo _t('users.manage'); ?></a>
+ </li>
+ <li class="item<?php echo Minz_Request::controllerName() === 'auth' ? ' active' : ''; ?>">
+ <a href="<?php echo _url('auth', 'index'); ?>"><?php echo _t('authentication'); ?></a>
+ </li>
<li class="item<?php echo Minz_Request::controllerName() === 'update' ? ' active' : ''; ?>">
<a href="<?php echo _url('update', 'index'); ?>"><?php echo _t('update'); ?></a>
</li>