X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fevents.php;h=6c5c274ea3c8e0c65eb3d8014812683c416734e9;hb=0e05ff68686270d87447c570e28543a5bcc7e755;hp=f92a01cf606d552cc367ae24469463d9351e776c;hpb=5dfee31108fc92a7abca5f99b8fdf1b34aec5dd5;p=friendica.git diff --git a/mod/events.php b/mod/events.php index f92a01cf60..6c5c274ea3 100644 --- a/mod/events.php +++ b/mod/events.php @@ -1,6 +1,22 @@ . + * * The events module */ @@ -8,7 +24,6 @@ use Friendica\App; use Friendica\Content\Nav; use Friendica\Content\Widget\CalendarExport; use Friendica\Core\ACL; -use Friendica\Core\L10n; use Friendica\Core\Logger; use Friendica\Core\Renderer; use Friendica\Core\Theme; @@ -17,8 +32,8 @@ use Friendica\Database\DBA; use Friendica\DI; use Friendica\Model\Event; use Friendica\Model\Item; -use Friendica\Model\Profile; use Friendica\Model\User; +use Friendica\Module\BaseProfile; use Friendica\Module\Security\Login; use Friendica\Util\DateTimeFormat; use Friendica\Util\Strings; @@ -252,7 +267,7 @@ function events_content(App $a) $tabs = ''; // tabs if ($a->theme_events_in_profile) { - $tabs = Profile::getTabs($a, 'events', true); + $tabs = BaseProfile::getTabsHTML($a, 'events', true); } $mode = 'view';