X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotes.php;h=ccd30926c8dd0dcd8f63f0e8c51293ba76055dad;hb=756de11cda548eb84c3d67ed10ba9daa1bcd5fb5;hp=fdb12d6cc5a6d0300aabe03671fad0759f69499e;hpb=854cc3e47296d4a1b01b893376064cf254d84f79;p=friendica.git diff --git a/mod/notes.php b/mod/notes.php index fdb12d6cc5..ccd30926c8 100644 --- a/mod/notes.php +++ b/mod/notes.php @@ -1,15 +1,31 @@ . + * */ use Friendica\App; use Friendica\Content\Nav; use Friendica\Content\Pager; -use Friendica\Core\L10n; use Friendica\Database\DBA; +use Friendica\DI; use Friendica\Model\Item; -use Friendica\Model\Profile; +use Friendica\Module\BaseProfile; function notes_init(App $a) { @@ -24,14 +40,14 @@ function notes_init(App $a) function notes_content(App $a, $update = false) { if (!local_user()) { - notice(L10n::t('Permission denied.') . EOL); + notice(DI::l10n()->t('Permission denied.') . EOL); return; } - $o = Profile::getTabs($a, true); + $o = BaseProfile::getTabsHTML($a, 'notes', true); if (!$update) { - $o .= '