Domain |
Registered users |
domain) {
continue;
}
$domain = elgg_view('output/url', array(
'text' => $domain_info->domain,
'href' => $domain_info->domain
));
$url = elgg_http_add_url_query_elements($vars['url'] . 'admin/user', array('domain' => $domain_info->domain));
// can't use $_GET variables in admin
// otherwise admin_page_handler() tries to call the view: view/name?variable=value
// which clearly doesn't work
// so we'll pass the domain via post
$users = '';
$users .= '' . $domain_info->count . '';
$class = ($i % 2) ? 'odd' : 'even';
echo <<<___HTML
$domain |
$users |
___HTML;
$i++;
}
?>