summaryrefslogtreecommitdiff
path: root/modules/page.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-12 15:40:57 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-12 15:40:57 +0000
commitf86a944979de75225dc3ddd00920ebedbfe307ed (patch)
treef2a1ebeb51fea0ee7ccdc5019c7fa1856893e48c /modules/page.module
parent497ab799ef0cdb40068d84c0bd2eccd2f7a3a480 (diff)
downloadbrdo-f86a944979de75225dc3ddd00920ebedbfe307ed.tar.gz
brdo-f86a944979de75225dc3ddd00920ebedbfe307ed.tar.bz2
- 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.
Diffstat (limited to 'modules/page.module')
-rw-r--r--modules/page.module4
1 files changed, 2 insertions, 2 deletions
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 .= "<p>The page module is used to create a <i>site page</i>. 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 -&gt; moderate -&gt; post -&gt; 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 <i>adinister nodes</i> in ". la("permission", array("mod" => "user", "op" => "permission")) .").</p>";
+ $output .= "<p>The page module is used to create a <i>site page</i>. 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 -&gt; moderate -&gt; post -&gt; 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 <i>administer nodes</i> in ". la("permission", array("mod" => "user", "op" => "permission")) .").</p>";
$output .= "<p>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.</p>";
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();