Skip to content

A free, self-hostable news aggregator…

Fix missing left outline on Mark as read button (#9426)

M. Önlük9e53bdd2238f
diff --git a/CREDITS.md b/CREDITS.md
index 6a1abe435..46c6d562a 100644
--- a/CREDITS.md
+++ b/CREDITS.md
@@ -37,6 +37,7 @@ People are sorted by name so please keep this order.
* [Annika Backstrom](https://github.com/abackstrom): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:abackstrom), [Web](https://sixohthree.com/)
* [Anton Smirnov](https://github.com/arokettu): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:arokettu), [Web](https://sandfox.me/)
* [Antonio Santos](https://github.com/Otolock): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Otolock), [Web](https://otolock.net/)
+* [Arslan-TR](https://github.com/Arslan-TR): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Arslan-TR)
* [ArthurHoaro](https://github.com/ArthurHoaro): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:ArthurHoaro)
* [Artur Weigandt](https://github.com/Art4): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Art4), [Web](https://ruhr.social/@Art4)
* [ASMfreaK](https://github.com/ASMfreaK): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:ASMfreaK)
diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml
index 8ed94f768..cb86e76d9 100644
--- a/app/layout/nav_menu.phtml
+++ b/app/layout/nav_menu.phtml
@@ -143,13 +143,12 @@
<div class="nav_menu_read_all group stick">
<form name="mark_read_menu" class="mark-read-menu" method="post">
<?php $confirm = FreshRSS_Context::userConf()->reading_confirm ? 'confirm" disabled="disabled' : ''; ?>
- <input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
-
<button class="read_all btn <?= $confirm ?>"
formaction="<?= Minz_Url::display($mark_read_url) ?>"
type="submit"><?= _t('gen.action.mark_read') ?></button>
<div id="nav_menu_read" class="dropdown">
+ <input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />
<div id="dropdown-read" class="dropdown-target"></div>
<a class="dropdown-toggle btn" href="#dropdown-read"><?= _i('down') ?></a>