Add a border until we can theme this sucker

This commit is contained in:
friendica 2013-09-06 03:13:23 -07:00
parent 77ba2dcb06
commit c09f1a437b

View File

@ -25,7 +25,7 @@ function pubsites_content(&$a) {
if($ret['success']) { if($ret['success']) {
$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 border="1"><tr><td>' . t('Site URL') . '</td><td>' . t('Access Type') . '</td><td>' . t('Registration Policy') . '</td></tr>';
foreach($j['sites'] 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>';
} }