]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
showPageTitle() and showPageNoticeBlock()
authorsarven <csarven@plantard.controlezvous.ca>
Mon, 19 Jan 2009 23:19:05 +0000 (23:19 +0000)
committersarven <csarven@plantard.controlezvous.ca>
Mon, 19 Jan 2009 23:19:05 +0000 (23:19 +0000)
and using url on nickname instead of fullname

actions/showstream.php

index 60270cfd7cb1514af2ca20f9f0f0dc879eeca8c7..39c74f0ee614b3b0a0ad081e5da76cc65bb73896 100644 (file)
@@ -132,7 +132,12 @@ class ShowstreamAction extends Action
 
     function showPageTitle()
     {
-        // Don't show the H1; we have one in the profile block
+         $this->element('h1', NULL, $this->profile->nickname._("'s profile"));
+    }
+
+    function showPageNoticeBlock()
+    {
+        return;
     }
 
     function showExportData()
@@ -238,17 +243,16 @@ class ShowstreamAction extends Action
             $this->elementStart('dl', 'user_fn');
             $this->element('dt', null, _('Full name'));
             $this->elementStart('dd');
-            $this->element('a', array('href' => $this->profile->homepage,
-                                      'rel' => 'me', 'class' => 'fn url uid'),
-                           $this->profile->fullname);
+            $this->element('span', 'fn', $this->profile->fullname);
             $this->elementEnd('dd');
             $this->elementEnd('dl');
         }
-
         $this->elementStart('dl', 'user_nickname');
         $this->element('dt', null, _('Nickname'));
         $this->elementStart('dd');
-        $this->element('span', 'fn nickname', $this->profile->nickname);
+            $this->element('a', array('href' => $this->profile->profileurl,
+                                      'rel' => 'me', 'class' => 'fn nickname url uid'),
+                           $this->profile->nickname);
         $this->elementEnd('dd');
         $this->elementEnd('dl');