diff options
author | Sarven Capadisli <csarven@controlyourself.ca> | 2009-02-05 04:54:42 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@controlyourself.ca> | 2009-02-05 04:54:42 +0000 |
commit | e5b075b912e1fb416e73988547e2ece8f89e6453 (patch) | |
tree | c482bf0fec279a44c4654f86d5a7506910808333 /actions/facebookinvite.php | |
parent | 68152dcf3acca51b85fc80e5549718c8123f943c (diff) |
Matching Facebook app UI to identi.ca. Fixed tabs, add to profile,
widths, font-size, and some HTML markup.
Diffstat (limited to 'actions/facebookinvite.php')
-rw-r--r-- | actions/facebookinvite.php | 8 |
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'); |