diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-12-30 16:30:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-12-30 16:30:16 +0000 |
commit | 105eef98960c01a9974837de7fd1360e739a1433 (patch) | |
tree | 8002de619f2c5815578b8c169e908eff47c3a8db /modules/watchdog | |
parent | e97c6a73d6b4b038d21b50ae767bb32656718bc4 (diff) | |
download | brdo-105eef98960c01a9974837de7fd1360e739a1433.tar.gz brdo-105eef98960c01a9974837de7fd1360e739a1433.tar.bz2 |
- Small improvement to the links.
Diffstat (limited to 'modules/watchdog')
-rw-r--r-- | modules/watchdog/watchdog.module | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index d09ab9e16..5fef79158 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -21,13 +21,14 @@ function watchdog_link($type) { if ($type == "admin" && user_access("administer watchdog")) { $help = "The watchdog module monitors your website, captures system events in a log and records them to be reviewed by an authorized individual at a later time. The watchdog log is simply a list of events recorded during operation and contains usage data, performance data, errors, warnings and operational information. It is vital to check the watchdog report on a regular basis as it is often the only way to tell what is going on."; - menu_add("watchdog", "admin.php?mod=watchdog", "Display system events.", $help, "site monitoring", 1, 1); - menu_add("user messages", "admin.php?mod=watchdog&type=user", "Display system events", $help, "watchdog"); - menu_add("regular messages", "admin.php?mod=watchdog&type=regular", "Display system events", $help, "watchdog"); - menu_add("special messages", "admin.php?mod=watchdog&type=special", "Display system events", $help, "watchdog"); - menu_add("warning messages", "admin.php?mod=watchdog&type=warning", "Display system events", $help, "watchdog"); - menu_add("error messages", "admin.php?mod=watchdog&type=error", "Display system events", $help, "watchdog"); - menu_add("httpd messages", "admin.php?mod=watchdog&type=httpd", "Display system events", $help, "watchdog"); + menu_add("site monitoring", "admin.php?mod=watchdog", "Monitor your site.", NULL, NULL, 2); + menu_add("watchdog", "admin.php?mod=watchdog&type=all", "Display system events.", $help, "site monitoring", 1, 1); + menu_add("user messages", "admin.php?mod=watchdog&type=user", "Display system events", $help, "watchdog"); + menu_add("regular messages", "admin.php?mod=watchdog&type=regular", "Display system events", $help, "watchdog"); + menu_add("special messages", "admin.php?mod=watchdog&type=special", "Display system events", $help, "watchdog"); + menu_add("warning messages", "admin.php?mod=watchdog&type=warning", "Display system events", $help, "watchdog"); + menu_add("error messages", "admin.php?mod=watchdog&type=error", "Display system events", $help, "watchdog"); + menu_add("httpd messages", "admin.php?mod=watchdog&type=httpd", "Display system events", $help, "watchdog"); } } |