mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-01-26 22:27:58 -05:00
* Take advantage of PHP 5.4+ short echo https://php.net/migration54.new-features thanks to https://github.com/FreshRSS/FreshRSS/pull/2495 Use `<?= ?>` instead of `<?php echo; ?>` 10kB of code saved :-) Done with regular expression: ``` <\?php echo (.+?);? *\?> <?= \1 ?> ``` * Try Travis fix https://github.com/squizlabs/PHP_CodeSniffer/issues/2045#issuecomment-395238272
16 lines
797 B
PHTML
16 lines
797 B
PHTML
<ul class="nav nav-list aside">
|
|
<li class="nav-header"><?= _t('sub.menu.subscription_management') ?></li>
|
|
|
|
<li class="item<?= Minz_Request::controllerName() === 'subscription' && Minz_Request::actionName() !== 'bookmarklet' ? ' active' : '' ?>">
|
|
<a href="<?= _url('subscription', 'index') ?>"><?= _t('sub.menu.subscription_management') ?></a>
|
|
</li>
|
|
|
|
<li class="item<?= Minz_Request::controllerName() === 'importExport' ? ' active' : '' ?>">
|
|
<a href="<?= _url('importExport', 'index') ?>"><?= _t('sub.menu.import_export') ?></a>
|
|
</li>
|
|
|
|
<li class="item<?= Minz_Request::controllerName() === 'subscription' && Minz_Request::actionName() === 'bookmarklet' ? ' active' : '' ?>">
|
|
<a href="<?= _url('subscription', 'bookmarklet') ?>"><?= _t('sub.menu.subscription_tools') ?></a>
|
|
</li>
|
|
</ul>
|