' - .' Lost or forgotten password?' - .'
' - .'Login with your username and password. Don\'t have a username yet?' - .' Register a new account.' - .'
' - .'' - .' Lost or forgotten password?' - .'
' - .'' . $notice->rendered . '
' - .'' - .'' . common_date_string($notice->created) . ''; + $inter = new CommandInterpreter(); + + $cmd = $inter->handle_command($user, $content_shortened); - if ($notice->source) { - $html .= _(' from '); - $html .= $this->source_link($notice->source); + if ($cmd) { + + // XXX fix this + + $cmd->execute(new WebChannel()); + return; } - if ($notice->reply_to) { - $replyurl = common_local_url('shownotice', array('notice' => $notice->reply_to)); - $html .= - ' (' . _('in reply to...') . ')'; + $replyto = $this->trimmed('inreplyto'); + + $notice = Notice::saveNew($user->id, $content, + 'Facebook', 1, ($replyto == 'false') ? null : $replyto); + + if (is_string($notice)) { + $this->showPage($notice); + return; } - $html .= '