You are here

function page_theme_help in Page Theme 7

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

Implements hook_help().

File

./page_theme.module, line 13
This module allows to use different themes than the site default on specific pages.

Code

function page_theme_help($path, $arg) {
  switch ($path) {
    case 'admin/help#page_theme':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Page Theme module is a simple and easy module to use which allows you to use different themes than the site default on specific pages. For more information, see the online handbook entry for <a href="@page_theme">Page Theme module</a>.', array(
        '@page_theme' => 'http://drupal.org/project/page_theme',
      )) . '</p>';
      return $output;
    case 'admin/structure/page-theme':
      $output = '<p>' . t('If pages are several defined, the first theme in the list will be used.') . '</p>';
      $output .= '<p>' . t('Only themes, which are enabled in the <a href="@themes_section">themes section</a>, will be used otherwise the site default theme.', array(
        '@themes_section' => url('admin/appearance'),
      )) . '</p>';
      return $output;
  }
}