You are here

function hosting_sites in Hostmaster (Aegir) 6

Page handler for displaying list of hosted sites on front page

1 string reference to 'hosting_sites'
hosting_site_menu in modules/hosting/site/hosting_site.module
Implementation of hook_menu()

File

modules/hosting/site/hosting_site.module, line 91

Code

function hosting_sites() {
  if ($list = drupal_get_form('hosting_site_list_form')) {
    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,
  ));
}