summaryrefslogtreecommitdiff
path: root/app/Module/LoginBlockModule.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-06-10 18:39:23 +0100
committerGreg Roach <fisharebest@gmail.com>2016-06-10 18:39:23 +0100
commit390c61f322c1767428bcd6546a2f782d71bedce2 (patch)
treea8b40c2ab54b29768b474f1abb0744fb3a77d93f /app/Module/LoginBlockModule.php
parent7a25eda11c3d4dc1ac39a7ecb81cb0f5dda18b0e (diff)
downloadwebtrees-390c61f322c1767428bcd6546a2f782d71bedce2.tar.gz
webtrees-390c61f322c1767428bcd6546a2f782d71bedce2.tar.bz2
webtrees-390c61f322c1767428bcd6546a2f782d71bedce2.zip
Fix #977 - text in login block
Diffstat (limited to 'app/Module/LoginBlockModule.php')
-rw-r--r--app/Module/LoginBlockModule.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Module/LoginBlockModule.php b/app/Module/LoginBlockModule.php
index c22f3fbee1..e76dd69a77 100644
--- a/app/Module/LoginBlockModule.php
+++ b/app/Module/LoginBlockModule.php
@@ -60,7 +60,7 @@ class LoginBlockModule extends AbstractModule implements ModuleBlockInterface {
if (Auth::check()) {
$title = I18N::translate('Sign out');
$content = '<div class="center"><form method="post" action="logout.php" name="logoutform" onsubmit="return true;">';
- $content .= '<br><a href="edituser.php" class="name2">' . I18N::translate('You are signed in as %s', Auth::user()->getRealNameHtml()) . '</a><br><br>';
+ $content .= '<br>' . I18N::translate('You are signed in as %s.', '<a href="edituser.php" class="name2">' . Auth::user()->getRealNameHtml() . '</a>') . '<br><br>';
$content .= '<input type="submit" value="' . I18N::translate('Sign out') . '">';
$content .= '<br><br></form></div>';