forked from GNUsocial/gnu-social
Added @title to user_action inputs and anchor and form legends
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user