X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=widgets%2Fwidget_friends.php;h=195667e89bb4962612950534e150f8a78ee567e8;hb=5aa4e7d9671e20f6a3daab1b83e8f0ca78a62195;hp=2286f68cad867f38665bd5f6010e3c1b68026eaa;hpb=056921b1e8d64702535f03e238bc2e451ddca646;p=friendica-addons.git diff --git a/widgets/widget_friends.php b/widgets/widget_friends.php old mode 100644 new mode 100755 index 2286f68c..195667e8 --- a/widgets/widget_friends.php +++ b/widgets/widget_friends.php @@ -11,6 +11,11 @@ function friends_widget_args(){ return Array(); } +function friends_widget_size(){ + return Array('100%','200px'); +} + + function friends_widget_content(&$a, $conf){ $r = q("SELECT `profile`.`uid` AS `profile_uid`, `profile`.* , `user`.* FROM `profile` @@ -23,10 +28,15 @@ function friends_widget_content(&$a, $conf){ $o = ""; $o .= ""; $o .= _abs_url(contact_block()); - $o .= "profile['nickname']."'>". t('Connect on Friendika!') .""; + $o .= "profile['nickname']."'>". t('Connect on Friendica!') .""; return $o; }