aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xphpBB/language/lang_english.php3
-rw-r--r--phpBB/viewonline.php8
2 files changed, 6 insertions, 5 deletions
diff --git a/phpBB/language/lang_english.php b/phpBB/language/lang_english.php
index 2811b1ba3e..3248628f91 100755
--- a/phpBB/language/lang_english.php
+++ b/phpBB/language/lang_english.php
@@ -457,7 +457,8 @@ $lang['Location'] = "Location";
$lang['Last_updated'] = "Last Updated";
$lang['Forum_index'] = "Forum index";
-$lang['Loggin_on'] = "Logging on";
+$lang['Logging_on'] = "Logging on";
+$lang['Posting_message'] = "Posting a message";
$lang['Searching_forums'] = "Searching forums";
$lang['Viewing_profile'] = "Viewing profile";
$lang['Viewing_online'] = "Viewing who is online";
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index 26949269e8..0c05dce74d 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -70,7 +70,7 @@ if(!$result = $db->sql_query($sql))
$onlinerow = $db->sql_fetchrowset($result);
$sql = "SELECT forum_name, forum_id
- FROM ".FORUMS_TABLE;
+ FROM " . FORUMS_TABLE;
if($forums_result = $db->sql_query($sql))
{
while($forumsrow = $db->sql_fetchrow($forums_result))
@@ -162,11 +162,11 @@ if($online_count)
$location_url = "index.$phpEx";
break;
case PAGE_POSTING:
- $location = "";
- $location_url = "";
+ $location = $lang['Posting_message']"";
+ $location_url = "index.$phpEx";
break;
case PAGE_LOGIN:
- $location = $lang['Loggin_on'];
+ $location = $lang['Logging_on'];
$location_url = "index.$phpEx";
break;
case PAGE_SEARCH: