mirror of
https://github.com/friendica/friendica
synced 2025-04-21 01:50:17 +00:00
The conversation functionality moved to a class
This commit is contained in:
parent
c9e30ac2c0
commit
0ad904c185
24 changed files with 1545 additions and 1494 deletions
|
@ -38,7 +38,6 @@ class Bookmarklet extends BaseModule
|
|||
{
|
||||
$_GET['mode'] = 'minimal';
|
||||
|
||||
$app = DI::app();
|
||||
$config = DI::config();
|
||||
|
||||
if (!local_user()) {
|
||||
|
@ -61,7 +60,7 @@ class Bookmarklet extends BaseModule
|
|||
'title' => trim($_REQUEST['title'] ?? '', '*'),
|
||||
'content' => $content
|
||||
];
|
||||
$output = status_editor($app, $x, 0, false);
|
||||
$output = DI::conversation()->statusEditor($x, 0, false);
|
||||
$output .= "<script>window.resizeTo(800,550);</script>";
|
||||
} else {
|
||||
$output = '<h2>' . DI::l10n()->t('The post was created') . '</h2>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue