give themes more control over events/birthdays and provide them as notifications

This commit is contained in:
friendica
2012-09-18 17:43:09 -07:00
parent 8596a275fc
commit 5cad3e114a
4 changed files with 76 additions and 3 deletions
+1 -1
View File
@@ -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();
}