* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
-
class NewnoticeAction extends Action
{
/**
* Error message, if any
*/
-
var $msg = null;
/**
*
* @return string page title
*/
-
function title()
{
// TRANS: Page title for sending a new notice.
*
* @return void
*/
-
function saveNewNotice()
{
$user = common_current_user();
*
* @return void
*/
-
function ajaxErrorMsg($msg)
{
$this->startHTML('text/xml;charset=utf-8', true);
*
* @return void
*/
-
function ajaxShowForm()
{
$this->startHTML('text/xml;charset=utf-8', true);
*
* @return void
*/
-
function showForm($msg=null)
{
if ($this->boolean('ajax')) {
*
* @return void
*/
-
function showNoticeForm()
{
$content = $this->trimmed('status_textarea');
*
* @todo maybe show some instructions?
*/
-
function showPageNotice()
{
if ($this->msg) {
*
* @return void
*/
-
function showNotice($notice)
{
$nli = new NoticeListItem($notice, $this);