]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add some more useless HTML
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 26 Jan 2009 16:30:32 +0000 (17:30 +0100)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 26 Jan 2009 16:30:32 +0000 (17:30 +0100)
lib/profilelist.php

index 3bc109fa0d26655b9af0b60b9b74e93e5749a9a5..6e14c0b692fd7d667f6c535df1a30db301df9d58 100644 (file)
@@ -193,9 +193,12 @@ class ProfileList extends Widget
 
         $this->out->elementStart('div', 'entity_actions');
 
+        $this->out->elementStart('ul');
+
         if ($user && $user->id != $this->profile->id) {
             # XXX: special-case for user looking at own
             # subscriptions page
+            $this->out->elementStart('li', 'entity_subscribe');
             if ($user->isSubscribed($this->profile)) {
                 $usf = new UnsubscribeForm($this->out, $this->profile);
                 $usf->show();
@@ -203,11 +206,16 @@ class ProfileList extends Widget
                 $sf = new SubscribeForm($this->out, $this->profile);
                 $sf->show();
             }
+            $this->out->elementEnd('li');
+            $this->out->elementStart('li', 'entity_block');
             if ($user && $user->id == $this->owner->id) {
                 $this->showBlockForm();
             }
+            $this->out->elementEnd('li');
         }
 
+        $this->out->elementEnd('ul');
+
         $this->out->elementEnd('div');
 
         $this->out->elementEnd('li');
@@ -224,4 +232,8 @@ class ProfileList extends Widget
     {
         return htmlspecialchars($text);
     }
+
+    function showBlockForm()
+    {
+    }
 }