let actions set a default address for toselector

This commit is contained in:
Evan Prodromou 2011-03-28 16:24:02 -04:00
parent dca5e20b91
commit ec5a43bf4f
1 changed files with 7 additions and 1 deletions

View File

@ -657,7 +657,8 @@ class Action extends HTMLOutputter // lawsuit
if (Event::handle('StartMakeEntryForm', array($tag, $this, &$form))) {
if ($tag == 'status') {
$form = new NoticeForm($this);
$options = $this->noticeFormOptions();
$form = new NoticeForm($this, $options);
}
Event::handle('EndMakeEntryForm', array($tag, $this, $form));
}
@ -673,6 +674,11 @@ class Action extends HTMLOutputter // lawsuit
$this->elementEnd('div');
}
function noticeFormOptions()
{
return array();
}
/**
* Show anonymous message.
*