mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-04 14:36:00 -05:00
Before, some ad-blocker rules were preventing to display the sharing page because of its name. I've renamed that page to integration but kept every thing else identical. So it's still called sharing through out the application. If needed, this can be addressed as well. See #2509 and #2419
55 lines
2.9 KiB
PHTML
55 lines
2.9 KiB
PHTML
<ul class="nav nav-list aside">
|
|
<li class="nav-header"><?= _t('gen.menu.configuration') ?></li>
|
|
<li class="item<?= Minz_Request::actionName() === 'display' ? ' active' : '' ?>">
|
|
<a href="<?= _url('configure', 'display') ?>"><?= _t('gen.menu.display') ?></a>
|
|
</li>
|
|
<li class="item<?= Minz_Request::actionName() === 'reading' ? ' active' : '' ?>">
|
|
<a href="<?= _url('configure', 'reading') ?>"><?= _t('gen.menu.reading') ?></a>
|
|
</li>
|
|
<li class="item<?= Minz_Request::actionName() === 'archiving' ? ' active' : '' ?>">
|
|
<a href="<?= _url('configure', 'archiving') ?>"><?= _t('gen.menu.archiving') ?></a>
|
|
</li>
|
|
<li class="item<?= Minz_Request::actionName() === 'integration' ? ' active' : '' ?>">
|
|
<a href="<?= _url('configure', 'integration') ?>"><?= _t('gen.menu.sharing') ?></a>
|
|
</li>
|
|
<li class="item<?= Minz_Request::actionName() === 'shortcut' ? ' active' : '' ?>">
|
|
<a href="<?= _url('configure', 'shortcut') ?>"><?= _t('gen.menu.shortcuts') ?></a>
|
|
</li>
|
|
<li class="item<?= Minz_Request::actionName() === 'queries' ? ' active' : '' ?>">
|
|
<a href="<?= _url('configure', 'queries') ?>"><?= _t('gen.menu.queries') ?></a>
|
|
</li>
|
|
<li class="item<?php echo Minz_Request::controllerName() === 'user' &&
|
|
Minz_Request::actionName() === 'profile'? ' active' : ''; ?>">
|
|
<a href="<?= _url('user', 'profile') ?>"><?= _t('gen.menu.user_profile') ?></a>
|
|
</li>
|
|
<li class="item<?= Minz_Request::controllerName() === 'extension' ? ' active' : '' ?>">
|
|
<a href="<?= _url('extension', 'index') ?>"><?= _t('gen.menu.extensions') ?></a>
|
|
</li>
|
|
<?= Minz_ExtensionManager::callHook('menu_configuration_entry') ?>
|
|
|
|
<?php if (FreshRSS_Auth::hasAccess('admin')) { ?>
|
|
<li class="nav-header"><?= _t('gen.menu.admin') ?></li>
|
|
<li class="item<?= Minz_Request::actionName() === 'system' ? ' active' : '' ?>">
|
|
<a href="<?= _url('configure', 'system') ?>"><?= _t('gen.menu.system') ?></a>
|
|
</li>
|
|
<li class="item<?php echo Minz_Request::controllerName() === 'user' &&
|
|
Minz_Request::actionName() === 'manage' ? ' active' : ''; ?>">
|
|
<a href="<?= _url('user', 'manage') ?>"><?= _t('gen.menu.user_management') ?></a>
|
|
</li>
|
|
<li class="item<?= Minz_Request::controllerName() === 'auth' ? ' active' : '' ?>">
|
|
<a href="<?= _url('auth', 'index') ?>"><?= _t('gen.menu.authentication') ?></a>
|
|
</li>
|
|
<li class="item<?php echo Minz_Request::controllerName() === 'update' &&
|
|
Minz_Request::actionName() === 'checkInstall' ? ' active' : ''; ?>">
|
|
<a href="<?= _url('update', 'checkInstall') ?>"><?= _t('gen.menu.check_install') ?></a>
|
|
</li>
|
|
<?php if (!Minz_Configuration::get('system')->disable_update) { ?>
|
|
<li class="item<?php echo Minz_Request::controllerName() === 'update' &&
|
|
Minz_Request::actionName() === 'index' ? ' active' : ''; ?>">
|
|
<a href="<?= _url('update', 'index') ?>"><?= _t('gen.menu.update') ?></a>
|
|
</li>
|
|
<?php } ?>
|
|
<?= Minz_ExtensionManager::callHook('menu_admin_entry') ?>
|
|
<?php } ?>
|
|
</ul>
|