summaryrefslogtreecommitdiff
path: root/actions/facebookinvite.php
diff options
context:
space:
mode:
authorSean Murphy <sgmurphy@gmail.com>2009-02-07 11:02:10 -0500
committerSean Murphy <sgmurphy@gmail.com>2009-02-07 11:02:10 -0500
commita3d5e00f64b3c166e34a8d36fcb4f5b757394e9b (patch)
tree91576e428997bc6cc826fa2cead37794961de23c /actions/facebookinvite.php
parentd90089314944ed1696f66cabbb6935ea61e4b2e6 (diff)
parent08db50b24eaf9e6e5f651448c394f1f50dd2409b (diff)
Merge commit 'upstream/0.7.x' into 0.7.x
Conflicts: actions/showstream.php
Diffstat (limited to 'actions/facebookinvite.php')
-rw-r--r--actions/facebookinvite.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/facebookinvite.php b/actions/facebookinvite.php
index b7224783a..3c872f94b 100644
--- a/actions/facebookinvite.php
+++ b/actions/facebookinvite.php
@@ -73,7 +73,7 @@ class FacebookinviteAction extends FacebookAction
$friend_ids = $_POST['ids']; // XXX: Hmm... is this the best way to acces the list?
- $this->elementStart("ul");
+ $this->elementStart('ul', array('id' => 'facebook-friends'));
foreach ($friend_ids as $friend) {
$this->elementStart('li');
@@ -112,11 +112,11 @@ class FacebookinviteAction extends FacebookAction
$this->element('h2', null, sprintf(_('Friends already using %s:'),
common_config('site', 'name')));
- $this->elementStart("ul");
-
+ $this->elementStart('ul', array('id' => 'facebook-friends'));
+
foreach ($exclude_ids as $friend) {
$this->elementStart('li');
- $this->element('fb:profile-pic', array('uid' => $friend));
+ $this->element('fb:profile-pic', array('uid' => $friend, 'size' => 'square'));
$this->element('fb:name', array('uid' => $friend,
'capitalize' => 'true'));
$this->elementEnd('li');