' . 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 .= '' . t('Site URL') . ' | ' . t('Access Type') . ' | ' . t('Registration Policy') . ' | ' . t('Location') . ' |
';
foreach($j['sites'] as $jj) {
$o .= '' . '' . $jj['url'] . '' . ' | ' . $jj['access'] . ' | ' . $jj['register'] . ' | ' . $jj['location'] . ' |
';
}
$o .= '
';
}
}
return $o;
}