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
@@ -471,7 +471,7 @@ function network_content(&$a, $update = 0) {
}
}
if((! $group) && (! $cid) && (! $update)) {
if((! $group) && (! $cid) && (! $update) && (! get_config('theme','hide_eventlist'))) {
$o .= get_birthdays();
$o .= get_events();
}