From 88bd88b612582ba3dfc8765f359e7195c12d014f Mon Sep 17 00:00:00 2001 From: Suhaib Khan Date: Wed, 22 Jan 2014 12:01:39 +0530 Subject: [PATCH] Adding 'forgot password' link to index page PHPBB3-11950 Signed-off-by: Suhaib Khan --- phpBB/index.php | 1 + phpBB/styles/prosilver/template/index_body.html | 3 +++ phpBB/styles/subsilver2/template/index_body.html | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/phpBB/index.php b/phpBB/index.php index e3cae26779..c363781667 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -173,6 +173,7 @@ $template->assign_vars(array( 'FORUM_UNREAD_LOCKED_IMG' => $user->img('forum_unread_locked', 'UNREAD_POSTS_LOCKED'), 'S_LOGIN_ACTION' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login'), + 'U_SEND_PASSWORD' => ($config['email_enable']) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=sendpassword') : '', 'S_DISPLAY_BIRTHDAY_LIST' => ($config['load_birthdays']) ? true : false, 'U_MARK_FORUMS' => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'hash=' . generate_link_hash('global') . '&mark=forums&mark_time=' . time()) : '', diff --git a/phpBB/styles/prosilver/template/index_body.html b/phpBB/styles/prosilver/template/index_body.html index 58a5420db3..d3ba854182 100644 --- a/phpBB/styles/prosilver/template/index_body.html +++ b/phpBB/styles/prosilver/template/index_body.html @@ -31,6 +31,9 @@