aboutsummaryrefslogtreecommitdiff
path: root/app/layout/header.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/layout/header.phtml')
-rw-r--r--app/layout/header.phtml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/layout/header.phtml b/app/layout/header.phtml
index 75dacfe1d..b9d5c0a13 100644
--- a/app/layout/header.phtml
+++ b/app/layout/header.phtml
@@ -18,6 +18,11 @@
<input type="search" name="search" id="search" class="extend"
value="<?= htmlspecialchars(htmlspecialchars_decode(FreshRSS_Context::$search, ENT_QUOTES), ENT_COMPAT, 'UTF-8') ?>"
placeholder="<?= _t('gen.menu.search') ?>" />
+
+ <?php $param_a = Minz_Request::actionName(); ?>
+ <?php if (in_array($param_a, ['normal', 'global', 'reader'])) { ?>
+ <input type="hidden" name="a" value="<?= $param_a ?>" />
+ <?php } ?>
<?php $get = Minz_Request::param('get', ''); ?>
<?php if ($get != '') { ?>