mirror of https://github.com/BOINC/boinc.git
- user web: tweak PM-related text
svn path=/trunk/boinc/; revision=14259
This commit is contained in:
parent
9b631ce48f
commit
e5c3b749c4
|
@ -11345,4 +11345,13 @@ Rom 19 Nov 2007
|
|||
|
||||
clientgui/
|
||||
BOINCTaskBar.cpp
|
||||
|
||||
|
||||
David 19 Nov 2007
|
||||
- user web: tweak PM-related text
|
||||
|
||||
html/
|
||||
inc/
|
||||
pm.inc
|
||||
forum.inc
|
||||
user/
|
||||
white.css
|
||||
|
|
|
@ -109,7 +109,7 @@ function show_forum_header($user) {
|
|||
|
||||
if ($user) {
|
||||
echo "<td align=\"right\">\n";
|
||||
echo "<p>", pm_notification($user);
|
||||
echo "<p>Private messages: ", pm_notification($user);
|
||||
echo "</td>\n";
|
||||
}
|
||||
echo "</tr>\n";
|
||||
|
|
|
@ -115,8 +115,11 @@ function pm_notification($user) {
|
|||
$output = "";
|
||||
$unread = BoincPrivateMessage::count("userid=$user->id AND opened=0");
|
||||
|
||||
$output .= "<a href=\"pm.php?action=inbox\">".tra("Inbox")."</a> ($unread ".tra("unread").")\n";
|
||||
$output .= "| <a href=\"pm.php?action=new\">".tra("Write")."</a>\n";
|
||||
$output .= "<a href=\"pm.php?action=inbox\">".tra("Inbox")."</a>";
|
||||
if ($unread) {
|
||||
$output .= "<span class=\"inboxunread\"> ($unread ".tra("unread").")</span>\n";
|
||||
}
|
||||
$output .= " | <a href=\"pm.php?action=new\">".tra("Write")."</a>\n";
|
||||
return $output;
|
||||
}
|
||||
|
||||
|
|
|
@ -254,6 +254,10 @@ span.news_date {
|
|||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
span.inboxunread {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.code {
|
||||
font-family: "Consolas", "Courier New", courier, monospace;
|
||||
display: block;
|
||||
|
|
Loading…
Reference in New Issue