more work on #395

This commit is contained in:
friendica
2014-04-06 21:40:23 -07:00
parent 28b7eedc45
commit 75b6aa235e
4 changed files with 17 additions and 5 deletions

View File

@@ -375,16 +375,14 @@ function connections_content(&$a) {
'username' => $rr['xchan_name'],
'sparkle' => $sparkle,
'link' => z_root() . '/connedit/' . $rr['abook_id'],
'url' => $rr['xchan_url'],
'url' => chanlink_url($rr['xchan_url']),
'network' => network_to_name($rr['network']),
);
}
}
}
$tpl = get_markup_template("contacts-template.tpl");
$o .= replace_macros($tpl,array(
$o .= replace_macros(get_markup_template('connections.tpl'),array(
'$header' => t('Connections') . (($head) ? ' - ' . $head : ''),
'$tabs' => $t,
'$total' => $total,
@@ -392,6 +390,7 @@ function connections_content(&$a) {
'$desc' => t('Search your connections'),
'$finding' => (($searching) ? t('Finding: ') . "'" . $search . "'" : ""),
'$submit' => t('Find'),
'$edit' => t('Edit'),
'$cmd' => $a->cmd,
'$contacts' => $contacts,
'$paginate' => paginate($a),