$this->elementStart('dl', 'user_nickname');
$this->element('dt', null, _('Nickname'));
$this->elementStart('dd');
- $this->element('a', array('href' => $this->profile->profileurl,
- 'rel' => 'me', 'class' => 'nickname url uid'),
- $this->profile->nickname);
+ $hasFN = ($this->profile->fullname) ? 'nickname url uid' : 'fn nickname url uid';
+ $this->element('a', array('href' => $this->profile->profileurl,
+ 'rel' => 'me', 'class' => $hasFN),
+ $this->profile->nickname);
$this->elementEnd('dd');
$this->elementEnd('dl');
function showProfile()
{
- $this->out->elementStart('li', array('class' => 'profile vcard',
+ $this->out->elementStart('li', array('class' => 'profile',
'id' => 'profile-' . $this->profile->id));
$user = common_current_user();