X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fnewnotice.php;h=0aafcd41c6f2dc623497d59cbc212d0ee1a04132;hb=5eb6c0d73132a4fb408aca8ce88e4f75e1e79997;hp=a8a5fa932fd0305e652343ce1bd3cbe273847a79;hpb=57198a74647f8350db4de03b0b7ef157091a4359;p=quix0rs-gnu-social.git diff --git a/actions/newnotice.php b/actions/newnotice.php index a8a5fa932f..0aafcd41c6 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -331,6 +331,8 @@ class NewnoticeAction extends Action } /** + * // XXX: Should we be showing the notice form with microapps here? + * * Overload for replies or bad results * * We show content in the notice form if there were replies or results. @@ -352,10 +354,27 @@ class NewnoticeAction extends Action $inreplyto = null; } - $notice_form = new NoticeForm($this, array('content' => $content, - 'inreplyto' => $inreplyto)); + $this->elementStart('div', 'input_forms'); + $this->elementStart( + 'div', + array( + 'id' => 'input_form_status', + 'class' => 'input_form current nonav' + ) + ); + + $notice_form = new NoticeForm( + $this, + array( + 'content' => $content, + 'inreplyto' => $inreplyto + ) + ); $notice_form->show(); + + $this->elementEnd('div'); + $this->elementEnd('div'); } /**