X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fnewnotice.php;h=0aafcd41c6f2dc623497d59cbc212d0ee1a04132;hb=0bd26ed3f07e349129e6e72576f081f493779a78;hp=a8a5fa932fd0305e652343ce1bd3cbe273847a79;hpb=2dbdb0f185cb9b98097ce2f20bbd9430ab715203;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'); } /**