mirror of
https://github.com/friendica/friendica
synced 2024-12-23 04:00:15 +00:00
make friend suggest themeable
This commit is contained in:
parent
06a4c0f703
commit
14c002d7a4
1 changed files with 3 additions and 6 deletions
|
@ -94,20 +94,17 @@ function fsuggest_content(&$a) {
|
|||
}
|
||||
$contact = $r[0];
|
||||
|
||||
|
||||
|
||||
|
||||
$o = '<h3>' . t('Suggest Friends') . '</h3>';
|
||||
|
||||
$o .= sprintf( t('Suggest a friend for %s'), $contact['name']);
|
||||
$o .= '<div id="fsuggest-desc" >' . sprintf( t('Suggest a friend for %s'), $contact['name']) . '</div>';
|
||||
|
||||
$o .= '<form action="fsuggest/' . $contact_id . '" method="post" >';
|
||||
$o .= '<form id="fsuggest-form" action="fsuggest/' . $contact_id . '" method="post" >';
|
||||
|
||||
$o .= contact_selector('suggest','suggest-select', false,
|
||||
array('size' => 4, 'exclude' => $contact_id, 'networks' => 'DFRN_ONLY', 'single' => true));
|
||||
|
||||
|
||||
$o .= '<input type="submit" name="submit" value="' . t('Submit') . '" />';
|
||||
$o .= '<input id="fsuggest-submit" type="submit" name="submit" value="' . t('Submit') . '" />';
|
||||
$o .= '</form>';
|
||||
|
||||
return $o;
|
||||
|
|
Loading…
Reference in a new issue