You are here

function rotor_help in Rotor Banner 6

Same name and namespace in other branches
  1. 5.7 rotor.module \rotor_help()
  2. 5 rotor.module \rotor_help()
  3. 6.2 rotor.module \rotor_help()
  4. 7 rotor.module \rotor_help()

Implementation of hook_help().

File

./rotor.module, line 66
A rotor banner consists in a set of images that will be changing. This module is made using jquery.

Code

function rotor_help($section) {
  switch ($section) {
    case 'node/add/rotor-item':
      $text = '<p>' . t('A Rotor item is a banner that will appear in the rotor block for advertising' . ' or display important information or images.' . ' The Rotor item will have a tab text that can be configured to be shown or not' . ' in the administration page for the rotor.' . ' The item will show the image if this one is chosen otherwise will show the' . ' content.') . '</p>';
      if (user_access('administer rotor')) {
        $text .= t('You can go to the rotor administration page <a href="@link">here</a>', array(
          '@link' => url('admin/settings/rotor'),
        ));
      }
      return $text;
  }
}