Skip to content
Snippets Groups Projects
Commit 2082dcbc authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent 8ebcf4aa
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -6,12 +6,10 @@ ...@@ -6,12 +6,10 @@
*/ */
function admin_help($section) { function admin_help($section) {
switch ($section) { switch ($section) {
case "admin/system/modules#description": case 'admin/system/modules#description':
return t("Handles the administration pages."); return t('Handles the administration pages.');
case "admin": case 'admin':
return t("Welcome to the administration section. Below are the most recent system events."); 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.");
} }
} }
...@@ -28,7 +26,7 @@ function admin_link($type) { ...@@ -28,7 +26,7 @@ function admin_link($type) {
* Menu callback; provides the main page of the administration section. * Menu callback; provides the main page of the administration section.
*/ */
function admin_main_page() { function admin_main_page() {
print theme("page", watchdog_overview("actions")); watchdog_overview('actions');
} }
?> ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment