You are here

function rotor_help in Rotor Banner 5.7

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

Help hook

File

./rotor.module, line 45
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.<br />' . 'The rotor item will have a tab text that can be configured to be shown or not' . ' in the administration page for the rotor.<br />' . '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;
    case 'admin/settings/rotor':
      return t('');
  }
}