]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
better formatting in profile
authorEvan Prodromou <evan@prodromou.name>
Wed, 21 May 2008 13:48:49 +0000 (09:48 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 21 May 2008 13:48:49 +0000 (09:48 -0400)
darcs-hash:20080521134849-84dde-7201729e692bccfc9649fb30a1d21a47a5eb4259.gz

actions/showstream.php
doc/TODO

index 30930de25a64351ce052b62f6cd192f12bbe06ed..b4844aabd4d41c5a180cfbcad1106b2bfd2d8a38 100644 (file)
@@ -92,8 +92,6 @@ class ShowstreamAction extends StreamAction {
        function show_profile($profile) {
                common_element_start('div', 'profile');
 
-               common_element('h2', 'nickname', $profile->nickname);
-
                $avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);
                if ($avatar) {
                        common_element('img', array('src' => $avatar->url,
@@ -108,11 +106,11 @@ class ShowstreamAction extends StreamAction {
                                                                                  'class' => 'fullname'),
                                                           $profile->fullname);
                        } else {
-                               common_element('span', 'fullname', $profile->fullname);
+                               common_element('div', 'fullname', $profile->fullname);
                        }
                }
                if ($profile->location) {
-                       common_element('span', 'location', $profile->location);
+                       common_element('div', 'location', $profile->location);
                }
                if ($profile->bio) {
                        common_element('div', 'bio', $profile->bio);
index 8691b50729b17e6d531e8d8ca4da8bf74f7178fa..50b361bed1bd7d97fcddbbf99b5c4131d94034d6 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
 - form token in login to prevent XSS
 - release 1.0
 - Atom Publishing Protocol
+- "Universal" public feed
\ No newline at end of file