Fixes minor remote subscription profile layout
This commit is contained in:
parent
28d02308d3
commit
48782ee1d9
|
@ -127,10 +127,10 @@ class UserauthorizationAction extends Action
|
||||||
$location = $params->getLocation();
|
$location = $params->getLocation();
|
||||||
$avatar = $params->getAvatarURL();
|
$avatar = $params->getAvatarURL();
|
||||||
|
|
||||||
$this->elementStart('div', array('class' => 'profile'));
|
|
||||||
$this->elementStart('div', 'entity_profile vcard');
|
$this->elementStart('div', 'entity_profile vcard');
|
||||||
$this->elementStart('a', array('href' => $profile,
|
$this->elementStart('dl', 'entity_depiction');
|
||||||
'class' => 'url'));
|
$this->element('dt', null, _('Photo'));
|
||||||
|
$this->elementStart('dd');
|
||||||
if ($avatar) {
|
if ($avatar) {
|
||||||
$this->element('img', array('src' => $avatar,
|
$this->element('img', array('src' => $avatar,
|
||||||
'class' => 'photo avatar',
|
'class' => 'photo avatar',
|
||||||
|
@ -138,11 +138,19 @@ class UserauthorizationAction extends Action
|
||||||
'height' => AVATAR_PROFILE_SIZE,
|
'height' => AVATAR_PROFILE_SIZE,
|
||||||
'alt' => $nickname));
|
'alt' => $nickname));
|
||||||
}
|
}
|
||||||
|
$this->elementEnd('dd');
|
||||||
|
$this->elementEnd('dl');
|
||||||
|
|
||||||
|
$this->elementStart('dl', 'entity_nickname');
|
||||||
|
$this->element('dt', null, _('Nickname'));
|
||||||
|
$this->elementStart('dd');
|
||||||
$hasFN = ($fullname !== '') ? 'nickname' : 'fn nickname';
|
$hasFN = ($fullname !== '') ? 'nickname' : 'fn nickname';
|
||||||
$this->elementStart('span', $hasFN);
|
$this->elementStart('a', array('href' => $profile,
|
||||||
|
'class' => 'url '.$hasFN));
|
||||||
$this->raw($nickname);
|
$this->raw($nickname);
|
||||||
$this->elementEnd('span');
|
|
||||||
$this->elementEnd('a');
|
$this->elementEnd('a');
|
||||||
|
$this->elementEnd('dd');
|
||||||
|
$this->elementEnd('dl');
|
||||||
|
|
||||||
if (!is_null($fullname)) {
|
if (!is_null($fullname)) {
|
||||||
$this->elementStart('dl', 'entity_fn');
|
$this->elementStart('dl', 'entity_fn');
|
||||||
|
@ -214,7 +222,6 @@ class UserauthorizationAction extends Action
|
||||||
$this->elementEnd('li');
|
$this->elementEnd('li');
|
||||||
$this->elementEnd('ul');
|
$this->elementEnd('ul');
|
||||||
$this->elementEnd('div');
|
$this->elementEnd('div');
|
||||||
$this->elementEnd('div');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function sendAuthorization()
|
function sendAuthorization()
|
||||||
|
@ -350,4 +357,4 @@ class UserauthorizationAction extends Action
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user