aboutsummaryrefslogtreecommitdiffstats
path: root/mod/connections.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-04-06 21:40:23 -0700
committerfriendica <info@friendica.com>2014-04-06 21:40:23 -0700
commit75b6aa235e18e9491bc953f43d6d95cf00453406 (patch)
tree1860be309e4b3dac035d5605128f78fb139ff4bc /mod/connections.php
parent28b7eedc45695021e96af6112dab20195b118873 (diff)
downloadvolse-hubzilla-75b6aa235e18e9491bc953f43d6d95cf00453406.tar.gz
volse-hubzilla-75b6aa235e18e9491bc953f43d6d95cf00453406.tar.bz2
volse-hubzilla-75b6aa235e18e9491bc953f43d6d95cf00453406.zip
more work on #395
Diffstat (limited to 'mod/connections.php')
-rw-r--r--mod/connections.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/mod/connections.php b/mod/connections.php
index 1b5e08cfe..f0879ae31 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -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),