Getter/Setter for theme info

This commit is contained in:
Michael 2021-07-25 19:39:10 +00:00
commit 5a87ccf026
13 changed files with 57 additions and 28 deletions

View file

@ -255,7 +255,7 @@ function events_content(App $a)
);
}
if ($a->theme_info['events_in_profile']) {
if ($a->getThemeInfoValue('events_in_profile')) {
Nav::setSelected('home');
} else {
Nav::setSelected('events');
@ -279,7 +279,7 @@ function events_content(App $a)
$o = '';
$tabs = '';
// tabs
if ($a->theme_info['events_in_profile']) {
if ($a->getThemeInfoValue('events_in_profile')) {
$tabs = BaseProfile::getTabsHTML($a, 'events', true, $a->user);
}