forked from GNUsocial/gnu-social
Added @title to input submit (reusing $label value until we really
need to make it custom)
This commit is contained in:
parent
e93807d0e4
commit
5a81b6d04e
@ -111,7 +111,7 @@ class FavorForm extends Form
|
||||
*/
|
||||
function formLegend()
|
||||
{
|
||||
$this->out->element('legend', null, _('Delete this notice'));
|
||||
$this->out->element('legend', null, _('Favor this notice'));
|
||||
}
|
||||
|
||||
|
||||
@ -137,7 +137,7 @@ class FavorForm extends Form
|
||||
function formActions()
|
||||
{
|
||||
$this->out->submit('favor-submit-' . $this->notice->id,
|
||||
_('Favorite'));
|
||||
_('Favor this notice'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -319,7 +319,8 @@ class HTMLOutputter extends XMLOutputter
|
||||
'id' => $id,
|
||||
'name' => ($name) ? $name : $id,
|
||||
'class' => $cls,
|
||||
'value' => $label));
|
||||
'value' => $label,
|
||||
'title' => $label));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -442,7 +442,7 @@ class NoticeListItem extends Widget
|
||||
$this->out->element('dt', null, _('Reply to this notice'));
|
||||
$this->out->elementStart('dd');
|
||||
$this->out->element('a', array('href' => $reply_url,
|
||||
'title' => _('reply')), _('Reply'));
|
||||
'title' => _('Reply to this notice')), _('Reply'));
|
||||
$this->out->elementEnd('dd');
|
||||
$this->out->elementEnd('dl');
|
||||
}
|
||||
@ -463,7 +463,7 @@ class NoticeListItem extends Widget
|
||||
$this->out->element('dt', null, _('Delete this notice'));
|
||||
$this->out->elementStart('dd');
|
||||
$this->out->element('a', array('href' => $deleteurl,
|
||||
'title' => _('delete')), _('Delete'));
|
||||
'title' => _('Delete this notice')), _('Delete'));
|
||||
$this->out->elementEnd('dd');
|
||||
$this->out->elementEnd('dl');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user