mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-01-21 11:47:53 -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
13 lines
613 B
PHTML
13 lines
613 B
PHTML
<ul class="nav nav-list aside">
|
|
<li class="nav-header"><?= _t('admin.stats') ?></li>
|
|
<li class="item<?= Minz_Request::actionName() == 'index' ? ' active' : '' ?>">
|
|
<a href="<?= _url('stats', 'index') ?>"><?= _t('admin.stats.menu.main') ?></a>
|
|
</li>
|
|
<li class="item<?= Minz_Request::actionName() == 'idle' ? ' active' : '' ?>">
|
|
<a href="<?= _url('stats', 'idle') ?>"><?= _t('admin.stats.menu.idle') ?></a>
|
|
</li>
|
|
<li class="item<?= Minz_Request::actionName() == 'repartition' ? ' active' : '' ?>">
|
|
<a href="<?= _url('stats', 'repartition') ?>"><?= _t('admin.stats.menu.repartition') ?></a>
|
|
</li>
|
|
</ul>
|