3 require_once('include/socgraph.php');
4 require_once('include/contact_widgets.php');
6 function suggest_content(&$a) {
10 notice( t('Permission denied.') . EOL);
14 $a->page['aside'] .= follow_widget();
15 $a->page['aside'] .= findpeople_widget();
18 $o .= '<h2>' . t('Friend Suggestions') . '</h2>';
21 $r = suggestion_query(local_user());
24 $o .= t('No suggestions. This works best when you have more than one contact/friend.');
28 $tpl = get_markup_template('common_friends.tpl');
32 $o .= replace_macros($tpl,array(
34 '$name' => $rr['name'],
35 '$photo' => $rr['photo'],
41 // $o .= paginate($a);