mirror of https://github.com/BOINC/boinc.git
- user web: show date/time on friend request page
svn path=/trunk/boinc/; revision=23131
This commit is contained in:
parent
b51aee4cdf
commit
a191566a6a
|
@ -1227,3 +1227,9 @@ David 28 Feb 2011
|
|||
forum_thread_status.php
|
||||
client/
|
||||
boinc_cmd.cpp
|
||||
|
||||
David 2 Mar 2011
|
||||
- user web: show date/time on friend request page
|
||||
|
||||
html/user/
|
||||
friend.php
|
||||
|
|
|
@ -126,8 +126,9 @@ function handle_query($user) {
|
|||
$friend = BoincFriend::lookup($srcid, $user->id);
|
||||
if (!$friend) error_page(tra("Request not found"));
|
||||
page_head(tra("Friend request"));
|
||||
echo time_str($friend->create_time)."<p>\n";
|
||||
$x = user_links($srcuser, true);
|
||||
echo tra("%1 has added you as a friend.", $x);
|
||||
echo tra("%1 has requested friendship with you.", $x);
|
||||
if (strlen($friend->message)) {
|
||||
echo "<p>".tra("%1 says: %2", $srcuser->name, $friend->message)."</p>";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue