From a337bdc5e5207302fa236dcf184a38af78ab2b25 Mon Sep 17 00:00:00 2001 From: Bogdanova Olga Date: Sat, 29 May 2021 00:24:28 +0300 Subject: [PATCH] Issues-622:Added a sign up link in the left nav --- .../dashboard/views/modules/guest.php | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/vanilla/applications/dashboard/views/modules/guest.php b/vanilla/applications/dashboard/views/modules/guest.php index f845557..6947b62 100644 --- a/vanilla/applications/dashboard/views/modules/guest.php +++ b/vanilla/applications/dashboard/views/modules/guest.php @@ -11,15 +11,22 @@ if ($signInUrl) { echo '
'; - echo anchor(t('Login'), signInUrl($this->_Sender->SelfUrl), 'Button Primary SignIn BigButton'.(signInPopup() ? ' SignInPopup' : ''), ['rel' => 'nofollow']); - // $Url = registerUrl($this->_Sender->SelfUrl); - // if (!empty($Url)) { - // echo ' '.anchor(t('Register', t('Apply for Membership', 'Register')), $Url, 'Button ApplyButton', ['rel' => 'nofollow']); - // } - echo '
'; } + + $Url = registerUrl($this->_Sender->SelfUrl); + if (!empty($Url)) { + ?> +

+ Don't have an account? + 'nofollow']); + ?> +

+ fireEvent('AfterSignInButton'); ?>