]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/showstream.php
add w3dtf date to rss 1.0 items
[quix0rs-gnu-social.git] / actions / showstream.php
index b4844aabd4d41c5a180cfbcad1106b2bfd2d8a38..7e887a9d9ec00dd07698b792dc21d7863d8d06f8 100644 (file)
@@ -101,13 +101,14 @@ class ShowstreamAction extends StreamAction {
                                                                                'alt' => $profile->nickname));
                }
                if ($profile->fullname) {
+                       common_element_start('div', 'fullname');
                        if ($profile->homepage) {
-                               common_element('a', array('href' => $profile->homepage,
-                                                                                 'class' => 'fullname'),
+                               common_element('a', array('href' => $profile->homepage),
                                                           $profile->fullname);
                        } else {
-                               common_element('div', 'fullname', $profile->fullname);
+                               common_text($profile->fullname);
                        }
+                       common_element_end('div');
                }
                if ($profile->location) {
                        common_element('div', 'location', $profile->location);