You are here

function skinr_help in Skinr 7.2

Same name and namespace in other branches
  1. 8.2 skinr.module \skinr_help()
  2. 6.2 skinr.module \skinr_help()
  3. 6 skinr.module \skinr_help()

Implements hook_help().

File

./skinr.module, line 23
Handles core Skinr functionality.

Code

function skinr_help($path, $arg) {
  switch ($path) {
    case 'admin/help#skinr':
      if (module_exists('advanced_help')) {
        return t('Visit the <a href="@skinr-help">help page</a> for full documentation.', array(
          '@skinr-help' => url('admin/advanced_help/skinr'),
        ));
      }
      else {
        return t('Please download and enable the <a href="http://drupal.org/project/advanced_help">Advanced Help</a> module for full Skinr documentation.');
      }
      break;
  }
}