Commit 2082dcbc authored by Dries's avatar Dries
Browse files

- Patch by JonBob: fixed problem with theme admin page. Reported by Morbus.

parent 8ebcf4aa
......@@ -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');
}
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment