summaryrefslogtreecommitdiff
path: root/modules/archive
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-11-01 10:17:34 +0000
committerDries Buytaert <dries@buytaert.net>2005-11-01 10:17:34 +0000
commita8b218827a400cf5ced7db133be0a0f9e2180875 (patch)
treeef94631d313824ad89e204df283551c5c3bb3f53 /modules/archive
parent3f4d18fafc2718a056be07b9bf3c51ecfa610f33 (diff)
downloadbrdo-a8b218827a400cf5ced7db133be0a0f9e2180875.tar.gz
brdo-a8b218827a400cf5ced7db133be0a0f9e2180875.tar.bz2
- Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! /
Diffstat (limited to 'modules/archive')
-rw-r--r--modules/archive/archive.module11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/archive/archive.module b/modules/archive/archive.module
index 066c7622f..4c3597177 100644
--- a/modules/archive/archive.module
+++ b/modules/archive/archive.module
@@ -11,6 +11,17 @@
*/
function archive_help($section) {
switch ($section) {
+ case 'admin/help#archive':
+ $output = '<p>'. t('The archive page allows content to be viewed by date. It also provides a monthly calendar view that users can use to navigate through content.') .'</p>';
+ $output .= '<p>'. t('To view the archive by date, select the date in the calendar. Administrators can enable the <em>browse archives</em> block in block administration to allow users to browse by calendar. Clicking on a date in the monthly calendar view shows the content for that date. Users can navigate to different months using arrows beside the month\'s name in the calendar display. The current date will be highlighted in the calendar.') .'</p>';
+ $output .= t('<p>You can</p>
+<ul>
+<li>view your <a href="%archive">archive by day</a>.</li>
+<li>enable the <em>browse archives</em> block at <a href="%admin-block">administer &gt;&gt; block</a>.</li>
+</ul>
+', array('%archive' => url('archive'), '%admin-block' => url('admin/block')));
+ $output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="%archive">Archive page</a>.', array('%archive' => 'http://www.drupal.org/handbook/modules/archive/')) .'</p>';
+ return $output;
case 'admin/modules#description':
return t('Displays a calendar for navigating older content.');
}