You are here

function ckeditor_abbreviation_help in CKEditor Abbreviation 7

Same name and namespace in other branches
  1. 8 ckeditor_abbreviation.module \ckeditor_abbreviation_help()
  2. 2.0.x ckeditor_abbreviation.module \ckeditor_abbreviation_help()

Implements hook_help().

File

./ckeditor_abbreviation.module, line 11
CKEditor abbreviation button.

Code

function ckeditor_abbreviation_help($path, $arg) {
  switch ($path) {
    case 'admin/help#ckeditor_abbreviation':
      $output = '';
      $output .= '<h3>' . t('CKEditor Abbreviation Button') . '</h3>';
      $output .= '<p>' . t('The module adds a CKEditor (WYSIWYG HTML editor) abbreviation button to the editor toolbar and a link to its context menu (only available if you select an existing abbr tag in the editor content).') . '</p>';
      $output .= '<h3>' . t('Uses') . '</h3>';
      $output .= '<dl>';
      $output .= '<dt>' . t('Settings') . '</dt>';
      $output .= '<dd>' . t('In the <a href="@ckeditor-settings">ckeditor profiles</a> under <em>Editor appearance</em> move the icon into the toolbar and check the plugin in the <em>Plugins</em> section.', array(
        '@ckeditor-settings' => url('admin/config/content/ckeditor'),
      )) . '</dd>';
      $output .= '<dd>' . t('If your <a href="@text-formats">text formats</a> that use ckeditor limit the allowed HTML tags, add "&lt;abbr&gt;" to the allowed tags.', array(
        '@text-formats' => url('admin/config/content/formats'),
      )) . '</dd>';
      $output .= '</dl>';
      return $output;
  }
}