X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotes.php;h=ccd30926c8dd0dcd8f63f0e8c51293ba76055dad;hb=756de11cda548eb84c3d67ed10ba9daa1bcd5fb5;hp=1f67e486d6a6d06ab98bddb4116dd70874575611;hpb=bd0c53673682d88b49c8eaf027e7ef5ad98ac311;p=friendica.git diff --git a/mod/notes.php b/mod/notes.php index 1f67e486d6..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, 'notes', true); + $o = BaseProfile::getTabsHTML($a, 'notes', true); if (!$update) { - $o .= '