aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-19 03:00:29 -0800
committerfriendica <info@friendica.com>2013-02-19 03:00:29 -0800
commit488714290f37a33fa8aec0cc6447cfb235053395 (patch)
treec653a22e23bb7b7d1aec795c62bd37814d2206ec
parentbd881beb456287abbb84696836a415dd1d238f52 (diff)
downloadvolse-hubzilla-488714290f37a33fa8aec0cc6447cfb235053395.tar.gz
volse-hubzilla-488714290f37a33fa8aec0cc6447cfb235053395.tar.bz2
volse-hubzilla-488714290f37a33fa8aec0cc6447cfb235053395.zip
global rename viewcontacts to viewconnections
-rw-r--r--done2
-rw-r--r--include/text.php2
-rw-r--r--mod/viewcontacts.php90
-rw-r--r--util/messages.po10
-rw-r--r--view/ca/messages.po10
-rw-r--r--view/cs/messages.po10
-rw-r--r--view/de/messages.po10
-rw-r--r--view/eo/messages.po10
-rw-r--r--view/es/messages.po10
-rw-r--r--view/fr/messages.po10
-rw-r--r--view/it/messages.po10
-rw-r--r--view/nb-no/messages.po10
-rw-r--r--view/pt-br/messages.po10
-rw-r--r--view/ru/messages.po10
-rw-r--r--view/theme/fancyred/css/style.css2
-rw-r--r--view/theme/redbasic/css/style.css2
-rw-r--r--view/tpl/contact_block.tpl2
-rw-r--r--view/tpl/smarty3/contact_block.tpl2
18 files changed, 61 insertions, 151 deletions
diff --git a/done b/done
index 2967f8640..3493971df 100644
--- a/done
+++ b/done
@@ -161,7 +161,7 @@ mod/
? update_community.php - needs converting to json
? update_network.php - needs converting to json
? update_profile.php - needs converting to json
-? viewcontacts.php
+? viewconnections.php
? view.php
+ viewsrc.php
+ wall_attach.php (needs remote permissions refactor)
diff --git a/include/text.php b/include/text.php
index 3b5b6824a..523970bf4 100644
--- a/include/text.php
+++ b/include/text.php
@@ -628,7 +628,7 @@ function contact_block() {
$o = replace_macros($tpl, array(
'$contacts' => $contacts,
'$nickname' => $a->profile['channel_address'],
- '$viewcontacts' => t('View Connections'),
+ '$viewconnections' => t('View Connections'),
'$micropro' => $micropro,
));
diff --git a/mod/viewcontacts.php b/mod/viewcontacts.php
deleted file mode 100644
index e3c0c490a..000000000
--- a/mod/viewcontacts.php
+++ /dev/null
@@ -1,90 +0,0 @@
-<?php
-require_once('include/contact_selectors.php');
-require_once('include/Contact.php');
-
-function viewcontacts_init(&$a) {
-
- if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
- return;
- }
- if(argc() > 1)
- profile_load($a,argv(1));
-}
-
-
-function viewcontacts_aside(&$a) {
-
- if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
- return;
- }
-
- profile_create_sidebar($a);
-}
-
-
-function viewcontacts_content(&$a) {
-
- if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
- notice( t('Public access denied.') . EOL);
- return;
- }
-
- if(((! count($a->profile)) || ($a->profile['hide_friends']))) {
- notice( t('Permission denied.') . EOL);
- return;
- }
-
- if(! perm_is_allowed($a->profile['uid'], get_observer_hash(),'view_contacts')) {
- notice( t('Permission denied.') . EOL);
- return;
- }
-
-
-
- $r = q("SELECT COUNT(abook_id) as total FROM abook WHERE abook_channel = %d AND abook_flags = 0 ",
- intval($a->profile['uid'])
- );
- if($r)
- $a->set_pager_total($r[0]['total']);
-
- $r = q("SELECT * FROM abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and abook_flags = 0 order by xchan_name LIMIT %d , %d ",
- intval($a->profile['uid']),
- intval($a->pager['start']),
- intval($a->pager['itemspage'])
- );
-
- if(! $r) {
- info( t('No connections.') . EOL );
- return $o;
- }
-
- $contacts = array();
-
- foreach($r as $rr) {
-
- $url = zid($rr['xchan_url']);
-
- $contacts[] = array(
- 'id' => $rr['abook_id'],
- 'img_hover' => sprintf( t('Visit %s\'s profile [%s]'), $rr['xchan_name'], $rr['xchan_url']),
- 'thumb' => $rr['xchan_photo_m'],
- 'name' => substr($rr['xchan_name'],0,20),
- 'username' => $rr['xchan_addr'],
- 'url' => $url,
- 'sparkle' => '',
- 'itemurl' => $rr['url'],
- 'network' => '',
- );
- }
-
-
- $tpl = get_markup_template("viewcontact_template.tpl");
- $o .= replace_macros($tpl, array(
- '$title' => t('View Connnections'),
- '$contacts' => $contacts,
- '$paginate' => paginate($a),
- ));
-
-
- return $o;
-}
diff --git a/util/messages.po b/util/messages.po
index 3355e449e..472d1c21f 100644
--- a/util/messages.po
+++ b/util/messages.po
@@ -44,7 +44,7 @@ msgstr ""
#: ../../mod/notes.php:20 ../../mod/wallmessage.php:9
#: ../../mod/wallmessage.php:33 ../../mod/wallmessage.php:79
#: ../../mod/wallmessage.php:103 ../../mod/attach.php:33
-#: ../../mod/group.php:19 ../../mod/viewcontacts.php:22
+#: ../../mod/group.php:19 ../../mod/viewconnections.php:22
#: ../../mod/register.php:38 ../../mod/regmod.php:116 ../../mod/item.php:124
#: ../../mod/item.php:140 ../../mod/profile_photo.php:19
#: ../../mod/profile_photo.php:141 ../../mod/profile_photo.php:152
@@ -448,7 +448,7 @@ msgid "Image upload failed."
msgstr ""
#: ../../mod/photos.php:849 ../../mod/community.php:16
-#: ../../mod/dfrn_request.php:759 ../../mod/viewcontacts.php:17
+#: ../../mod/dfrn_request.php:759 ../../mod/viewconnections.php:17
#: ../../mod/display.php:7 ../../mod/search.php:71 ../../mod/directory.php:29
msgid "Public access denied."
msgstr ""
@@ -1729,7 +1729,7 @@ msgid "Edit contact notes"
msgstr ""
#: ../../mod/contacts.php:352 ../../mod/contacts.php:544
-#: ../../mod/viewcontacts.php:62 ../../mod/nogroup.php:40
+#: ../../mod/viewconnections.php:62 ../../mod/nogroup.php:40
#, php-format
msgid "Visit %s's profile [%s]"
msgstr ""
@@ -2901,11 +2901,11 @@ msgstr ""
msgid "All Contacts (with secure profile access)"
msgstr ""
-#: ../../mod/viewcontacts.php:39
+#: ../../mod/viewconnections.php:39
msgid "No contacts."
msgstr ""
-#: ../../mod/viewcontacts.php:76 ../../include/text.php:589
+#: ../../mod/viewconnections.php:76 ../../include/text.php:589
msgid "View Contacts"
msgstr ""
diff --git a/view/ca/messages.po b/view/ca/messages.po
index 25c3ce6dc..ff5df43e5 100644
--- a/view/ca/messages.po
+++ b/view/ca/messages.po
@@ -43,7 +43,7 @@ msgstr "Fracassà l'actualització de Contacte"
#: ../../mod/settings.php:49 ../../mod/settings.php:411
#: ../../mod/settings.php:416 ../../mod/manage.php:86 ../../mod/network.php:6
#: ../../mod/notes.php:20 ../../mod/attach.php:33 ../../mod/group.php:19
-#: ../../mod/viewcontacts.php:22 ../../mod/register.php:36
+#: ../../mod/viewconnections.php:22 ../../mod/register.php:36
#: ../../mod/regmod.php:111 ../../mod/item.php:124 ../../mod/item.php:140
#: ../../mod/profile_photo.php:19 ../../mod/profile_photo.php:137
#: ../../mod/profile_photo.php:148 ../../mod/profile_photo.php:159
@@ -412,7 +412,7 @@ msgid "Image upload failed."
msgstr "Actualització de la imatge fracassada."
#: ../../mod/photos.php:759 ../../mod/community.php:16
-#: ../../mod/dfrn_request.php:625 ../../mod/viewcontacts.php:17
+#: ../../mod/dfrn_request.php:625 ../../mod/viewconnections.php:17
#: ../../mod/display.php:7 ../../mod/search.php:71 ../../mod/directory.php:33
msgid "Public access denied."
msgstr "Accés públic denegat."
@@ -1467,7 +1467,7 @@ msgid "Edit contact notes"
msgstr "Editar notes de contactes"
#: ../../mod/contacts.php:328 ../../mod/contacts.php:497
-#: ../../mod/viewcontacts.php:60
+#: ../../mod/viewconnections.php:60
#, php-format
msgid "Visit %s's profile [%s]"
msgstr "Visitar perfil de %s [%s]"
@@ -2362,11 +2362,11 @@ msgstr "Visible Per"
msgid "All Contacts (with secure profile access)"
msgstr "Tots els Contactes (amb accés segur al perfil)"
-#: ../../mod/viewcontacts.php:39
+#: ../../mod/viewconnections.php:39
msgid "No contacts."
msgstr "Sense Contactes"
-#: ../../mod/viewcontacts.php:74 ../../include/text.php:584
+#: ../../mod/viewconnections.php:74 ../../include/text.php:584
msgid "View Contacts"
msgstr "Veure Contactes"
diff --git a/view/cs/messages.po b/view/cs/messages.po
index 529504c5c..8e5b54d3a 100644
--- a/view/cs/messages.po
+++ b/view/cs/messages.po
@@ -36,7 +36,7 @@ msgstr "Aktualizace kontaktu selhala."
#: ../../mod/settings.php:41 ../../mod/settings.php:46
#: ../../mod/settings.php:305 ../../mod/manage.php:75 ../../mod/network.php:6
#: ../../mod/notes.php:20 ../../mod/attach.php:33 ../../mod/group.php:19
-#: ../../mod/viewcontacts.php:21 ../../mod/register.php:27
+#: ../../mod/viewconnections.php:21 ../../mod/register.php:27
#: ../../mod/regmod.php:111 ../../mod/item.php:110
#: ../../mod/profile_photo.php:19 ../../mod/profile_photo.php:133
#: ../../mod/profile_photo.php:144 ../../mod/profile_photo.php:155
@@ -343,7 +343,7 @@ msgid "Image upload failed."
msgstr "Nahrání obrázku selhalo."
#: ../../mod/photos.php:733 ../../mod/community.php:9
-#: ../../mod/dfrn_request.php:591 ../../mod/viewcontacts.php:16
+#: ../../mod/dfrn_request.php:591 ../../mod/viewconnections.php:16
#: ../../mod/display.php:7 ../../mod/search.php:13 ../../mod/directory.php:20
msgid "Public access denied."
msgstr "Veřejný přístup odepřen."
@@ -1239,7 +1239,7 @@ msgstr ""
"být užitečné pro ostatní."
#: ../../mod/contacts.php:304 ../../mod/contacts.php:421
-#: ../../mod/viewcontacts.php:61
+#: ../../mod/viewconnections.php:61
#, php-format
msgid "Visit %s's profile [%s]"
msgstr "Navštivte profil uživatele %s [%s]"
@@ -1980,11 +1980,11 @@ msgstr "Viditelný pro"
msgid "All Contacts (with secure profile access)"
msgstr "Všechny kontakty (se zabezpečeným přístupovým profilem )"
-#: ../../mod/viewcontacts.php:25 ../../include/text.php:555
+#: ../../mod/viewconnections.php:25 ../../include/text.php:555
msgid "View Contacts"
msgstr "Zobrazit kontakty"
-#: ../../mod/viewcontacts.php:40
+#: ../../mod/viewconnections.php:40
msgid "No contacts."
msgstr "Žádné kontakty."
diff --git a/view/de/messages.po b/view/de/messages.po
index 98ab65d61..341cad3ad 100644
--- a/view/de/messages.po
+++ b/view/de/messages.po
@@ -56,7 +56,7 @@ msgstr "Konnte den Kontakt nicht aktualisieren."
#: ../../mod/notes.php:20 ../../mod/wallmessage.php:9
#: ../../mod/wallmessage.php:33 ../../mod/wallmessage.php:79
#: ../../mod/wallmessage.php:103 ../../mod/attach.php:33
-#: ../../mod/group.php:19 ../../mod/viewcontacts.php:22
+#: ../../mod/group.php:19 ../../mod/viewconnections.php:22
#: ../../mod/register.php:38 ../../mod/regmod.php:116 ../../mod/item.php:124
#: ../../mod/item.php:140 ../../mod/profile_photo.php:19
#: ../../mod/profile_photo.php:141 ../../mod/profile_photo.php:152
@@ -448,7 +448,7 @@ msgid "Image upload failed."
msgstr "Hochladen des Bildes gescheitert."
#: ../../mod/photos.php:820 ../../mod/community.php:16
-#: ../../mod/dfrn_request.php:759 ../../mod/viewcontacts.php:17
+#: ../../mod/dfrn_request.php:759 ../../mod/viewconnections.php:17
#: ../../mod/display.php:7 ../../mod/search.php:71 ../../mod/directory.php:29
msgid "Public access denied."
msgstr "Öffentlicher Zugriff verweigert."
@@ -1574,7 +1574,7 @@ msgid "Edit contact notes"
msgstr "Notizen zum Kontakt bearbiten"
#: ../../mod/contacts.php:352 ../../mod/contacts.php:544
-#: ../../mod/viewcontacts.php:62 ../../mod/nogroup.php:40
+#: ../../mod/viewconnections.php:62 ../../mod/nogroup.php:40
#, php-format
msgid "Visit %s's profile [%s]"
msgstr "Besuche %ss Profil [%s]"
@@ -2687,11 +2687,11 @@ msgstr "Sichtbar für"
msgid "All Contacts (with secure profile access)"
msgstr "Alle Kontakte (mit gesichertem Profilzugriff)"
-#: ../../mod/viewcontacts.php:39
+#: ../../mod/viewconnections.php:39
msgid "No contacts."
msgstr "Keine Kontakte."
-#: ../../mod/viewcontacts.php:76 ../../include/text.php:589
+#: ../../mod/viewconnections.php:76 ../../include/text.php:589
msgid "View Contacts"
msgstr "Kontakte anzeigen"
diff --git a/view/eo/messages.po b/view/eo/messages.po
index 26d823d73..7fd842bb6 100644
--- a/view/eo/messages.po
+++ b/view/eo/messages.po
@@ -46,7 +46,7 @@ msgstr "Ĝisdatigo de kontakto malsukcesis."
#: ../../mod/notes.php:20 ../../mod/wallmessage.php:9
#: ../../mod/wallmessage.php:33 ../../mod/wallmessage.php:79
#: ../../mod/wallmessage.php:103 ../../mod/attach.php:33
-#: ../../mod/group.php:19 ../../mod/viewcontacts.php:22
+#: ../../mod/group.php:19 ../../mod/viewconnections.php:22
#: ../../mod/register.php:38 ../../mod/regmod.php:116 ../../mod/item.php:124
#: ../../mod/item.php:140 ../../mod/profile_photo.php:19
#: ../../mod/profile_photo.php:141 ../../mod/profile_photo.php:152
@@ -448,7 +448,7 @@ msgid "Image upload failed."
msgstr "Alŝuto de bildo malsukcesis."
#: ../../mod/photos.php:843 ../../mod/community.php:16
-#: ../../mod/dfrn_request.php:759 ../../mod/viewcontacts.php:17
+#: ../../mod/dfrn_request.php:759 ../../mod/viewconnections.php:17
#: ../../mod/display.php:7 ../../mod/search.php:71 ../../mod/directory.php:29
msgid "Public access denied."
msgstr "Publika atingo ne permesita."
@@ -1588,7 +1588,7 @@ msgid "Edit contact notes"
msgstr "Redakti kontaktnotojn"
#: ../../mod/contacts.php:352 ../../mod/contacts.php:544
-#: ../../mod/viewcontacts.php:62 ../../mod/nogroup.php:40
+#: ../../mod/viewconnections.php:62 ../../mod/nogroup.php:40
#, php-format
msgid "Visit %s's profile [%s]"
msgstr "Viziti la profilon de %s [%s]"
@@ -2701,11 +2701,11 @@ msgstr "Videbla Al"
msgid "All Contacts (with secure profile access)"
msgstr "Ĉiuj Kontaktoj (kun sekura atingo al la profilo)"
-#: ../../mod/viewcontacts.php:39
+#: ../../mod/viewconnections.php:39
msgid "No contacts."
msgstr "Neniu kontaktojn."
-#: ../../mod/viewcontacts.php:76 ../../include/text.php:589
+#: ../../mod/viewconnections.php:76 ../../include/text.php:589
msgid "View Contacts"
msgstr "Vidi Kontaktojn"
diff --git a/view/es/messages.po b/view/es/messages.po
index 54de3ee64..8a29cf695 100644
--- a/view/es/messages.po
+++ b/view/es/messages.po
@@ -49,7 +49,7 @@ msgstr "Permiso denegado"
#: ../../mod/crepair.php:113 ../../mod/api.php:26 ../../mod/api.php:31
#: ../../mod/notes.php:20 ../../mod/fsuggest.php:78 ../../mod/item.php:113
#: ../../mod/message.php:9 ../../mod/message.php:42
-#: ../../mod/dfrn_confirm.php:53 ../../mod/viewcontacts.php:21
+#: ../../mod/dfrn_confirm.php:53 ../../mod/viewconnections.php:21
#: ../../mod/group.php:19 ../../mod/attach.php:33 ../../mod/common.php:9
#: ../../addon/facebook/facebook.php:331 ../../include/items.php:2874
msgid "Permission denied."
@@ -1141,7 +1141,7 @@ msgstr "Eliminar término"
#: ../../mod/search.php:71 ../../mod/photos.php:752 ../../mod/display.php:7
#: ../../mod/dfrn_request.php:594 ../../mod/directory.php:31
-#: ../../mod/viewcontacts.php:16 ../../mod/community.php:16
+#: ../../mod/viewconnections.php:16 ../../mod/community.php:16
msgid "Public access denied."
msgstr "Acceso público denegado."
@@ -1795,7 +1795,7 @@ msgid "Edit contact notes"
msgstr "Editar notas de contacto"
#: ../../mod/contacts.php:315 ../../mod/contacts.php:430
-#: ../../mod/viewcontacts.php:61
+#: ../../mod/viewconnections.php:61
#, php-format
msgid "Visit %s's profile [%s]"
msgstr "Ver el perfil de %s [%s]"
@@ -3630,11 +3630,11 @@ msgstr "Bienvenido de nuevo"
msgid "%s welcomes %s"
msgstr "%s te da la bienvenida a %s"
-#: ../../mod/viewcontacts.php:25 ../../include/text.php:567
+#: ../../mod/viewconnections.php:25 ../../include/text.php:567
msgid "View Contacts"
msgstr "Ver contactos"
-#: ../../mod/viewcontacts.php:40
+#: ../../mod/viewconnections.php:40
msgid "No contacts."
msgstr "Ningún contacto."
diff --git a/view/fr/messages.po b/view/fr/messages.po
index 82f611675..2d3909ca2 100644
--- a/view/fr/messages.po
+++ b/view/fr/messages.po
@@ -45,7 +45,7 @@ msgstr "Permission refusée"
#: ../../mod/crepair.php:113 ../../mod/api.php:26 ../../mod/api.php:31
#: ../../mod/notes.php:20 ../../mod/fsuggest.php:78 ../../mod/item.php:113
#: ../../mod/message.php:9 ../../mod/message.php:42
-#: ../../mod/dfrn_confirm.php:53 ../../mod/viewcontacts.php:21
+#: ../../mod/dfrn_confirm.php:53 ../../mod/viewconnections.php:21
#: ../../mod/group.php:19 ../../mod/attach.php:33 ../../mod/common.php:9
#: ../../addon/facebook/facebook.php:331 ../../include/items.php:2874
msgid "Permission denied."
@@ -1136,7 +1136,7 @@ msgstr "Retirer le terme"
#: ../../mod/search.php:71 ../../mod/photos.php:752 ../../mod/display.php:7
#: ../../mod/dfrn_request.php:594 ../../mod/directory.php:31
-#: ../../mod/viewcontacts.php:16 ../../mod/community.php:16
+#: ../../mod/viewconnections.php:16 ../../mod/community.php:16
msgid "Public access denied."
msgstr "Accès public refusé."
@@ -1789,7 +1789,7 @@ msgid "Edit contact notes"
msgstr "Editer les notes des contacts"
#: ../../mod/contacts.php:315 ../../mod/contacts.php:430
-#: ../../mod/viewcontacts.php:61
+#: ../../mod/viewconnections.php:61
#, php-format
msgid "Visit %s's profile [%s]"
msgstr "Visiter le profil de %s [%s]"
@@ -3603,11 +3603,11 @@ msgstr "Bienvenue à nouveau, "
msgid "%s welcomes %s"
msgstr "%s accueille %s"
-#: ../../mod/viewcontacts.php:25 ../../include/text.php:567
+#: ../../mod/viewconnections.php:25 ../../include/text.php:567
msgid "View Contacts"
msgstr "Voir les contacts"
-#: ../../mod/viewcontacts.php:40
+#: ../../mod/viewconnections.php:40
msgid "No contacts."
msgstr "Aucun contact."
diff --git a/view/it/messages.po b/view/it/messages.po
index 9dfe40dc5..99002d909 100644
--- a/view/it/messages.po
+++ b/view/it/messages.po
@@ -49,7 +49,7 @@ msgstr "Le modifiche al contatto non sono state salvate."
#: ../../mod/notes.php:20 ../../mod/wallmessage.php:9
#: ../../mod/wallmessage.php:33 ../../mod/wallmessage.php:79
#: ../../mod/wallmessage.php:103 ../../mod/attach.php:33
-#: ../../mod/group.php:19 ../../mod/viewcontacts.php:22
+#: ../../mod/group.php:19 ../../mod/viewconnections.php:22
#: ../../mod/register.php:38 ../../mod/regmod.php:116 ../../mod/item.php:126
#: ../../mod/item.php:142 ../../mod/mood.php:114
#: ../../mod/profile_photo.php:19 ../../mod/profile_photo.php:169
@@ -462,7 +462,7 @@ msgid "Image upload failed."
msgstr "Caricamento immagine fallito."
#: ../../mod/photos.php:842 ../../mod/community.php:18
-#: ../../mod/dfrn_request.php:760 ../../mod/viewcontacts.php:17
+#: ../../mod/dfrn_request.php:760 ../../mod/viewconnections.php:17
#: ../../mod/display.php:7 ../../mod/search.php:73 ../../mod/directory.php:31
msgid "Public access denied."
msgstr "Accesso negato."
@@ -1777,7 +1777,7 @@ msgid "Edit contact notes"
msgstr "Modifica note contatto"
#: ../../mod/contacts.php:357 ../../mod/contacts.php:549
-#: ../../mod/viewcontacts.php:62 ../../mod/nogroup.php:40
+#: ../../mod/viewconnections.php:62 ../../mod/nogroup.php:40
#, php-format
msgid "Visit %s's profile [%s]"
msgstr "Visita il profilo di %s [%s]"
@@ -2973,11 +2973,11 @@ msgstr "Visibile a"
msgid "All Contacts (with secure profile access)"
msgstr "Tutti i contatti (con profilo ad accesso sicuro)"
-#: ../../mod/viewcontacts.php:39
+#: ../../mod/viewconnections.php:39
msgid "No contacts."
msgstr "Nessun contatto."
-#: ../../mod/viewcontacts.php:76 ../../include/text.php:618
+#: ../../mod/viewconnections.php:76 ../../include/text.php:618
msgid "View Contacts"
msgstr "Visualizza i contatti"
diff --git a/view/nb-no/messages.po b/view/nb-no/messages.po
index c114c2e18..362dc0682 100644
--- a/view/nb-no/messages.po
+++ b/view/nb-no/messages.po
@@ -45,7 +45,7 @@ msgstr "Kontaktoppdatering mislyktes."
#: ../../mod/notes.php:20 ../../mod/wallmessage.php:9
#: ../../mod/wallmessage.php:33 ../../mod/wallmessage.php:79
#: ../../mod/wallmessage.php:103 ../../mod/attach.php:33
-#: ../../mod/group.php:19 ../../mod/viewcontacts.php:22
+#: ../../mod/group.php:19 ../../mod/viewconnections.php:22
#: ../../mod/register.php:38 ../../mod/regmod.php:116 ../../mod/item.php:126
#: ../../mod/item.php:142 ../../mod/mood.php:114
#: ../../mod/profile_photo.php:19 ../../mod/profile_photo.php:169
@@ -458,7 +458,7 @@ msgid "Image upload failed."
msgstr "Mislyktes med å laste opp bilde."
#: ../../mod/photos.php:842 ../../mod/community.php:18
-#: ../../mod/dfrn_request.php:760 ../../mod/viewcontacts.php:17
+#: ../../mod/dfrn_request.php:760 ../../mod/viewconnections.php:17
#: ../../mod/display.php:7 ../../mod/search.php:73 ../../mod/directory.php:31
msgid "Public access denied."
msgstr "Offentlig tilgang ikke tillatt."
@@ -1773,7 +1773,7 @@ msgid "Edit contact notes"
msgstr "Endre kontaktnotater"
#: ../../mod/contacts.php:357 ../../mod/contacts.php:549
-#: ../../mod/viewcontacts.php:62 ../../mod/nogroup.php:40
+#: ../../mod/viewconnections.php:62 ../../mod/nogroup.php:40
#, php-format
msgid "Visit %s's profile [%s]"
msgstr "Besøk %ss profil [%s]"
@@ -2969,11 +2969,11 @@ msgstr "Synlig for"
msgid "All Contacts (with secure profile access)"
msgstr "Alle kontakter (med sikret profiltilgang)"
-#: ../../mod/viewcontacts.php:39
+#: ../../mod/viewconnections.php:39
msgid "No contacts."
msgstr "Ingen kontakter."
-#: ../../mod/viewcontacts.php:76 ../../include/text.php:618
+#: ../../mod/viewconnections.php:76 ../../include/text.php:618
msgid "View Contacts"
msgstr "Vis kontakter"
diff --git a/view/pt-br/messages.po b/view/pt-br/messages.po
index c6aca3dd9..2808d8760 100644
--- a/view/pt-br/messages.po
+++ b/view/pt-br/messages.po
@@ -40,7 +40,7 @@ msgstr "Não foi possível atualizar o contato."
#: ../../mod/settings.php:20 ../../mod/settings.php:251
#: ../../mod/manage.php:75 ../../mod/network.php:6 ../../mod/notes.php:20
#: ../../mod/attach.php:64 ../../mod/group.php:19
-#: ../../mod/viewcontacts.php:21 ../../mod/register.php:27
+#: ../../mod/viewconnections.php:21 ../../mod/register.php:27
#: ../../mod/regmod.php:18 ../../mod/item.php:57 ../../mod/item.php:801
#: ../../mod/profile_photo.php:19 ../../mod/profile_photo.php:133
#: ../../mod/profile_photo.php:144 ../../mod/profile_photo.php:155
@@ -233,7 +233,7 @@ msgid "Image upload failed."
msgstr "Não foi possível enviar a imagem."
#: ../../mod/photos.php:680 ../../mod/dfrn_request.php:591
-#: ../../mod/viewcontacts.php:16 ../../mod/display.php:7
+#: ../../mod/viewconnections.php:16 ../../mod/display.php:7
#: ../../mod/search.php:13 ../../mod/directory.php:20
msgid "Public access denied."
msgstr "Acesso público negado."
@@ -1166,7 +1166,7 @@ msgstr "Pesquisando: "
msgid "Find"
msgstr "Pesquisar"
-#: ../../mod/contacts.php:387 ../../mod/viewcontacts.php:52
+#: ../../mod/contacts.php:387 ../../mod/viewconnections.php:52
msgid "Visit $username's profile"
msgstr "Visitar o perfil de $username"
@@ -1682,11 +1682,11 @@ msgstr "Visível para"
msgid "All Contacts (with secure profile access)"
msgstr "Todos os contatos (com acesso a perfil seguro)"
-#: ../../mod/viewcontacts.php:25 ../../boot.php:2059
+#: ../../mod/viewconnections.php:25 ../../boot.php:2059
msgid "View Contacts"
msgstr "Ver contatos"
-#: ../../mod/viewcontacts.php:40
+#: ../../mod/viewconnections.php:40
msgid "No contacts."
msgstr "Nenhum contato."
diff --git a/view/ru/messages.po b/view/ru/messages.po
index 49f91a500..f5bf37629 100644
--- a/view/ru/messages.po
+++ b/view/ru/messages.po
@@ -47,7 +47,7 @@ msgstr "Обновление контакта неудачное."
#: ../../mod/notes.php:20 ../../mod/wallmessage.php:9
#: ../../mod/wallmessage.php:33 ../../mod/wallmessage.php:79
#: ../../mod/wallmessage.php:103 ../../mod/attach.php:33
-#: ../../mod/group.php:19 ../../mod/viewcontacts.php:22
+#: ../../mod/group.php:19 ../../mod/viewconnections.php:22
#: ../../mod/register.php:38 ../../mod/regmod.php:116 ../../mod/item.php:126
#: ../../mod/item.php:142 ../../mod/mood.php:114
#: ../../mod/profile_photo.php:19 ../../mod/profile_photo.php:169
@@ -460,7 +460,7 @@ msgid "Image upload failed."
msgstr "Загрузка фото неудачная."
#: ../../mod/photos.php:842 ../../mod/community.php:18
-#: ../../mod/dfrn_request.php:760 ../../mod/viewcontacts.php:17
+#: ../../mod/dfrn_request.php:760 ../../mod/viewconnections.php:17
#: ../../mod/display.php:7 ../../mod/search.php:73 ../../mod/directory.php:31
msgid "Public access denied."
msgstr "Свободный доступ закрыт."
@@ -1779,7 +1779,7 @@ msgid "Edit contact notes"
msgstr "Редактировать заметки контакта"
#: ../../mod/contacts.php:357 ../../mod/contacts.php:549
-#: ../../mod/viewcontacts.php:62 ../../mod/nogroup.php:40
+#: ../../mod/viewconnections.php:62 ../../mod/nogroup.php:40
#, php-format
msgid "Visit %s's profile [%s]"
msgstr "Посетить профиль %s [%s]"
@@ -2976,11 +2976,11 @@ msgstr "Видимый для"
msgid "All Contacts (with secure profile access)"
msgstr "Все контакты (с безопасным доступом к профилю)"
-#: ../../mod/viewcontacts.php:39
+#: ../../mod/viewconnections.php:39
msgid "No contacts."
msgstr "Нет контактов."
-#: ../../mod/viewcontacts.php:76 ../../include/text.php:618
+#: ../../mod/viewconnections.php:76 ../../include/text.php:618
msgid "View Contacts"
msgstr "Просмотр контактов"
diff --git a/view/theme/fancyred/css/style.css b/view/theme/fancyred/css/style.css
index b6fc9bd16..8cc2d12e6 100644
--- a/view/theme/fancyred/css/style.css
+++ b/view/theme/fancyred/css/style.css
@@ -750,7 +750,7 @@ input#dfrn-url {
}
-#viewcontacts {
+#viewconnections {
margin-top: 15px;
}
#profile-edit-default-desc {
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 7528f0a52..db73e27d5 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -747,7 +747,7 @@ input#dfrn-url {
}
-#viewcontacts {
+#viewconnections {
margin-top: 15px;
}
#profile-edit-default-desc {
diff --git a/view/tpl/contact_block.tpl b/view/tpl/contact_block.tpl
index a623c4944..b90469199 100644
--- a/view/tpl/contact_block.tpl
+++ b/view/tpl/contact_block.tpl
@@ -1,7 +1,7 @@
<div id="contact-block">
<div id="contact-block-numcontacts">$contacts</div>
{{ if $micropro }}
- <a class="allcontact-link" href="viewcontacts/$nickname">$viewcontacts</a>
+ <a class="allcontact-link" href="viewconnections/$nickname">$viewconnections</a>
<div class='contact-block-content'>
{{ for $micropro as $m }}
$m
diff --git a/view/tpl/smarty3/contact_block.tpl b/view/tpl/smarty3/contact_block.tpl
index 0610b3c3f..3b07a1ea3 100644
--- a/view/tpl/smarty3/contact_block.tpl
+++ b/view/tpl/smarty3/contact_block.tpl
@@ -6,7 +6,7 @@
<div id="contact-block">
<div id="contact-block-numcontacts">{{$contacts}}</div>
{{if $micropro}}
- <a class="allcontact-link" href="viewcontacts/{{$nickname}}">{{$viewcontacts}}</a>
+ <a class="allcontact-link" href="viewconnections/{{$nickname}}">{{$viewconnections}}</a>
<div class='contact-block-content'>
{{foreach $micropro as $m}}
{{$m}}