mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 00:45:14 +02:00
The events moved from the profile to the navigation bar - for supported themes
This commit is contained in:
parent
2e8caf7f27
commit
68a6f0298e
8 changed files with 41 additions and 24 deletions
|
@ -179,6 +179,10 @@ function events_content(&$a) {
|
|||
);
|
||||
}
|
||||
|
||||
if ($a->theme_events_in_profile)
|
||||
nav_set_selected('home');
|
||||
else
|
||||
nav_set_selected('events');
|
||||
|
||||
$editselect = 'none';
|
||||
if( feature_enabled(local_user(), 'richtext') )
|
||||
|
@ -249,7 +253,8 @@ function events_content(&$a) {
|
|||
|
||||
$o ="";
|
||||
// tabs
|
||||
$tabs = profile_tabs($a, True);
|
||||
if ($a->theme_events_in_profile)
|
||||
$tabs = profile_tabs($a, True);
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue