summaryrefslogtreecommitdiff
path: root/admin.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-01-04 11:03:15 +0000
committerDries Buytaert <dries@buytaert.net>2003-01-04 11:03:15 +0000
commit8a636465767fc47f37a0768d45b86ca53a722085 (patch)
tree85d014902b87d9a695358fae16b64726b882b5f4 /admin.php
parent7a6b8e3d3cc26d242b3c7cbb2eaf252d69b8192f (diff)
downloadbrdo-8a636465767fc47f37a0768d45b86ca53a722085.tar.gz
brdo-8a636465767fc47f37a0768d45b86ca53a722085.tar.bz2
- Added an extra parameter to watchdog() which lets you specifiy an "action"
or "operation" link. - Made the main page of the administration section show an overview of all watchdog entries with such action link. - Fixed typo in PostgreSQL database scheme.
Diffstat (limited to 'admin.php')
-rw-r--r--admin.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/admin.php b/admin.php
index 7531c2c75..e90d0e482 100644
--- a/admin.php
+++ b/admin.php
@@ -62,8 +62,13 @@ function admin_page($mod) {
print "<small>$help</small><br /><br />";
}
+ if ($mod) {
+ print module_invoke($mod, "admin");
+ }
+ else {
+ print watchdog_overview("actions");
+ }
- module_invoke($mod, "admin");
print "</div>";
db_query("DELETE FROM menu");