diff options
| author | 2025-09-11 21:19:31 +0200 | |
|---|---|---|
| committer | 2025-09-11 21:19:31 +0200 | |
| commit | 8bd9bd95d8cc0fd5fe24386db7182329612579da (patch) | |
| tree | 6e1278feccbc8725f218cc86e84b8961360b63f2 /app/views/user | |
| parent | c8da217e875c2371a8d1d13a678e2a811d906922 (diff) | |
Minor update syntax echo (#7941)
* Minor update syntax echo
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/7939
* Fix layout
Whitespace optimisation needed to avoid style glitch
Diffstat (limited to 'app/views/user')
| -rw-r--r-- | app/views/user/details.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/user/details.phtml b/app/views/user/details.phtml index 2840586bf..20ab4d804 100644 --- a/app/views/user/details.phtml +++ b/app/views/user/details.phtml @@ -9,7 +9,7 @@ $enabled = $this->details['enabled']; ?> <div class="post"> - <h2><?= $this->username ?><?php if ($isAdmin) echo ' ― ', _t('admin.user.admin'); ?></h2> + <h2><?= $this->username ?><?= $isAdmin ? ' ― ' . _t('admin.user.admin') : '' ?></h2> <form method="post" action="<?= _url('user', 'manage', 'username', $this->username); ?>" data-auto-leave-validation="1"> <input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken(); ?>" /> |
