function domain_content_page in Domain Access 6.2
Same name and namespace in other branches
- 5 domain_content/domain_content.module \domain_content_page()
- 7.3 domain_content/domain_content.admin.inc \domain_content_page()
- 7.2 domain_content/domain_content.admin.inc \domain_content_page()
The domain content page of menu callbacks.
Return value
A link group for each domain the user can access.
File
- domain_content/
domain_content.admin.inc, line 16 - Administration pages for Domain Content.
Code
function domain_content_page() {
$content = array();
$content = system_admin_menu_block(menu_get_item('admin/domain/content'));
// Print the list of options.
if (!empty($content)) {
$output = theme('admin_block_content', $content);
}
else {
$output = t('There are no valid domains configured.');
}
return $output;
}