From 79a0ace565d0efda582ac241d7aec7d20b6b3372 Mon Sep 17 00:00:00 2001 From: Pellaeon Lin Date: Wed, 22 Oct 2014 14:37:20 +0800 Subject: [PATCH] Fix account create success message --- controller/registercontroller.php | 6 ++++-- css/style.css | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/controller/registercontroller.php b/controller/registercontroller.php index 1bf940b..a455fd6 100644 --- a/controller/registercontroller.php +++ b/controller/registercontroller.php @@ -146,8 +146,10 @@ class RegisterController extends Controller { )) ), 'error'); } - return new TemplateResponse('registration', 'message', array('msgs' => - $this->l10n->t('Your account has been successfully created, you can log in now.') + return new TemplateResponse('registration', 'message', array('msg' => + str_replace('{link}', + $this->urlgenerator->getAbsoluteURL('/'), + $this->l10n->t('Your account has been successfully created, you can log in now.')) ), 'guest'); } } diff --git a/css/style.css b/css/style.css index 86ac714..e373081 100644 --- a/css/style.css +++ b/css/style.css @@ -21,6 +21,10 @@ color: white; margin: 5px; } +.msg a { + color: white; + text-decoration: underline; +} .groupofone { position: relative;