diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-09-26 23:05:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-09-26 23:05:14 +0000 |
commit | 0ff789c61d1c2ed332064d1af928fb3dfb4800af (patch) | |
tree | 25954cee35e9a5cff3018bcef4a162e61850dd63 /modules/help | |
parent | 36b90c05e30db562b52f4b278e418e6605fcb4b9 (diff) | |
download | brdo-0ff789c61d1c2ed332064d1af928fb3dfb4800af.tar.gz brdo-0ff789c61d1c2ed332064d1af928fb3dfb4800af.tar.bz2 |
- Patch by Kjartan:
+ Fixed CSS to use the same format as the rest of drupal.css.
+ Added fallback routine for menu icons.
+ Fixed anonymous users not seeing the menu.
+ Added proper access checks for admin and help menu items.
Diffstat (limited to 'modules/help')
-rw-r--r-- | modules/help/help.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/help/help.module b/modules/help/help.module index 9719ba9e9..cb1bb4a73 100644 --- a/modules/help/help.module +++ b/modules/help/help.module @@ -7,7 +7,7 @@ function help_system($field){ } function help_link($type) { - if ($type == "system") { + if ($type == "system" && user_access("access administration pages")) { menu("admin/help/glossary", "glossary", "help_glossary", NULL, 8); menu("admin/help", "help", "help_admin", NULL, 9); } |