mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:50:10 +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
|
@ -231,9 +231,9 @@ class Network extends Timeline
|
|||
} else {
|
||||
$this->systemMessages->addNotice($this->l10n->t('Invalid contact.'));
|
||||
}
|
||||
} elseif (!$this->config->get('theme', 'hide_eventlist')) {
|
||||
$o .= Profile::getBirthdays();
|
||||
$o .= Profile::getEventsReminderHTML();
|
||||
} elseif (Profile::displayEventList($this->session->getLocalUserId(), $this->mode)) {
|
||||
$o .= Profile::getBirthdays($this->session->getLocalUserId());
|
||||
$o .= Profile::getEventsReminderHTML($this->session->getLocalUserId(), $this->session->getPublicContactId());
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue