You are here

function languageicons_help in Language Icons 7

Same name and namespace in other branches
  1. 8 languageicons.module \languageicons_help()
  2. 6.2 languageicons.module \languageicons_help()
  3. 6 languageicons.module \languageicons_help()

Implements hook_help().

@todo The @handbook link needs to change to a module specific one.

File

./languageicons.module, line 28
Icons for language links.

Code

function languageicons_help($path, $arg) {
  switch ($path) {
    case 'admin/help#languageicons':
      $output = '<p>' . t('This module manages language icons for multilingual sites:') . '</p>';
      $output .= '<ul>';
      $output .= '<li>' . t('Automatically adds icons to language links.') . '</li>';
      $output .= '<li>' . t('Provides related theme functions.') . '</li>';
      $output .= '</ul>';
      $output .= '<p>' . t('For more information, please see <a href="@handbook">the online handbook section</a>.', array(
        '@handbook' => 'http://drupal.org/node/133977',
      )) . '</p>';
      return $output;
    case 'admin/config/regional/language/icons':
      $output = '<p>' . t('To enable multilingual support for specific content types go to <a href="@configure_content_types">configure content types</a>.', array(
        '@configure_content_types' => url('admin/structure/types'),
      )) . '</p>';
      return $output;
  }
}