From b1f6fe7537bbffc8b8f3dd92da7a26629bdedf39 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 1 Jul 2001 15:36:55 +0000 Subject: [PATCH] Updates to viewonline location output git-svn-id: file:///svn/phpbb/trunk@533 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/language/lang_english.php | 4 +--- phpBB/viewonline.php | 12 ++---------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/phpBB/language/lang_english.php b/phpBB/language/lang_english.php index 92287fb171..9341edfd8a 100755 --- a/phpBB/language/lang_english.php +++ b/phpBB/language/lang_english.php @@ -300,9 +300,7 @@ $lang['Last_updated'] = "Last Updated"; $lang['Forum_index'] = "Forum index"; $lang['Loggin_on'] = "Logging on"; $lang['Searching_forums'] = "Searching forums"; -$lang['Registering'] = "Registering"; -$lang['Viewing_profiles'] = "Viewing profiles"; -$lang['Altering_profile'] = "Altering profile"; +$lang['Viewing_profile'] = "Viewing profile"; $lang['Viewing_online'] = "Viewing who is online"; $lang['Viewing_member_list'] = "Viewing member list"; $lang['Viewing_priv_msgs'] = "Viewing Private Messages"; diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php index b8b26eefa1..2d3ef9f54f 100644 --- a/phpBB/viewonline.php +++ b/phpBB/viewonline.php @@ -173,16 +173,8 @@ if($online_count) $location = $lang['Searching_forums']; $location_url = "search.$phpEx"; break; - case PAGE_REGISTER: - $location = $lang['Registering']; - $location_url = "index.$phpEx"; - break; - case PAGE_VIEWPROFILE: - $location = $lang['Viewing_profiles']; - $location_url = "index.$phpEx"; - break; - case PAGE_ALTERPROFILE: - $location = $lang['Altering_profile']; + case PAGE_PROFILE: + $location = $lang['Viewing_profile']; $location_url = "index.$phpEx"; break; case PAGE_VIEWONLINE: