summaryrefslogtreecommitdiff
path: root/lib/profilelist.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-26 17:14:08 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-01-26 17:14:08 +0100
commit91e63866fb150ccac547609024de7456e984df62 (patch)
tree136858c26e0a157270f9d889daf4f5ee7b848122 /lib/profilelist.php
parent8d95151f7a9d23fdd507c6b8a526e827b0f59d20 (diff)
move block form
Diffstat (limited to 'lib/profilelist.php')
-rw-r--r--lib/profilelist.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php
index 499d74f7b..3bc109fa0 100644
--- a/lib/profilelist.php
+++ b/lib/profilelist.php
@@ -191,6 +191,8 @@ class ProfileList extends Widget
$this->out->elementEnd('div');
+ $this->out->elementStart('div', 'entity_actions');
+
if ($user && $user->id != $this->profile->id) {
# XXX: special-case for user looking at own
# subscriptions page
@@ -201,8 +203,13 @@ class ProfileList extends Widget
$sf = new SubscribeForm($this->out, $this->profile);
$sf->show();
}
+ if ($user && $user->id == $this->owner->id) {
+ $this->showBlockForm();
+ }
}
+ $this->out->elementEnd('div');
+
$this->out->elementEnd('li');
}