Mercurial > defr > drupal > core
comparison modules/help/help.module @ 5:2427550111ae 6.2
Drupal 6.2
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:30:08 +0100 |
parents | c1f4ac30525a |
children |
comparison
equal
deleted
inserted
replaced
4:d94886ac61a0 | 5:2427550111ae |
---|---|
1 <?php | 1 <?php |
2 // $Id: help.module,v 1.78 2007/12/14 18:08:46 goba Exp $ | 2 // $Id: help.module,v 1.78.2.1 2008/04/09 21:11:48 goba Exp $ |
3 | 3 |
4 /** | 4 /** |
5 * @file | 5 * @file |
6 * Manages displaying online help. | 6 * Manages displaying online help. |
7 */ | 7 */ |
21 foreach (module_implements('help', TRUE) as $module) { | 21 foreach (module_implements('help', TRUE) as $module) { |
22 $items['admin/help/'. $module] = array( | 22 $items['admin/help/'. $module] = array( |
23 'title' => $module, | 23 'title' => $module, |
24 'page callback' => 'help_page', | 24 'page callback' => 'help_page', |
25 'page arguments' => array(2), | 25 'page arguments' => array(2), |
26 'access arguments' => array('access administration pages'), | |
26 'type' => MENU_CALLBACK, | 27 'type' => MENU_CALLBACK, |
27 'file' => 'help.admin.inc', | 28 'file' => 'help.admin.inc', |
28 ); | 29 ); |
29 } | 30 } |
30 | 31 |