You are here

function skinr_ui_help in Skinr 6.2

Same name and namespace in other branches
  1. 8.2 skinr_ui/skinr_ui.module \skinr_ui_help()
  2. 7.2 skinr_ui.module \skinr_ui_help()

Implementation of hook_help().

File

./skinr_ui.module, line 186

Code

function skinr_ui_help($path, $arg) {
  switch ($path) {
    case 'admin/build/skinr':
    case 'admin/build/skinr/rules':
      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;
    case 'admin/build/skinr/skins':
      return t('This is a placeholder for the actual help text!');
      break;
  }
}