- user web: fix "friend" functions

svn path=/trunk/boinc/; revision=23100
This commit is contained in:
David Anderson 2011-02-24 20:55:12 +00:00
parent b32107a75a
commit f30812355d
2 changed files with 10 additions and 2 deletions

View File

@ -1119,3 +1119,9 @@ David 24 Feb 2011
cpu_sched.cpp
html/user/
host_delete.cpp
David 24 Feb 2011
- user web: fix "friend" functions
html/user/
friend.php

View File

@ -219,8 +219,10 @@ function handle_cancel_confirm($user) {
$destuser = BoincUser::lookup_id($destid);
if (!$destuser) error_page(tra("No such user"));
page_head(tra("Cancel friendship?"));
echo tra("Are you sure you want to cancel your friendship with %1?",$destuser->name) ."
<p>
echo
tra("Are you sure you want to cancel your friendship with %1?",
$destuser->name
) ."<p>\n"
;
show_button("friend.php?action=cancel&userid=$destid", tra("Yes"), tra("Cancel friendship"));
show_button("home.php", tra("No"), tra("Stay friends"));