mirror of
https://github.com/friendica/friendica
synced 2025-04-26 03:50:12 +00:00
Issue 8542: User option to display the event list/birthday notification
This commit is contained in:
parent
5c3227ac4c
commit
b3d7dfb9a5
8 changed files with 181 additions and 168 deletions
|
@ -104,9 +104,9 @@ class Profile extends BaseModule
|
|||
$last_updated_array[$last_updated_key] = time();
|
||||
DI::session()->set('last_updated', $last_updated_array);
|
||||
|
||||
if ($is_owner && !$a->getProfileOwner() && !DI::config()->get('theme', 'hide_eventlist')) {
|
||||
$o .= ProfileModel::getBirthdays();
|
||||
$o .= ProfileModel::getEventsReminderHTML();
|
||||
if ($is_owner && !$a->getProfileOwner() && ProfileModel::displayEventList(DI::userSession()->getLocalUserId(), DI::mode())) {
|
||||
$o .= ProfileModel::getBirthdays(DI::userSession()->getLocalUserId());
|
||||
$o .= ProfileModel::getEventsReminderHTML(DI::userSession()->getLocalUserId(), DI::userSession()->getPublicContactId());
|
||||
}
|
||||
|
||||
if ($is_owner) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue