remove <dl> stuff from profile list
This commit is contained in:
parent
4abbf44068
commit
3c4ac05cde
|
@ -200,53 +200,37 @@ class ProfileListItem extends Widget
|
||||||
function showFullName()
|
function showFullName()
|
||||||
{
|
{
|
||||||
if (!empty($this->profile->fullname)) {
|
if (!empty($this->profile->fullname)) {
|
||||||
$this->out->elementStart('dl', 'entity_fn');
|
|
||||||
$this->out->element('dt', null, 'Full name');
|
|
||||||
$this->out->elementStart('dd');
|
|
||||||
$this->out->elementStart('span', 'fn');
|
$this->out->elementStart('span', 'fn');
|
||||||
$this->out->raw($this->highlight($this->profile->fullname));
|
$this->out->raw($this->highlight($this->profile->fullname));
|
||||||
$this->out->elementEnd('span');
|
$this->out->elementEnd('span');
|
||||||
$this->out->elementEnd('dd');
|
|
||||||
$this->out->elementEnd('dl');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function showLocation()
|
function showLocation()
|
||||||
{
|
{
|
||||||
if (!empty($this->profile->location)) {
|
if (!empty($this->profile->location)) {
|
||||||
$this->out->elementStart('dl', 'entity_location');
|
$this->out->elementStart('span', 'location');
|
||||||
$this->out->element('dt', null, _('Location'));
|
|
||||||
$this->out->elementStart('dd', 'label');
|
|
||||||
$this->out->raw($this->highlight($this->profile->location));
|
$this->out->raw($this->highlight($this->profile->location));
|
||||||
$this->out->elementEnd('dd');
|
$this->out->elementEnd('span');
|
||||||
$this->out->elementEnd('dl');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function showHomepage()
|
function showHomepage()
|
||||||
{
|
{
|
||||||
if (!empty($this->profile->homepage)) {
|
if (!empty($this->profile->homepage)) {
|
||||||
$this->out->elementStart('dl', 'entity_url');
|
|
||||||
$this->out->element('dt', null, _('URL'));
|
|
||||||
$this->out->elementStart('dd');
|
|
||||||
$this->out->elementStart('a', array('href' => $this->profile->homepage,
|
$this->out->elementStart('a', array('href' => $this->profile->homepage,
|
||||||
'class' => 'url'));
|
'class' => 'url'));
|
||||||
$this->out->raw($this->highlight($this->profile->homepage));
|
$this->out->raw($this->highlight($this->profile->homepage));
|
||||||
$this->out->elementEnd('a');
|
$this->out->elementEnd('a');
|
||||||
$this->out->elementEnd('dd');
|
|
||||||
$this->out->elementEnd('dl');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function showBio()
|
function showBio()
|
||||||
{
|
{
|
||||||
if (!empty($this->profile->bio)) {
|
if (!empty($this->profile->bio)) {
|
||||||
$this->out->elementStart('dl', 'entity_note');
|
$this->out->elementStart('p', 'note');
|
||||||
$this->out->element('dt', null, _('Note'));
|
|
||||||
$this->out->elementStart('dd', 'note');
|
|
||||||
$this->out->raw($this->highlight($this->profile->bio));
|
$this->out->raw($this->highlight($this->profile->bio));
|
||||||
$this->out->elementEnd('dd');
|
$this->out->elementEnd('p');
|
||||||
$this->out->elementEnd('dl');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user