summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-26 17:30:32 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-01-26 17:30:32 +0100
commit69e7811d014103463a55c0ea5481c3507b253539 (patch)
tree8b7b155ce8664f428ae34e64eb829b1f0102a76b
parent7953192aa0856483396b39f1b9f802d4f3839347 (diff)
Add some more useless HTML
-rw-r--r--lib/profilelist.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php
index 3bc109fa0..6e14c0b69 100644
--- a/lib/profilelist.php
+++ b/lib/profilelist.php
@@ -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()
+ {
+ }
}