Commit 22d317e5 authored by Dries's avatar Dries

- Patch #101562 by dvessel: <p>-tag clean ups.

parent 5b384d39
......@@ -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 &gt;&gt; page.</li>
<li>For input format, select PHP code.</li>
......@@ -33,7 +33,7 @@ function drupal_help($section) {
?&gt;
</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;
......
......@@ -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('
......
......@@ -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>';
}
}
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment