aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/api.php2
-rw-r--r--include/text.php4
-rw-r--r--mod/connections.php12
-rw-r--r--mod/group.php2
4 files changed, 10 insertions, 10 deletions
diff --git a/include/api.php b/include/api.php
index cf4d45c1a..4d74eb298 100644
--- a/include/api.php
+++ b/include/api.php
@@ -349,7 +349,7 @@ require_once('include/security.php');
'location' => ($usr) ? $usr[0]['channel_location'] : '',
'profile_image_url' => $uinfo[0]['xchan_photo_l'],
'url' => $uinfo[0]['xchan_url'],
- 'contact_url' => $a->get_baseurl()."/connnections/".$uinfo[0]['abook_id'],
+ 'contact_url' => $a->get_baseurl()."/connections/".$uinfo[0]['abook_id'],
'protected' => false,
'friends_count' => intval($countfriends),
'created_at' => api_date($uinfo[0]['abook_created']),
diff --git a/include/text.php b/include/text.php
index cb68fcc86..18c5aeaf1 100644
--- a/include/text.php
+++ b/include/text.php
@@ -572,7 +572,7 @@ function contact_block() {
$total = intval($r[0]['total']);
}
if(! $total) {
- $contacts = t('No connnections');
+ $contacts = t('No connections');
$micropro = Null;
} else {
@@ -595,7 +595,7 @@ function contact_block() {
$o = replace_macros($tpl, array(
'$contacts' => $contacts,
'$nickname' => $a->profile['nickname'],
- '$viewcontacts' => t('View Connnections'),
+ '$viewcontacts' => t('View Connections'),
'$micropro' => $micropro,
));
diff --git a/mod/connections.php b/mod/connections.php
index c6eb95418..158d2fd23 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -34,7 +34,7 @@ function connections_aside(&$a) {
$a->set_widget('follow', follow_widget());
}
- $a->set_widget('collections', group_side('connnections','group',false,0,((array_key_exists('abook',$a->data)) ? $a->data['abook']['abook_xchan'] : '')));
+ $a->set_widget('collections', group_side('connections','group',false,0,((array_key_exists('abook',$a->data)) ? $a->data['abook']['abook_xchan'] : '')));
$a->set_widget('findpeople',findpeople_widget());
}
@@ -57,7 +57,7 @@ function connections_post(&$a) {
if(! $orig_record) {
notice( t('Could not access contact record.') . EOL);
- goaway($a->get_baseurl(true) . '/connnections');
+ goaway($a->get_baseurl(true) . '/connections');
return; // NOTREACHED
}
@@ -111,7 +111,7 @@ function connections_post(&$a) {
if($r)
info( t('Connection updated.') . EOL);
else
- notice( t('Failed to update connnection record.') . EOL);
+ notice( t('Failed to update connection record.') . EOL);
if((x($a->data,'abook')) && $a->data['abook']['abook_my_perms'] != $abook_my_perms
@@ -360,7 +360,7 @@ function connections_content(&$a) {
'$addr' => $contact['xchan_addr'],
'$notself' => (($self) ? '' : '1'),
'$self' => (($self) ? '1' : ''),
- '$autolbl' => t('When receiving a channel introduction, any permissions provided here will be applied to the new connnection automatically and the introduction approved. Leave this page if you do not wish to use this feature.'),
+ '$autolbl' => t('When receiving a channel introduction, any permissions provided here will be applied to the new connection automatically and the introduction approved. Leave this page if you do not wish to use this feature.'),
'$viewprof' => t('View Profile'),
'$lbl_slider' => t('Slide to adjust your degree of friendship'),
'$slide' => $slide,
@@ -607,11 +607,11 @@ function connections_content(&$a) {
$tpl = get_markup_template("contacts-template.tpl");
$o .= replace_macros($tpl,array(
- '$header' => t('Connnections') . (($head) ? ' - ' . $head : ''),
+ '$header' => t('Connections') . (($head) ? ' - ' . $head : ''),
'$tabs' => $t,
'$total' => $total,
'$search' => $search_hdr,
- '$desc' => t('Search your connnections'),
+ '$desc' => t('Search your connections'),
'$finding' => (($searching) ? t('Finding: ') . "'" . $search . "'" : ""),
'$submit' => t('Find'),
'$cmd' => $a->cmd,
diff --git a/mod/group.php b/mod/group.php
index 6c9b8d78c..b3ee79f9b 100644
--- a/mod/group.php
+++ b/mod/group.php
@@ -139,7 +139,7 @@ function group_content(&$a) {
);
if(! $r) {
notice( t('Collection not found.') . EOL );
- goaway($a->get_baseurl() . '/connnections');
+ goaway($a->get_baseurl() . '/connections');
}
$group = $r[0];