From aaf870843b8c47500f9046b3bc015c0ba8034e8d Mon Sep 17 00:00:00 2001
From: root
Date: Fri, 19 Nov 2021 17:22:33 -0500
Subject: [PATCH] updated the text at the bottom of the login screen
to make it similar to what we have on the current cas.fsf.org
---
dictionaries/fsfdrupalauth.definition.json | 6 ++++++
themes/fsftheme/core/loginuserpass.tpl.php | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/dictionaries/fsfdrupalauth.definition.json b/dictionaries/fsfdrupalauth.definition.json
index 14ae087..96f8765 100644
--- a/dictionaries/fsfdrupalauth.definition.json
+++ b/dictionaries/fsfdrupalauth.definition.json
@@ -1,5 +1,11 @@
{
"loggedin_as_description": {
"en": "You are logged in as "
+ },
+ "fsf_help_header": {
+ "en": "Help with my account!"
+ },
+ "fsf_help_text": {
+ "en": "I forgot my username/password | I want to reset my password
No FSF account? You can either join the FSF as an associate member or create a non-member account without charge."
}
}
diff --git a/themes/fsftheme/core/loginuserpass.tpl.php b/themes/fsftheme/core/loginuserpass.tpl.php
index 30c8db5..db1ec78 100644
--- a/themes/fsftheme/core/loginuserpass.tpl.php
+++ b/themes/fsftheme/core/loginuserpass.tpl.php
@@ -189,7 +189,7 @@ if (!empty($this->data['links'])) {
}
echo '';
}
-echo '
'.$this->t('{login:help_header}').'
';
-echo ''.$this->t('{login:help_text}').'
';
+echo ''.$this->t('{fsfdrupalauth:fsfdrupalauth:fsf_help_header}').'
';
+echo ''.$this->t('{fsfdrupalauth:fsfdrupalauth:fsf_help_text}').'
';
$this->includeAtTemplateBase('includes/footer.php');
--
2.25.1