mirror of https://github.com/BOINC/boinc.git
- user web:
- in friend request notification, link to user page - in user page, show ID - remove "Account data for " in page title svn path=/trunk/boinc/; revision=23112
This commit is contained in:
parent
fb1b5cd84d
commit
f0ef6140ef
|
@ -1162,3 +1162,15 @@ Charlie 24 Feb 2011
|
|||
boinc.xcodeproj/
|
||||
project.pbxproj
|
||||
|
||||
David 25 Feb 2011
|
||||
- user web:
|
||||
- in friend request notification, link to user page
|
||||
- in user page, show ID
|
||||
- remove "Account data for " in page title
|
||||
|
||||
html/
|
||||
inc/
|
||||
user.inc
|
||||
friend.in
|
||||
user/
|
||||
show_user.php
|
||||
|
|
|
@ -36,7 +36,7 @@ function friend_notify_accept_email_line($notify) {
|
|||
function friend_notify_req_web_line($notify) {
|
||||
$user = BoincUser::lookup_id($notify->opaque);
|
||||
return "
|
||||
<a href=friend.php?action=query&userid=$notify->opaque>Friendship request</a> from $user->name
|
||||
<a href=friend.php?action=query&userid=$notify->opaque>Friendship request</a> from <a href=show_user.php?userid=$user->id>$user->name</a>
|
||||
";
|
||||
}
|
||||
|
||||
|
|
|
@ -311,6 +311,7 @@ function show_community_private($user) {
|
|||
//
|
||||
function show_user_summary_public($user) {
|
||||
global $g_logged_in_user;
|
||||
row2(tra("User ID"), $g_logged_in_user->id);
|
||||
row2(tra("%1 member since", PROJECT), date_str($user->create_time));
|
||||
row2(tra("Country"), $user->country);
|
||||
if (strlen($user->url)) {
|
||||
|
|
|
@ -87,7 +87,7 @@ if ($format=="xml"){
|
|||
|
||||
$logged_in_user = get_logged_in_user(false);
|
||||
|
||||
page_head(tra("Account data for %1", $user->name));
|
||||
page_head($user->name);
|
||||
start_table();
|
||||
echo "<tr><td valign=top>";
|
||||
start_table();
|
||||
|
|
Loading…
Reference in New Issue