You are here

function languageicons_help in Language Icons 6

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

Implementation of hook_help().

File

./languageicons.module, line 27
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 read the <a href="@i18n">on-line help pages</a>.', array(
        '@i18n' => 'http://drupal.org/node/31631',
      )) . '</p>';
      return $output;
    case 'admin/settings/languageicons':
      $output .= '<p>' . t('To enable multilingual support for specific content types go to !configure_content_types.', array(
        '!configure_content_types' => l(t('configure content types'), 'admin/content/types'),
      )) . '</p>';
      return $output;
  }
}