You are here

function hosting_sites in Hosting 5

Page handler for displaying list of hosted sites on front page

1 string reference to 'hosting_sites'
hosting_site_menu in site/hosting_site.module

File

site/hosting_site.module, line 681

Code

function hosting_sites() {
  if ($list = hosting_site_list()) {
    return $list;
  }
  $create_site_link = l(t('Create a site now?'), 'node/add/site');
  return t("No sites have been created yet. !link", array(
    '!link' => $create_site_link,
  ));
}