summaryrefslogtreecommitdiff
path: root/modules/page
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-23 18:42:43 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-23 18:42:43 +0000
commitb85eb11e113396490720572d11d30cd83c772ba1 (patch)
treec40775ddc2808a40651323d2e35800e5f31305df /modules/page
parentce803acecb4b695567d77d5219218d5ae2b100f4 (diff)
downloadbrdo-b85eb11e113396490720572d11d30cd83c772ba1.tar.gz
brdo-b85eb11e113396490720572d11d30cd83c772ba1.tar.bz2
Patch 5287 by Stefan: multiline help texts should become inside a single $output.
Diffstat (limited to 'modules/page')
-rw-r--r--modules/page/page.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/page/page.module b/modules/page/page.module
index 99b2b8aae..4432601d0 100644
--- a/modules/page/page.module
+++ b/modules/page/page.module
@@ -6,9 +6,9 @@ function page_help($section = "admin/help#page") {
switch ($section) {
case 'admin/help#page':
- $output .= "<p>The page module is used to create a <i>static page</i>. 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 -&gt; moderate -&gt; post -&gt; 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.</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 a site administrator.</p>";
- $output = t($output);
+ $output .= t("
+ <p>The page module is used to create a <i>static page</i>. 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 -&gt; moderate -&gt; post -&gt; 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.</p>
+ <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 a site administrator.</p>");
break;
case 'admin/system/modules#description':
$output = t("Enables the creation of a static pages that can be added to the navigation system.");