You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.8 KiB
33 lines
1.8 KiB
<ul class="nav nav-list aside"> |
|
<li class="nav-header"><?php echo _t('configuration'); ?></li> |
|
<li class="item<?php echo Minz_Request::actionName() === 'display' ? ' active' : ''; ?>"> |
|
<a href="<?php echo _url('configure', 'display'); ?>"><?php echo _t('display_configuration'); ?></a> |
|
</li> |
|
<li class="item<?php echo Minz_Request::actionName() === 'reading' ? ' active' : ''; ?>"> |
|
<a href="<?php echo _url('configure', 'reading'); ?>"><?php echo _t('reading_configuration'); ?></a> |
|
</li> |
|
<li class="item<?php echo Minz_Request::actionName() === 'archiving' ? ' active' : ''; ?>"> |
|
<a href="<?php echo _url('configure', 'archiving'); ?>"><?php echo _t('archiving_configuration'); ?></a> |
|
</li> |
|
<li class="item<?php echo Minz_Request::actionName() === 'sharing' ? ' active' : ''; ?>"> |
|
<a href="<?php echo _url('configure', 'sharing'); ?>"><?php echo _t('sharing'); ?></a> |
|
</li> |
|
<li class="item<?php echo Minz_Request::actionName() === 'shortcut' ? ' active' : ''; ?>"> |
|
<a href="<?php echo _url('configure', 'shortcut'); ?>"><?php echo _t('shortcuts'); ?></a> |
|
</li> |
|
<li class="item<?php echo Minz_Request::actionName() === 'queries' ? ' active' : ''; ?>"> |
|
<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> |
|
<?php |
|
$current_user = Minz_Session::param('currentUser', ''); |
|
if (Minz_Configuration::isAdmin($current_user)) { |
|
?> |
|
<li class="item<?php echo Minz_Request::controllerName() === 'update' ? ' active' : ''; ?>"> |
|
<a href="<?php echo _url('update', 'index'); ?>"><?php echo _t('update'); ?></a> |
|
</li> |
|
<?php } ?> |
|
</ul>
|
|
|