mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-02 13:36:15 -05:00
It's an intermediary step to remove the favorite button. I add a button to store the current query as a favorite query. It redirects automatically to the configuration page where it is possible to name and remove user queries. To make the queries more straigtforward, I removed the default behavior when searching for a string. This way, when we search for a string, the filter is not defaulted to all articles.
26 lines
1.6 KiB
PHTML
26 lines
1.6 KiB
PHTML
<ul class="nav nav-list aside">
|
|
<li class="nav-header"><?php echo Minz_Translate::t ('configuration'); ?></li>
|
|
<li class="item<?php echo Minz_Request::actionName () == 'display' ? ' active' : ''; ?>">
|
|
<a href="<?php echo _url ('configure', 'display'); ?>"><?php echo Minz_Translate::t ('display_configuration'); ?></a>
|
|
</li>
|
|
<li class="item<?php echo Minz_Request::actionName () == 'reading' ? ' active' : ''; ?>">
|
|
<a href="<?php echo _url ('configure', 'reading'); ?>"><?php echo Minz_Translate::t ('reading_configuration'); ?></a>
|
|
</li>
|
|
<li class="item<?php echo Minz_Request::actionName () == 'archiving' ? ' active' : ''; ?>">
|
|
<a href="<?php echo _url ('configure', 'archiving'); ?>"><?php echo Minz_Translate::t ('archiving_configuration'); ?></a>
|
|
</li>
|
|
<li class="item<?php echo Minz_Request::actionName () == 'sharing' ? ' active' : ''; ?>">
|
|
<a href="<?php echo _url ('configure', 'sharing'); ?>"><?php echo Minz_Translate::t ('sharing'); ?></a>
|
|
</li>
|
|
<li class="item<?php echo Minz_Request::actionName () == 'shortcut' ? ' active' : ''; ?>">
|
|
<a href="<?php echo _url ('configure', 'shortcut'); ?>"><?php echo Minz_Translate::t ('shortcuts'); ?></a>
|
|
</li>
|
|
<li class="item<?php echo Minz_Request::actionName () == 'queries' ? ' active' : ''; ?>">
|
|
<a href="<?php echo _url ('configure', 'queries'); ?>"><?php echo Minz_Translate::t ('queries'); ?></a>
|
|
</li>
|
|
<li class="separator"></li>
|
|
<li class="item<?php echo Minz_Request::actionName () == 'users' ? ' active' : ''; ?>">
|
|
<a href="<?php echo _url ('configure', 'users'); ?>"><?php echo Minz_Translate::t ('users'); ?></a>
|
|
</li>
|
|
</ul>
|