function archive_help in Archive 6
Same name and namespace in other branches
- 5 archive.module \archive_help()
- 7.2 archive.module \archive_help()
- 7 archive.module \archive_help()
Implementation of hook_help().
File
- ./
archive.module, line 6
Code
function archive_help($path, $arg) {
switch ($path) {
case 'admin/help#archive':
$output = '<p>' . t('The archive module allows your users to browse your content by its type and date of publication. The archive module interface, available at the path <a href="@archive">archive</a>, presents simple controls for selecting a year, month or day. All available posts published within this range are displayed beneath the control. Administrators may select the content types to be displayed. The archive module adds an <em>Archives</em> menu item to the default <em>Navigation</em> menu (the item is disabled by default), and displays the current month and year within an optional block.', array(
'@archive' => url('archive'),
)) . '</p>';
$output .= '<p>' . t('You can') . '</p>';
$output .= '<ul><li>' . t('view your <a href="@archive">archive page</a>.', array(
'@archive' => url('archive'),
)) . '</li>';
$output .= '<li>' . t('enable, position and configure the <em>Current calendar month with archive links</em> block at the <a href="@blocks">blocks administration page</a>.', array(
'@blocks' => url('admin/build/block'),
)) . '</li>';
$output .= '<li>' . t('enable or disable the <em>Archives</em> menu item on the <a href="@menu-administration">navigation menu administration page</a>.', array(
'@menu-administration' => url('admin/build/menu-customize/navigation'),
)) . '</li></ul>';
$output .= '<p>' . t('For more information, see the online handbook entry for <a href="@handbook-page">Archive module</a>.', array(
'@handbook-page' => 'http://drupal.org/handbook/modules/archive/',
)) . '</p>';
return $output;
}
}