From b85eb11e113396490720572d11d30cd83c772ba1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 23 Jan 2004 18:42:43 +0000 Subject: Patch 5287 by Stefan: multiline help texts should become inside a single $output. --- modules/page/page.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/page/page.module') 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 .= "

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); + $output .= t(" +

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.

+

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.

"); break; case 'admin/system/modules#description': $output = t("Enables the creation of a static pages that can be added to the navigation system."); -- cgit v1.2.3