You are here

function fusion_apply_ui_help in Fusion Accelerator 7

Same name and namespace in other branches
  1. 7.2 fusion_apply/fusion_apply_ui.module \fusion_apply_ui_help()

Implements hook_help().

File

fusion_apply/fusion_apply_ui.module, line 241
Handles Fusion Apply UI functionality allowing users to apply skins to their site.

Code

function fusion_apply_ui_help($path, $arg) {

  // @todo - rewrite advanced help

  /*
  if (module_exists('advanced_help')) {
    $advanced_help = '<p>' . t('Visit the <a href="@fusion_apply-help">help page</a> for full documentation.', array('@fusion_apply-help' => url('admin/advanced_help/fusion'))). '</p>';
  }
  else {
    $advanced_help = '<p>' . t('Please download and enable the <a href="http://drupal.org/project/advanced_help">Advanced Help</a> module for full Fusion documentation.') . '</p>';
  }
  */
  switch ($path) {
    case 'admin/appearance/fusion':
      return '<p>' . t('Below is a list of all skin configurations in use on this site.') . '</p>';

    // . $advanced_help;
    case 'admin/appearance/fusion/rule':
      return '<p>' . t('Below is a list of skin rules. Rules can be created for <em>region</em> and <em>page</em> elements.  Start by creating a new rule.') . '</p>';
    case 'admin/appearance/fusion/rule/add':
      return '<p>' . t('Choose the type of rule you wish to create. Page rules apply classes to the &lt;body&gt; tag. Region rules apply to the region wrapper &lt;div&gt; tag.') . '</p>';
    case 'admin/appearance/fusion/list/import':
      return '<p>' . t('To import skin configurations, paste exported code and click the "Import" button.') . '</p>';
    case 'admin/appearance/fusion/list/export':
      return '<p>' . t('To export skin configurations, ensure the correct theme is selected and click the "Export" button.') . '</p>';
      break;
  }
}