You are here

function content_theme_help in Content Theme 7

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

Implements 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 = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Content Theme module is a simple and easy module to use which allows you to use different themes than the site default on content creating, editing, and viewing pages. For more information, see the online handbook entry for <a href="@content_theme">Content Theme module</a>.', array(
        '@content_theme' => 'http://drupal.org/project/content_theme',
      )) . '</p>';
      return $output;
    case 'admin/structure/content-theme':
    case 'admin/structure/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/structure/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/structure/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;
  }
}