X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffsuggest.php;h=9ef8f4c551b146c2e366afd4601c1c8701805b7e;hb=0bfca1404847ef5dd300f9e18f95ef48e4c65fde;hp=29fb79cfb1394a45f2061029cd4ffa9bdbb8b770;hpb=c410c9013c062a9a4fce1f887572a1b1c951afbe;p=friendica.git diff --git a/mod/fsuggest.php b/mod/fsuggest.php index 29fb79cfb1..9ef8f4c551 100644 --- a/mod/fsuggest.php +++ b/mod/fsuggest.php @@ -94,20 +94,17 @@ function fsuggest_content(&$a) { } $contact = $r[0]; - - - $o = '

' . t('Suggest Friends') . '

'; - $o .= sprintf( t('Suggest a friend for %s'), $contact['name']); + $o .= '
' . sprintf( t('Suggest a friend for %s'), $contact['name']) . '
'; - $o .= '
'; + $o .= ''; - // TODO: selector should have an option to ignore the recipient - $o .= contact_select('suggest','suggest-select', $preselect, 4, true); + $o .= contact_selector('suggest','suggest-select', false, + array('size' => 4, 'exclude' => $contact_id, 'networks' => 'DFRN_ONLY', 'single' => true)); - $o .= ''; + $o .= '
'; $o .= '
'; return $o;