summaryrefslogtreecommitdiff
path: root/modules/page/page.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-11-20 21:51:23 +0000
committerDries Buytaert <dries@buytaert.net>2003-11-20 21:51:23 +0000
commit4bdac4333ba34adc61e19180b5f1bcde692615e2 (patch)
treeed30f0417f99d0257bef231f6652d1399d0e520a /modules/page/page.module
parent9000f825cc63e6b52ad4f19f633d67aa16fef799 (diff)
downloadbrdo-4bdac4333ba34adc61e19180b5f1bcde692615e2.tar.gz
brdo-4bdac4333ba34adc61e19180b5f1bcde692615e2.tar.bz2
- Patch by JonBob:
Phase 2 of the menu system integration project. This unifies the interface used by admin and non-admin pages, and deprecates the _page hook in favor of explicit callbacks from menu(). Breadcrumbs, titles, and help text go away as a result of this patch; they will return in the phase 3 patch, printed by the theme.
Diffstat (limited to 'modules/page/page.module')
-rw-r--r--modules/page/page.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/page/page.module b/modules/page/page.module
index aa75896e3..5b5629136 100644
--- a/modules/page/page.module
+++ b/modules/page/page.module
@@ -89,7 +89,7 @@ function page_link($type) {
if ($type == "system") {
if (user_access("maintain static pages")) {
- menu("node/add/page", t("static page"), "page", 0);
+ menu("node/add/page", t("static page"), "node_page", 0);
}
}