function hosting_welcome in Hosting 6.2
Provide a welcome page for anonymous users.
To override this page, users should simply change the site_frontpage setting to point to another page. The translation system can also be used.
1 string reference to 'hosting_welcome'
- hosting_menu in ./
hosting.module - Implementation of hook_menu().
File
- ./
hosting.module, line 336 - Hosting module.
Code
function hosting_welcome() {
drupal_set_title(t('Welcome to Aegir'));
$links = array(
'@www' => url("http://www.aegirproject.org"),
'@libre' => url("https://en.wikipedia.org/wiki/Free_software"),
'@community' => url("http://community.aegirproject.org"),
'@faq' => url("http://community.aegirproject.org/faq"),
'@handbook' => url("http://community.aegirproject.org/handbook"),
'@help' => url("http://community.aegirproject.org/help"),
'@team' => url("http://community.aegirproject.org/maintainers"),
'@irc' => url("irc://irc.freenode.net/aegir"),
);
return '<div>' . t("The <a href=\"@www\" target=\"_blank\">Aegir hosting system</a> allows developers and site administrators to automate many of the common tasks associated with deploying and managing large websites. Aegir makes it easy to install, upgrade, deploy, and backup an entire network of Drupal sites.<br /><br /> Aegir is a <a href=\"@libre\" target=\"_blank\">free (libre) software</a> project. On the <a href=\"@community\" target=\"_blank\">community site</a> you can find answers to <a href=\"@faq\" target=\"_blank\">frequently asked questions</a>, extensive <a href=\"@handbook\" target=\"_blank\">documentation</a> and other <a href=\"@help\" target=\"_blank\">support resources</a>. The <a href=\"@team\" target=\"_blank\">core team</a> and other users are often available to chat via IRC in <a href=\"@irc\" target=\"_blank\">#aegir</a>.", $links) . '</div>';
}