You are here

function library_help in Library 6

Same name and namespace in other branches
  1. 8 library.module \library_help()
  2. 5.2 library.module \library_help()
  3. 6.2 library.module \library_help()
  4. 7 library.module \library_help()

Implementation of hook_help()

File

./library.module, line 130

Code

function library_help($path, $arg) {
  global $user;
  switch ($path) {
    case 'admin/settings/library':
      return t('<p>Below are display options for library items and lists. </p>');
    case 'admin/settings/library/duedates':
      return t('<p>Due date and overdue item functionality are disabled by default. Below are options for handling how long items may be unavailable. To enable due date functionality, set a number of days greater than zero for the period an item may be made unavailable for one of the actions below. You may add further actions on the <a href="@libraryactions">Library Actions</a> page.</p>', array(
        '@libraryactions' => url('admin/settings/library/actions'),
      ));
    case 'admin/settings/library/actions':
      return t('<p>Two actions are included by default: Check In and Check Out.  You may rename these by clicking "edit action" or add more actions below. You must always have at least one action that makes items available and one that makes items unavailable. Each library action generates a custom trigger to which additional Drupal actions may be assigned. See <a href="@link">Tiggers</a> and <a href="@link2">Actions</a></p>', array(
        '@link' => url('admin/build/trigger/library'),
        '@link2' => url('admin/settings/actions'),
      ));
    case 'library-items/overdue':
      return t('<p>Below is a list of all overdue library items.  If you are a library administrator, you may <a href="@sendemail">send an email notifying all patrons with overdue items</a>.</p>', array(
        '@sendemail' => url('library-items/overdue/email'),
      ));
  }
}