Using nickname only for uid

This commit is contained in:
sarven 2009-01-20 05:58:35 +00:00
parent 27308afe85
commit 96dc058bfa
2 changed files with 19 additions and 15 deletions

View File

@ -239,6 +239,15 @@ class ShowstreamAction extends Action
$this->elementEnd('dd');
$this->elementEnd('dl');
$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);
$this->elementEnd('dd');
$this->elementEnd('dl');
if ($this->profile->fullname) {
$this->elementStart('dl', 'user_fn');
$this->element('dt', null, _('Full name'));
@ -247,14 +256,6 @@ class ShowstreamAction extends Action
$this->elementEnd('dd');
$this->elementEnd('dl');
}
$this->elementStart('dl', 'user_nickname');
$this->element('dt', null, _('Nickname'));
$this->elementStart('dd');
$this->element('a', array('href' => $this->profile->profileurl,
'rel' => 'me', 'class' => 'fn nickname url uid'),
$this->profile->nickname);
$this->elementEnd('dd');
$this->elementEnd('dl');
if ($this->profile->location) {
$this->elementStart('dl', 'user_location');

View File

@ -489,7 +489,7 @@ margin-bottom:0;
/* user_profile */
#user_profile {
position:relative;
width:633px;
width:475px;
min-height:123px;
float:left;
margin-bottom:17px;
@ -514,7 +514,7 @@ width:96px;
#user_profile .user_tags {
float:left;
clear:left;
margin-left:125px;
margin-left:113px;
width:322px;
margin-bottom:4px;
}
@ -524,21 +524,24 @@ margin-bottom:4px;
width:auto;
clear:none;
}
#user_profile .user_nickname {
#user_profile .user_fn {
margin-left:11px;
margin-left:4px;
margin-right:4px;
font-weight:bold;
}
#user_profile .user_nickname .nickname {
font-style:italic;
font-weight:bold;
margin-left:4px;
margin-right:4px;
}
#user_profile .user_nickname dd:before {
#user_profile .user_fn dd:before {
content: "(";
font-weight:normal;
}
#user_profile .user_nickname dd:after {
#user_profile .user_fn dd:after {
content: ")";
font-weight:normal;
}
#user_profile dt {