From 3fe67eb646befb47b3d421e12e55020f035e26b3 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 9 Jan 2021 21:54:41 +0000 Subject: more libzotdir (cherry picked from commit e339e897ff7f856cf5b352f7754f3d1eea240ddb) --- Zotlabs/Module/Pubsites.php | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'Zotlabs/Module/Pubsites.php') diff --git a/Zotlabs/Module/Pubsites.php b/Zotlabs/Module/Pubsites.php index daec5dde3..4b64d9af6 100644 --- a/Zotlabs/Module/Pubsites.php +++ b/Zotlabs/Module/Pubsites.php @@ -1,18 +1,19 @@ '; - + $o .= '

' . t('Public Hubs') . '

'; - - $o .= '
' . + + $o .= '
' . t('The listed hubs allow public registration for the $Projectname network. All hubs in the network are interlinked so membership on any of them conveys membership in the network as a whole. Some hubs may require subscription or provide tiered service plans. The hub itself may provide additional details.') . '
' . EOL; - + $ret = z_fetch_url($url); if($ret['success']) { $j = json_decode($ret['body'],true); @@ -48,8 +49,8 @@ class Pubsites extends \Zotlabs\Web\Controller { $host = strtolower(substr($jj['url'],strpos($jj['url'],'://')+3)); $rate_links = ((local_channel()) ? ' ' . t('Rate') . '' : ''); $location = ''; - if(!empty($jj['location'])) { - $location = '

' . $jj['location'] . '

'; + if(!empty($jj['location'])) { + $location = '

' . $jj['location'] . '

'; } else { $location = '
 '; @@ -61,14 +62,14 @@ class Pubsites extends \Zotlabs\Web\Controller { $o .= ''; } } - + $o .= ''; - + $o .= '
'; - + } } return $o; } - + } -- cgit v1.2.3