' .
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);
if($j) {
if($j['sites']) {
$projects = $this->sort_sites($j['sites']);
foreach($projects as $p => $v) {
if (ucfirst($p) === 'Osada') {
// deprecated
continue;
}
$o .= '' . ucfirst($p) . '' . EOL;
$o .= '' . t('Hub URL') . ' | ' . t('Access Type') . ' | ' . t('Registration Policy') . ' | ' . t('Software') . ' | '; $o .= '
' . $urltext . '' . $location . ' | ' . $jj['access'] . ' | ' . $jj['register'] . ' | ' . ucwords($jj['project']) . (($jj['version']) ? ' ' . $jj['version'] : '') . ' | '; $o .= '
'; } } $o .= '