function welcome_page_help in Util 7
Implements hook_help().
File
- contribs/
welcome_page/ welcome_page.module, line 17 - Allow a site to have a welcome page without allowing other content to be viewed.
Code
function welcome_page_help($path, $args) {
switch ($path) {
case 'admin/help#welcome_page':
return '<p>' . t('The Welcome Page module facilitates a site having a welcome page that can be viewed by anonymous users
while allowing all other content to be limited by other means.') . ' ' . t('Such limitations may be from permissions or access control routines.') . '</p>' . '<p>' . t('One common use is to remove the "access published content" permission from anonymous users,
while allowing this module to show a front page.') . '</p>';
case 'admin/config/system/welcome':
return '<p>' . t('You may set up a freely viewable front (welcome) page here.') . '</p>';
}
}