diff options
| author | 2024-04-25 08:48:04 +0200 | |
|---|---|---|
| committer | 2024-04-25 08:48:04 +0200 | |
| commit | c47b7852353086a3fcb04db9d3bbc28e2ad1e52c (patch) | |
| tree | c93d069ee73dec34d9abb454c88bf1c523575de1 /app/layout | |
| parent | aac3b21a8b4fd1a2f351a63fdb70d39ac2851921 (diff) | |
Fix: left side border of search bar input (#6376)
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/header.phtml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/app/layout/header.phtml b/app/layout/header.phtml index 9ab0da4c4..2e884add5 100644 --- a/app/layout/header.phtml +++ b/app/layout/header.phtml @@ -18,25 +18,25 @@ <div class="item search"> <?php if (FreshRSS_Auth::hasAccess() || FreshRSS_Context::systemConf()->allow_anonymous) { ?> <form action="<?= $this->html_url ?>" method="get"> - <div class="stick"> - <?php if (Minz_Request::controllerName() === 'index'): ?> - <?php if (in_array(Minz_Request::actionName(), ['normal', 'global', 'reader'], true)) { ?> - <input type="hidden" name="a" value="<?= Minz_Request::actionName() ?>" /> - <?php } if (Minz_Request::paramString('get') !== '') { ?> - <input type="hidden" name="get" value="<?= FreshRSS_Context::currentGet() ?>" /> - <?php } if (Minz_Request::paramInt('state') !== 0) { ?> - <input type="hidden" name="state" value="<?= Minz_Request::paramInt('state') ?>" /> - <?php } ?> - <?php endif; ?> - <?php if (Minz_Request::paramString('user') !== '') { ?> - <input type="hidden" name="user" value="<?= Minz_User::name() ?>" /> - <?php } if (ctype_alnum(Minz_Request::paramString('t'))) { ?> - <input type="hidden" name="t" value="<?= Minz_Request::paramString('t') ?>" /> - <?php } if (ctype_upper(Minz_Request::paramString('order'))) { ?> - <input type="hidden" name="order" value="<?= FreshRSS_Context::$order ?>" /> - <?php } if (ctype_lower(Minz_Request::paramString('f'))) { ?> - <input type="hidden" name="f" value="<?= Minz_Request::paramString('f') ?>" /> + <?php if (Minz_Request::controllerName() === 'index'): ?> + <?php if (in_array(Minz_Request::actionName(), ['normal', 'global', 'reader'], true)) { ?> + <input type="hidden" name="a" value="<?= Minz_Request::actionName() ?>" /> + <?php } if (Minz_Request::paramString('get') !== '') { ?> + <input type="hidden" name="get" value="<?= FreshRSS_Context::currentGet() ?>" /> + <?php } if (Minz_Request::paramInt('state') !== 0) { ?> + <input type="hidden" name="state" value="<?= Minz_Request::paramInt('state') ?>" /> <?php } ?> + <?php endif; ?> + <?php if (Minz_Request::paramString('user') !== '') { ?> + <input type="hidden" name="user" value="<?= Minz_User::name() ?>" /> + <?php } if (ctype_alnum(Minz_Request::paramString('t'))) { ?> + <input type="hidden" name="t" value="<?= Minz_Request::paramString('t') ?>" /> + <?php } if (ctype_upper(Minz_Request::paramString('order'))) { ?> + <input type="hidden" name="order" value="<?= FreshRSS_Context::$order ?>" /> + <?php } if (ctype_lower(Minz_Request::paramString('f'))) { ?> + <input type="hidden" name="f" value="<?= Minz_Request::paramString('f') ?>" /> + <?php } ?> + <div class="stick"> <input type="search" name="search" id="search" value="<?= htmlspecialchars(htmlspecialchars_decode(Minz_Request::paramString('search'), ENT_QUOTES), ENT_COMPAT, 'UTF-8') ?>" placeholder="<?= _t('gen.menu.search') ?>" /> |
