From 2035a5dd763f7524cdc1a678b0e8dbca94f270f5 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 30 Oct 2013 01:58:45 -0700 Subject: allow zot public providers to list their location, as a non US-based server could be a strong selling point. --- mod/pubsites.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mod/pubsites.php') diff --git a/mod/pubsites.php b/mod/pubsites.php index 9728d0704..78b107229 100644 --- a/mod/pubsites.php +++ b/mod/pubsites.php @@ -21,13 +21,16 @@ function pubsites_content(&$a) { $o .= '

' . t('Public Sites') . '

'; + $o .= '
' . + t('The listed sites allow public registration. Some may require subscription or provide tiered service plans. The provider links may provide additional details.') . '
' . EOL; + $ret = z_fetch_url($url); if($ret['success']) { $j = json_decode($ret['body'],true); if($j) { - $o .= ''; + $o .= '
' . t('Site URL') . '' . t('Access Type') . '' . t('Registration Policy') . '
'; foreach($j['sites'] as $jj) { - $o .= ''; + $o .= ''; } $o .= '
' . t('Site URL') . '' . t('Access Type') . '' . t('Registration Policy') . '' . t('Location') . '
' . '' . $jj['url'] . '' . '' . $jj['access'] . '' . $jj['register'] . '
' . '' . $jj['url'] . '' . '' . $jj['access'] . '' . $jj['register'] . '' . $jj['location'] . '
'; -- cgit v1.2.3