theme infos are now bundled in a single array
This commit is contained in:
parent
0551648399
commit
c52b8595e8
9 changed files with 22 additions and 21 deletions
|
@ -255,7 +255,7 @@ function events_content(App $a)
|
|||
);
|
||||
}
|
||||
|
||||
if ($a->theme_events_in_profile) {
|
||||
if ($a->theme_info['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_events_in_profile) {
|
||||
if ($a->theme_info['events_in_profile']) {
|
||||
$tabs = BaseProfile::getTabsHTML($a, 'events', true, $a->user);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue