more fixes to public site list while waiting for a public site or two to show up
This commit is contained in:
parent
2c53017fb5
commit
ae624e9bce
@ -26,7 +26,7 @@ function pubsites_content(&$a) {
|
|||||||
$j = json_decode($ret['body'],true);
|
$j = json_decode($ret['body'],true);
|
||||||
if($j) {
|
if($j) {
|
||||||
$o .= '<table><tr><td>' . t('Site URL') . '</td><td>' . t('Access Type') . '</td><td>' . t('Registration Policy') . '</td></tr>';
|
$o .= '<table><tr><td>' . t('Site URL') . '</td><td>' . t('Access Type') . '</td><td>' . t('Registration Policy') . '</td></tr>';
|
||||||
foreach($j as $jj) {
|
foreach($j['sites'] as $jj) {
|
||||||
$o .= '<tr><td>' . $jj['url'] . '</td><td>' . $jj['access'] . '</td><td>' . $jj['register'] . '</td></tr>';
|
$o .= '<tr><td>' . $jj['url'] . '</td><td>' . $jj['access'] . '</td><td>' . $jj['register'] . '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user