. * * @category Widget * @package GNU Social * @author Max Shinn * @copyright 2011 Free Software Foundation, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 */ require_once INSTALLDIR . '/actions/newnotice.php'; class NewresponseAction extends NewnoticeAction { /** * Same as the parent, but not including the @-whoever in replies * * @return void */ function showNoticeForm() { $content = $this->trimmed('status_textarea'); if (!$content) { $replyto = $this->trimmed('replyto'); $inreplyto = $this->trimmed('inreplyto'); } else { // @fixme most of these bits above aren't being passed on above $inreplyto = null; } $notice_form = new NoticeForm($this, '', $content, null, $inreplyto); $notice_form->show(); } }