X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotes.php;h=b5bdbf870f8c2031031620c57a792c9eedb354ec;hb=11397b2f2f7e9c1b2eb956e4ad68bfd6717829bd;hp=1c160a2f2e3120005eb455042e2a291e8d3da062;hpb=b8fa75b2dd70c3bdc7a4ba2f74d40fd290eaf0e8;p=friendica.git
diff --git a/mod/notes.php b/mod/notes.php
index 1c160a2f2e..b5bdbf870f 100644
--- a/mod/notes.php
+++ b/mod/notes.php
@@ -1,6 +1,6 @@
getUserNickname(), false);
+ $o = BaseProfile::getTabsHTML($a, 'notes', true, $a->getLoggedInUserNickname(), false);
if (!$update) {
$o .= '
' . DI::l10n()->t('Personal Notes') . '
';
@@ -57,7 +57,7 @@ function notes_content(App $a, $update = false)
'acl_data' => '',
];
- $o .= status_editor($a, $x, $a->getContactId());
+ $o .= DI::conversation()->statusEditor($x, $a->getContactId());
}
$condition = ['uid' => local_user(), 'post-type' => Item::PT_PERSONAL_NOTE, 'gravity' => GRAVITY_PARENT,
@@ -84,7 +84,7 @@ function notes_content(App $a, $update = false)
$count = count($notes);
- $o .= conversation($a, $notes, 'notes', $update);
+ $o .= DI::conversation()->create($notes, 'notes', $update);
}
$o .= $pager->renderMinimal($count);