function image_gallery_help in Image 7
Same name and namespace in other branches
- 5.2 contrib/image_gallery/image_gallery.module \image_gallery_help()
- 5 contrib/image_gallery/image_gallery.module \image_gallery_help()
- 6 contrib/image_gallery/image_gallery.module \image_gallery_help()
Implementation of hook_help().
File
- contrib/
image_gallery/ image_gallery.module, line 11
Code
function image_gallery_help($path, $arg) {
switch ($path) {
case 'admin/help#image_gallery':
$output = '<p>' . t('The Image gallery module allows you to organize your image nodes into galleries. Images are placed into galleries in the same way as nodes are given taxonomy terms.') . '</p>';
$output .= '<p>' . t('You can:') . '</p>';
$output .= '<ul>';
$output .= '<li>' . t('View your <a href="@image-gallery-url">galleries</a>.', array(
'@image-gallery-url' => url('image'),
)) . '</li>';
$output .= '<li>' . t('Add or change galleries at <a href="@image-gallery-admin-url">Administer » Content » Image galleries</a>.', array(
'@image-gallery-admin-url' => url('admin/content/image'),
)) . '</li>';
$output .= '<li>' . t('Configure gallery settings at <a href="@image-gallery-settings-url">Administer » Site configuration » Image » Image gallery</a>.', array(
'@image-gallery-settings-url' => url('admin/settings/image/image_gallery'),
)) . '</li>';
$output .= '</ul>';
$output .= '<p>' . t('For more information, see the online handbook entry for <a href="@image-url">Image module</a> and its related submodules.', array(
'@image-url' => 'http://drupal.org/handbook/modules/image',
)) . '</p>';
return $output;
case 'admin/content/image':
$output = '<p>' . t('<a href="@image-gallery-url">Image galleries</a> can be used to organize and present groups of images. Galleries may be nested. To add a new gallery click the "add gallery" tab.', array(
'@image-gallery-url' => url('image'),
)) . '</p>';
return $output;
}
}