user web: add a hook project_user_links() to user_links() to easily extend user links (very useful for adding project badges).

svn path=/trunk/boinc/; revision=17985
This commit is contained in:
Rytis Slatkevičius 2009-05-03 19:17:20 +00:00
parent 31767f50ca
commit c03815e614
2 changed files with 10 additions and 0 deletions

View File

@ -4270,3 +4270,10 @@ David 1 May 2009
util.cpp,h
sched/
sample_bitwise_validator.cpp
Rytis 3 May 2009
- user web: add a hook project_user_links() to user_links() to easily
extend user links (very useful for adding project badges).
html/inc/
util.inc

View File

@ -503,6 +503,9 @@ function user_links($user) {
require_once("../project/donations.inc");
$x .= DONATION_LINK;
}
if (function_exists("project_user_links")){
$x .= project_user_links($user);
}
return $x;
}