From 33f5e4283b5087b07106e060a6e76ba36e1e584f Mon Sep 17 00:00:00 2001
From: Meik Sievertsen
Date: Tue, 31 Jul 2007 14:52:09 +0000
Subject: [PATCH] my changes so far...
git-svn-id: file:///svn/phpbb/trunk@7987 89ea8834-ac86-4346-8a33-228a782c2dd0
---
phpBB/docs/CHANGELOG.html | 1 +
phpBB/install/database_update.php | 4 +++-
phpBB/styles/prosilver/template/ucp_pm_viewmessage.html | 4 ++--
phpBB/viewonline.php | 3 ++-
4 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index 98bda631b5..396f01c27c 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -191,6 +191,7 @@ p a {
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 4d8671f5de..aca3b9f1c4 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -974,9 +974,11 @@ if ($exit)
exit;
}
+_write_result(false, $errored, $error_ary);
+
// Schema updates
?>
-
+
diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
index c21d4b0213..2d76586262 100644
--- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
+++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html
@@ -31,8 +31,8 @@
{L_SENT_AT}: {SENT_DATE}
{L_PM_FROM}: {MESSAGE_AUTHOR_FULL}
-
{L_TO}: {to_recipient.NAME_FULL}{to_recipient.NAME}
-
{L_BCC}: {bcc_recipient.NAME_FULL}{bcc_recipient.NAME}
+
{L_TO}: {to_recipient.NAME_FULL}{to_recipient.NAME}
+
{L_BCC}: {bcc_recipient.NAME_FULL}{bcc_recipient.NAME}
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index f25afea1eb..5b4349254f 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -40,7 +40,7 @@ if (!$auth->acl_gets('u_viewprofile', 'a_user', 'a_useradd', 'a_userdel'))
login_box('', $user->lang['LOGIN_EXPLAIN_VIEWONLINE']);
}
-$sort_key_text = array('a' => $user->lang['SORT_USERNAME'], 'b' => $user->lang['SORT_LOCATION'], 'c' => $user->lang['SORT_JOINED']);
+$sort_key_text = array('a' => $user->lang['SORT_USERNAME'], 'b' => $user->lang['SORT_JOINED'], 'c' => $user->lang['SORT_LOCATION']);
$sort_key_sql = array('a' => 'u.username_clean', 'b' => 's.session_time', 'c' => 's.session_page');
// Sorting and order
@@ -92,6 +92,7 @@ $sql = 'SELECT forum_id, forum_name, parent_id, forum_type, left_id, right_id
ORDER BY left_id ASC';
$result = $db->sql_query($sql, 600);
+$forum_data = array();
while ($row = $db->sql_fetchrow($result))
{
$forum_data[$row['forum_id']] = $row;