From 2082dcbcc9d285694e1e29d2f8abb4b0e9774bee Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Wed, 26 May 2004 18:45:49 +0000 Subject: [PATCH] - Patch by JonBob: fixed problem with theme admin page. Reported by Morbus. --- modules/admin.module | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/modules/admin.module b/modules/admin.module index 276a63a2e563..b4f5e9c2706f 100644 --- a/modules/admin.module +++ b/modules/admin.module @@ -6,12 +6,10 @@ */ function admin_help($section) { switch ($section) { - case "admin/system/modules#description": - return t("Handles the administration pages."); - case "admin": - return t("Welcome to the administration section. Below are the most recent system events."); - case "admin/overview": - return t("This is a complete overview of the site administration page."); + case 'admin/system/modules#description': + return t('Handles the administration pages.'); + case 'admin': + return t('Welcome to the administration section. Below are the most recent system events.'); } } @@ -28,7 +26,7 @@ function admin_link($type) { * Menu callback; provides the main page of the administration section. */ function admin_main_page() { - print theme("page", watchdog_overview("actions")); + watchdog_overview('actions'); } ?> -- GitLab