]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Specify the number of cols for the Facebook app's multi-friend inviter
authorZach Copley <zach@status.net>
Tue, 27 Oct 2009 21:07:17 +0000 (21:07 +0000)
committerZach Copley <zach@status.net>
Tue, 27 Oct 2009 21:07:17 +0000 (21:07 +0000)
widget so it fits better into Facebook's new layout.

plugins/Facebook/facebookinvite.php

index ecda1717c3e37b2b184a12ce8460e6ab2005fd1c..3380b4c857d4de1f365d5534cf80fbc76ae5c71e 100644 (file)
@@ -105,6 +105,7 @@ class FacebookinviteAction extends FacebookAction
         $multi_params = array('showborder' => 'false');
         $multi_params['actiontext'] = $actiontext;
         $multi_params['bypass'] = 'cancel';
+        $multi_params['cols'] = 4;
 
         // Get a list of users who are already using the app for exclusion
         $exclude_ids = $this->facebook->api_client->friends_getAppUsers();