You are here

function content_theme_help in Content Theme 6

Same name and namespace in other branches
  1. 7.2 content_theme.module \content_theme_help()
  2. 7 content_theme.module \content_theme_help()

Implementation of hook_help().

File

./content_theme.module, line 13
This module allows to use different themes than the site default on content creating, editing, and viewing pages.

Code

function content_theme_help($path, $arg) {
  switch ($path) {
    case 'admin/help#content_theme':
      $output = '<p>' . t('The Content Theme module is a simple and easy module to use which allows to use different themes than the site default on content creating, editing, and viewing pages.') . '</p>';
      $output .= '<p>' . t('For more information, see the online project page for <a href="@content_theme">Content Theme module</a>.', array(
        '@content_theme' => 'http://drupal.org/project/content_theme',
      )) . '</p>';
      return $output;
    case 'admin/build/content-theme':
    case 'admin/build/content-theme/content-node':
      $output = '<p>' . t('<em>Content node themes</em> apply only to its own content and override the content type themes, content wide themes, and the system default theme.') . '</p>';
      return $output;
    case 'admin/build/content-theme/content-type':
      $output = '<p>' . t('<em>Content type themes</em> apply to all content based on its content type and override content wide themes and the system default theme. But these settings can be overridden by content node settings.') . '</p>';
      return $output;
    case 'admin/build/content-theme/content-wide':
      $output = '<p>' . t('<em>Content wide themes</em> apply to all content and override the system default theme. But these settings can be overridden by content type or content node settings.') . '</p>';
      return $output;
  }
}