diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-12-11 16:57:42 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-12-11 16:57:42 +0000 |
commit | 22d317e5c476cc2a05a067d246c9a4772ed92d79 (patch) | |
tree | 6dd92515c6799f2fd1cca7d863f3effad4492511 | |
parent | 5b384d39245f20e80e0635c1b76d7a2e589ffe27 (diff) | |
download | brdo-22d317e5c476cc2a05a067d246c9a4772ed92d79.tar.gz brdo-22d317e5c476cc2a05a067d246c9a4772ed92d79.tar.bz2 |
- Patch #101562 by dvessel: <p>-tag clean ups.
-rw-r--r-- | modules/drupal/drupal.module | 4 | ||||
-rw-r--r-- | modules/filter/filter.module | 3 | ||||
-rw-r--r-- | modules/node/node.module | 6 | ||||
-rw-r--r-- | modules/search/search.module | 4 |
4 files changed, 7 insertions, 10 deletions
diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module index 361395cbf..80968b512 100644 --- a/modules/drupal/drupal.module +++ b/modules/drupal/drupal.module @@ -22,7 +22,7 @@ function drupal_help($section) { </ul> '); $output .= '<p>'. t('The Drupal module administration page allows you to set the xml-rpc server page and other related options.') .'</p>'; - $output .= '<p>'. t('If you maintain a directory of sites, you can list them on a page using the <code>drupal_client_page()</code> function. Sample instructions: + $output .= t('<p>If you maintain a directory of sites, you can list them on a page using the <code>drupal_client_page()</code> function. Sample instructions: </p> <ul> <li>Enable the page module. Select create content >> page.</li> <li>For input format, select PHP code.</li> @@ -33,7 +33,7 @@ print drupal_client_page(); ?> </pre> <li>Save the page.</li> -</ul>') . '</p>'; +</ul>'); $output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@drupal">Drupal page</a>.', array('@drupal' => 'http://drupal.org/handbook/modules/drupal/')) .'</p>'; return $output; diff --git a/modules/filter/filter.module b/modules/filter/filter.module index d95d4d63f..a14eff7c6 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -38,8 +38,7 @@ function filter_help($section) { <p>If you notice some filters are causing conflicts in the output, you can <a href="@rearrange">rearrange them</a>.</p>', array('@rearrange' => url('admin/settings/filters/'. arg(3) .'/order'))); case 'admin/settings/filters/'. arg(3) .'/configure': - return t(' -<p>If you cannot find the settings for a certain filter, make sure you have enabled it on the <a href="@url">view tab</a> first.</p>', array('@url' => url('admin/settings/filters/'. arg(3)))); + return '<p>'. t('If you cannot find the settings for a certain filter, make sure you have enabled it on the <a href="@url">view tab</a> first.', array('@url' => url('admin/settings/filters/'. arg(3)))) .'</p>'; case 'admin/settings/filters/'. arg(3) .'/order': return t(' diff --git a/modules/node/node.module b/modules/node/node.module index 78c9cc13d..432252518 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -32,16 +32,16 @@ function node_help($section) { case 'admin/content/types': return '<p>'. t('Below is a list of all the content types on your site. All posts that exist on your site are instances of one of these content types.') .'</p>'; case 'admin/content/types/add': - return '<p>'. t('To create a new content type, enter the human-readable name, the machine-readable name, and all other relevant fields that are on this page. Once created, users of your site will be able to create posts that are instances of this content type.'); + return '<p>'. t('To create a new content type, enter the human-readable name, the machine-readable name, and all other relevant fields that are on this page. Once created, users of your site will be able to create posts that are instances of this content type.') .'</p>'; } if (arg(0) == 'node' && is_numeric(arg(1)) && arg(2) == 'revisions') { - return t('The revisions let you track differences between multiple versions of a post.'); + return '<p>'. t('The revisions let you track differences between multiple versions of a post.') .'</p>'; } if (arg(0) == 'node' && arg(1) == 'add' && $type = arg(2)) { $type = node_get_types('type', arg(2)); - return filter_xss_admin($type->help); + return '<p>'. filter_xss_admin($type->help) .'</p>'; } } diff --git a/modules/search/search.module b/modules/search/search.module index 3285d6298..a19d62711 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -101,9 +101,7 @@ function search_help($section) { $output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@search">Search page</a>.', array('@search' => 'http://drupal.org/handbook/modules/search/')) .'</p>'; return $output; case 'admin/settings/search': - return t(' -<p>The search engine works by maintaining an index of the words in your site\'s content. You can adjust the settings below to tweak the indexing behaviour. Note that the search requires cron to be set up correctly.</p> -'); + return '<p>'. t('The search engine works by maintaining an index of the words in your site\'s content. You can adjust the settings below to tweak the indexing behaviour. Note that the search requires cron to be set up correctly.') .'</p>'; case 'search#noresults': return t('<ul> <li>Check if your spelling is correct.</li> |