give themes more control over events/birthdays and provide them as notifications
This commit is contained in:
parent
8596a275fc
commit
5cad3e114a
4 changed files with 76 additions and 3 deletions
|
|
@ -304,7 +304,7 @@ function profile_content(&$a, $update = 0) {
|
|||
$items = array();
|
||||
}
|
||||
|
||||
if($is_owner && ! $update) {
|
||||
if($is_owner && (! $update) && (! get_config('theme','hide_eventlist'))) {
|
||||
$o .= get_birthdays();
|
||||
$o .= get_events();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue