From 1a5fcacdd9d6831a01d8eab8f49674c59c25cb80 Mon Sep 17 00:00:00 2001
From: Dries Buytaert
Date: Thu, 9 Oct 2003 18:53:22 +0000
Subject: - Committed part 3 of Michael's help system improvements: removed the
$help parameter from the menu() function.
---
modules/page.module | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
(limited to 'modules/page.module')
diff --git a/modules/page.module b/modules/page.module
index d7bdc3a3b..0dd848996 100644
--- a/modules/page.module
+++ b/modules/page.module
@@ -1,12 +1,11 @@
The page module is used to create a static page. Unlike a story, a static page is a persistent web page on your site which usually shortcuts the typical lifecycle of user generated content (i.e. submit -> moderate -> post -> comment). A static page is usually linked from the main navigation bar, using whatever text the author wishes. To create a static page without this navigation link, simply skip the link text field.
";
$output .= "Site pages, unlike many other forms of Drupal content, may be made of PHP code in addition to HTML and text. All Drupal objects and functions are available to a site administrator.
";
$output = t($output);
@@ -90,7 +89,7 @@ function page_link($type) {
if ($type == "system") {
if (user_access("maintain static pages")) {
- menu("node/add/page", t("static page"), "page_page", NULL, 0);
+ menu("node/add/page", t("static page"), "page_page", 0);
}
}
--
cgit v1.2.3