[XML/HTML Outputter] General improvements and refactoring as well as some bug fixes

This commit is contained in:
Diogo Cordeiro
2019-05-06 23:58:45 +01:00
parent c03ed457a6
commit 1536d3ef29
20 changed files with 1651 additions and 1567 deletions

View File

@@ -137,8 +137,8 @@ class OpenidloginAction extends Action
$appendUsername = common_config('openid', 'append_username');
if ($provider) {
// TRANS: Field label.
$this->element('label', array(), _m('LABEL','OpenID provider'));
$this->element('span', array(), $provider);
$this->element('label', [], _m('LABEL','OpenID provider'));
$this->element('span', [], $provider);
if ($appendUsername) {
$this->element('input', array('id' => 'openid_username',
'name' => 'openid_username',