You are here

function wikitools_help in Wikitools 7

Same name and namespace in other branches
  1. 5 wikitools.module \wikitools_help()
  2. 6.2 wikitools.module \wikitools_help()
  3. 6 wikitools.module \wikitools_help()

Implements hook_help().

File

./wikitools.module, line 11
A non-intrusive module to have some wiki-like behaviour.

Code

function wikitools_help($path, $arg) {
  switch ($path) {
    case 'admin/help#wikitools':
      $output = '<p>' . t('The wikitools module allows you to set several options for your content to get a more wiki-like behaviour.') . '</p>';
      return $output;
    case 'admin/config/wikitools':
      $output = '<p>' . t('Below you can configure the settings for the wikitools module. The "wiki path" will be the path that will redirect you to the wiki page with the appropriate title; only the wiki node types selected can be accesssed from the wiki path. Choose from the other options to determine the behavior of the wiki path. To check if nodes with duplicate titles exist in your wiki, visit the <a href="!url">duplicate titles</a> page.', array(
        '!url' => url('admin/config/content/wikitools'),
      )) . '</p>';
      return $output;
    case 'admin/config/content/wikitools':
      $output = '<p>' . t('Wikitools allows restrictions on node titles so that all new created nodes have guaranteed unique titles. Titles of nodes that were created before it was included in this option, however, are not guaranteed to have unique page titles. This page lists all nodes that have duplicate page titles, so that their titles may be changed to be unique.') . '</p>';
      return $output;
  }
}