X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fprofilesection.php;h=3642ae164a4fd946cb4bdfba615b58af612ab695;hb=3af566d1ecb5793324f7395ebec254848c47df09;hp=14068b08270df6edeeda7a771c015081a6584d9e;hpb=9e9b8349a2d32ae664a5b000ef34a7bb13a039f5;p=quix0rs-gnu-social.git diff --git a/lib/profilesection.php b/lib/profilesection.php index 14068b0827..3642ae164a 100644 --- a/lib/profilesection.php +++ b/lib/profilesection.php @@ -58,13 +58,13 @@ class ProfileSection extends Section $cnt = 0; - $this->out->elementStart('ul', 'entities users xoxo'); - + $this->out->elementStart('table'); + $this->out->elementStart('tbody'); while ($profiles->fetch() && ++$cnt <= PROFILES_PER_SECTION) { $this->showProfile($profiles); } - - $this->out->elementEnd('ul'); + $this->out->elementEnd('tbody'); + $this->out->elementEnd('table'); return ($cnt > PROFILES_PER_SECTION); } @@ -76,7 +76,9 @@ class ProfileSection extends Section function showProfile($profile) { - $this->out->elementStart('li', 'vcard'); + $this->out->elementStart('tr'); + $this->out->elementStart('td'); + $this->out->elementStart('span', 'vcard'); $this->out->elementStart('a', array('title' => ($profile->fullname) ? $profile->fullname : $profile->nickname, @@ -92,10 +94,13 @@ class ProfileSection extends Section $profile->fullname : $profile->nickname)); $this->out->element('span', 'fn nickname', $profile->nickname); + $this->out->elementEnd('span'); $this->out->elementEnd('a'); + $this->out->elementEnd('td'); if ($profile->value) { - $this->out->element('span', 'value', $profile->value); + $this->out->element('td', 'value', $profile->value); } - $this->out->elementEnd('li'); + + $this->out->elementEnd('tr'); } }