function library_help in Library 7
Same name and namespace in other branches
- 8 library.module \library_help()
- 5.2 library.module \library_help()
- 6.2 library.module \library_help()
- 6 library.module \library_help()
Implements hook_help().
File
- ./
library.module, line 146
Code
function library_help($path, $arg) {
global $user;
switch ($path) {
case 'admin/config/workflow/library':
return t('Below are display options for library items and lists.');
case 'admin/config/workflow/library/duedates':
return t('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.', array(
'@libraryactions' => url('admin/config/workflow/library/actions'),
));
case 'admin/config/workflow/library/actions':
// @ignore rule:sniffer_files_linelength_toolong
return t('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>', array(
'@link' => url('admin/structure/trigger/library'),
'@link2' => url('admin/config/system/actions'),
));
case 'library-items/overdue':
return t('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>.', array(
'@sendemail' => url('library-items/overdue/email'),
));
}
}