mirror of https://github.com/BOINC/boinc.git
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:
parent
31767f50ca
commit
c03815e614
|
@ -4270,3 +4270,10 @@ David 1 May 2009
|
||||||
util.cpp,h
|
util.cpp,h
|
||||||
sched/
|
sched/
|
||||||
sample_bitwise_validator.cpp
|
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
|
||||||
|
|
|
@ -503,6 +503,9 @@ function user_links($user) {
|
||||||
require_once("../project/donations.inc");
|
require_once("../project/donations.inc");
|
||||||
$x .= DONATION_LINK;
|
$x .= DONATION_LINK;
|
||||||
}
|
}
|
||||||
|
if (function_exists("project_user_links")){
|
||||||
|
$x .= project_user_links($user);
|
||||||
|
}
|
||||||
return $x;
|
return $x;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue