From 03221998740fac540b09f280aebc85ea6c2ee361 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Mon, 24 Jul 2023 00:12:36 +0700 Subject: [PATCH] Added show password button (#841) --- library/language/source/main.php | 1 + styles/templates/default/login.tpl | 2 +- styles/templates/default/page_footer.tpl | 10 ++++++++++ styles/templates/default/usercp_register.tpl | 2 +- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/library/language/source/main.php b/library/language/source/main.php index 00ad2b93c..106eb91b7 100644 --- a/library/language/source/main.php +++ b/library/language/source/main.php @@ -25,6 +25,7 @@ $lang['POSTS_SHORT'] = 'Posts'; $lang['POSTED'] = 'Posted'; $lang['USERNAME'] = 'Username'; $lang['PASSWORD'] = 'Password'; +$lang['PASSWORD_SHOW_BTN'] = 'Show password'; $lang['EMAIL'] = 'Email'; $lang['PM'] = 'PM'; $lang['AUTHOR'] = 'Author'; diff --git a/styles/templates/default/login.tpl b/styles/templates/default/login.tpl index 52acf22df..0c6143775 100644 --- a/styles/templates/default/login.tpl +++ b/styles/templates/default/login.tpl @@ -26,7 +26,7 @@ {L_PASSWORD}: - +   diff --git a/styles/templates/default/page_footer.tpl b/styles/templates/default/page_footer.tpl index 424294d0f..bc4b510bb 100644 --- a/styles/templates/default/page_footer.tpl +++ b/styles/templates/default/page_footer.tpl @@ -66,6 +66,16 @@ + +