Skip to content

A free, self-hostable news aggregator…

Fix: left hand side navigation of TOS item when selected (#6055)

maTh415490dd7c06
diff --git a/app/layout/aside_configure.phtml b/app/layout/aside_configure.phtml
index 729b61f5c..4d4571c4e 100644
--- a/app/layout/aside_configure.phtml
+++ b/app/layout/aside_configure.phtml
@@ -88,7 +88,7 @@
<a href="<?= _url('index', 'about') ?>"><?= _t('gen.menu.about') ?></a>
</li>
<?php if (file_exists(TOS_FILENAME)) { ?>
- <li class="item">
+ <li class="item<?= Minz_Request::actionName() === 'tos' ? ' active' : '' ?>">
<a href="<?= _url('index', 'tos') ?>"><?= _t('index.tos.title')?></a>
</li>
<?php } ?>