function shadowbox_help in Shadowbox 7.4
Same name and namespace in other branches
- 8 shadowbox.module \shadowbox_help()
- 5.2 shadowbox.module \shadowbox_help()
- 5 shadowbox.module \shadowbox_help()
- 6.4 shadowbox.module \shadowbox_help()
- 6 shadowbox.module \shadowbox_help()
- 6.2 shadowbox.module \shadowbox_help()
- 6.3 shadowbox.module \shadowbox_help()
- 7.3 shadowbox.module \shadowbox_help()
Implements hook_help().
File
- ./
shadowbox.module, line 80 - Shadowbox, a JavaScript media viewer application for displaying content in a modal dialogue.
Code
function shadowbox_help($path, $arg) {
switch ($path) {
case 'admin/help#shadowbox':
return t('
<p>Shadowbox is a modal media viewer application akin to !lightbox and !thickbox. You can use it to display images, movies, and other web content in a window that is overlaid on top of the page.</p>
<p>The module is integrated with filefield\'s image element so you can select from a number of different options for displaying images uploaded to nodes and shown in views.</p>
<p>For instructions on manually crafting your links please see the !usage.</p>
<p>This module has !options that work on a site-wide basis.</p>', array(
'!lightbox' => l('lightbox2', 'http://drupal.org/project/lightbox2'),
'!thickbox' => l('thickbox', 'http://drupal.org/project/thickbox'),
'!options' => l('options', 'admin/settings/shadowbox'),
'!usage' => l('official usage guide', 'http://www.shadowbox-js.com/usage.html#markup'),
));
case 'admin/settings/shadowbox':
return t('<p>This page provides access to the Shadowbox settings. The settings here work globally so any changes made here will affect Shadowbox for the entire site.</p>');
}
}