From 28a5f1e897e95d1d029c8a93993b48c397faa1a6 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 18 Nov 2007 21:22:11 +0000 Subject: [PATCH] - user web: init DB in banishment vote page svn path=/trunk/boinc/; revision=14250 --- checkin_notes | 6 ++++++ html/inc/forum_banishment_vote.inc | 6 ++++++ html/inc/pm.inc | 2 +- html/languages/translations/en.po | 2 ++ 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 65505967ee..c3f16d1621 100644 --- a/checkin_notes +++ b/checkin_notes @@ -11256,3 +11256,9 @@ David 18 Nov 2007 pm.inc languages/translations/ en.po + +David 18 Nov 2007 + - user web: init DB in banishment vote page + + html/inc/ + forum_banishment_vote.inc diff --git a/html/inc/forum_banishment_vote.inc b/html/inc/forum_banishment_vote.inc index 6427b73332..fe8ae6f293 100644 --- a/html/inc/forum_banishment_vote.inc +++ b/html/inc/forum_banishment_vote.inc @@ -1,5 +1,10 @@ "; + echo "query: $query"; return -1; } $foobar = mysql_fetch_object($result); diff --git a/html/inc/pm.inc b/html/inc/pm.inc index 6e0db3436e..220cd70b4c 100644 --- a/html/inc/pm.inc +++ b/html/inc/pm.inc @@ -115,7 +115,7 @@ function pm_notification($user) { $output = ""; $unread = BoincPrivateMessage::count("userid=$user->id AND opened=0"); - $output .= "Private messages: ".tra("Inbox")." ($unread unread)\n"; + $output .= "".tra("Inbox")." ($unread ".tra("unread").")\n"; $output .= "| ".tra("Write")."\n"; return $output; } diff --git a/html/languages/translations/en.po b/html/languages/translations/en.po index 57abaf15bd..a0c692daf4 100644 --- a/html/languages/translations/en.po +++ b/html/languages/translations/en.po @@ -547,3 +547,5 @@ msgstr "" msgid "Used in URLs" msgstr "" +msgid "unread" +msgstr ""