From f86a944979de75225dc3ddd00920ebedbfe307ed Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sun, 12 May 2002 15:40:57 +0000 Subject: - applied Stevens link patch. - fixed block permissions. - fixed user admin page errors: http://www.drupal.org/node.php?id=173. - cleaned up common.inc a bit: removed format_info, path_img, field_merge. --- modules/page.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/page.module') diff --git a/modules/page.module b/modules/page.module index 067791074..a16364a6d 100644 --- a/modules/page.module +++ b/modules/page.module @@ -2,7 +2,7 @@ // $Id$ function page_help() { - $output .= "

The page module is used to create a site page. Unlike a story, a site 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 site page is usually linked from the main navigation bar, using whatever text the author wishes. To create a site page without this navigation link, simply skip the form field which requests link text. Administrators are the exclusive authors of site pages (i.e. requires the adinister nodes in ". la("permission", array("mod" => "user", "op" => "permission")) .").

"; + $output .= "

The page module is used to create a site page. Unlike a story, a site 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 site page is usually linked from the main navigation bar, using whatever text the author wishes. To create a site page without this navigation link, simply skip the form field which requests link text. Administrators are the exclusive authors of site pages (i.e. requires the administer nodes in ". la("permission", array("mod" => "user", "op" => "permission")) .").

"; $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 the Site Page author.

"; return $output; } @@ -66,7 +66,7 @@ function page_link($type) { } if ($type == "menu.create" && user_access("administer nodes")) { - $links[] = lm(t("create site page"), array("mod" => "node", "op" => "add", "type" => "page"), t("Add a new site page.")); + $links[] = lm(t("create site page"), array("mod" => "node", "op" => "add", "type" => "page"), "", array("title" => t("Add a new site page."))); } return $links ? $links : array(); -- cgit v1.2.3