Added @title to user_action inputs and anchor and form legends

This commit is contained in:
sarven
2009-01-21 07:14:43 +00:00
parent 27b627c094
commit 92e2f3babc
6 changed files with 64 additions and 7 deletions

View File

@@ -110,6 +110,17 @@ class UnblockForm extends Form
return common_local_url('unblock');
}
/**
* Legend of the Form
*
* @return void
*/
function formLegend()
{
$this->out->element('legend', null, _('Unblock this user'));
}
/**
* Data elements of the form
*
@@ -136,6 +147,6 @@ class UnblockForm extends Form
function formActions()
{
$this->out->submit('submit', _('Unblock'));
$this->out->submit('submit', _('Unblock'), 'submit', null, _('Unblock this user'));
}
}