mirror of https://github.com/BOINC/boinc.git
- user web: fix "friend" functions
svn path=/trunk/boinc/; revision=23100
This commit is contained in:
parent
b32107a75a
commit
f30812355d
|
@ -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
|
||||
|
|
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue