You are here

function image_gallery_help in Image 6

Same name and namespace in other branches
  1. 5.2 contrib/image_gallery/image_gallery.module \image_gallery_help()
  2. 5 contrib/image_gallery/image_gallery.module \image_gallery_help()
  3. 7 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 &raquo; Content &raquo; 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 &raquo; Site configuration &raquo; Image &raquo; 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;
  }
}