diff options
author | zotlabs <mike@macgirvin.com> | 2017-07-30 21:55:28 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-07-30 21:55:28 -0700 |
commit | e3c8e4f4833b485469616c753cc660e8a55bef29 (patch) | |
tree | 3dd417dd843b995b5e7f43349188d654664871c9 /include/network.php | |
parent | 8f3a99ad1f87973d0788596371f311e0e4fa1ee3 (diff) | |
download | volse-hubzilla-e3c8e4f4833b485469616c753cc660e8a55bef29.tar.gz volse-hubzilla-e3c8e4f4833b485469616c753cc660e8a55bef29.tar.bz2 volse-hubzilla-e3c8e4f4833b485469616c753cc660e8a55bef29.zip |
modify connection edit display for channels with no address/webbie
Diffstat (limited to 'include/network.php')
-rw-r--r-- | include/network.php | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/include/network.php b/include/network.php index fe9a9aa2b..fa49e5765 100644 --- a/include/network.php +++ b/include/network.php @@ -1142,7 +1142,7 @@ function discover_by_webbie($webbie) { $network = null; - $webbie = strtolower($webbie); +// $webbie = strtolower($webbie); $x = webfinger_rfc7033($webbie,true); if($x && array_key_exists('links',$x) && $x['links']) { @@ -1688,18 +1688,19 @@ function get_repository_version($branch = 'master') { function network_to_name($s) { $nets = array( - NETWORK_DFRN => t('Friendica'), - NETWORK_FRND => t('Friendica'), - NETWORK_OSTATUS => t('OStatus'), - NETWORK_GNUSOCIAL => t('GNU-Social'), - NETWORK_FEED => t('RSS/Atom'), - NETWORK_MAIL => t('Email'), - NETWORK_DIASPORA => t('Diaspora'), - NETWORK_FACEBOOK => t('Facebook'), - NETWORK_ZOT => t('Zot'), - NETWORK_LINKEDIN => t('LinkedIn'), - NETWORK_XMPP => t('XMPP/IM'), - NETWORK_MYSPACE => t('MySpace'), + NETWORK_DFRN => t('Friendica'), + NETWORK_FRND => t('Friendica'), + NETWORK_OSTATUS => t('OStatus'), + NETWORK_GNUSOCIAL => t('GNU-Social'), + NETWORK_FEED => t('RSS/Atom'), + NETWORK_ACTIVITYPUB => t('ActivityPub'), + NETWORK_MAIL => t('Email'), + NETWORK_DIASPORA => t('Diaspora'), + NETWORK_FACEBOOK => t('Facebook'), + NETWORK_ZOT => t('Zot'), + NETWORK_LINKEDIN => t('LinkedIn'), + NETWORK_XMPP => t('XMPP/IM'), + NETWORK_MYSPACE => t('MySpace'), ); call_hooks('network_to_name', $nets); |