diff --git a/modules/filter/filter.module b/modules/filter/filter.module index 522b7a0f9e029ffc91fdd20722ad8fb243014b1c..3c98887b285a12215ea241978c35f07d7fed28b3 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -182,9 +182,8 @@ function filter_filter_tips($delta, $format, $long = FALSE) { return $output; } - $output .= t(' -

This site allows HTML content. While learning all of HTML may feel intimidating, learning how to use a very small number of the most basic HTML "tags" is very easy. This table provides examples for each tag that is enabled on this site.

-

For more information see W3C\'s HTML Specifications or use your favorite search engine to find other sites that explain HTML.

'); + $output .= '

'. t('This site allows HTML content. While learning all of HTML may feel intimidating, learning how to use a very small number of the most basic HTML "tags" is very easy. This table provides examples for each tag that is enabled on this site.') .'

'; + $output .= '

'. t('For more information see W3C\'s HTML Specifications or use your favorite search engine to find other sites that explain HTML.', array('@html-specifications' => 'http://www.w3.org/TR/html/')) .'

'; $tips = array( 'a' => array( t('Anchors are used to make links to other pages.'), ''. variable_get('site_name', 'Drupal') .''), 'br' => array( t('By default line break tags are automatically added, so use this tag to add additional ones. Use of this tag is different because it is not used with an open/close pair like all the others. Use the extra " /" inside the tag to maintain XHTML 1.0 compatibility'), t('Text with
line break')), @@ -242,9 +241,9 @@ function filter_filter_tips($delta, $format, $long = FALSE) { } $output .= theme('table', $header, $rows); - $output .= t(' -

Most unusual characters can be directly entered without any problems.

-

If you do encounter problems, try using HTML character entities. A common example looks like & for an ampersand & character. For a full list of entities see HTML\'s entities page. Some of the available characters include:

'); + $output .= '

'. t('Most unusual characters can be directly entered without any problems.') .'

'; + $output .= '

'. t('If you do encounter problems, try using HTML character entities. A common example looks like & for an ampersand & character. For a full list of entities see HTML\'s entities page. Some of the available characters include:', array('@html-entities' => 'http://www.w3.org/TR/html4/sgml/entities.html')) .'

'; + $entities = array( array( t('Ampersand'), '&'), array( t('Greater than'), '>'), diff --git a/modules/node/node.module b/modules/node/node.module index 9213311fbd23edd60a869889dbd70f3930cf4148..18d36a77f66f809d458d39a683a4fb5679aa8582 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1734,9 +1734,9 @@ function node_page_default() { $output .= theme('pager', NULL, variable_get('default_nodes_main', 10)); } else { - $default_message = t('

Welcome to your new Drupal website!

Please follow these steps to set up and start using your website:

'); + $default_message = '

'. t('Welcome to your new Drupal website!') .'

'; + $default_message .= '

'. t('Please follow these steps to set up and start using your website:') .'

'; $default_message .= '
    '; - $default_message .= '
  1. '. t('Configure your website Once logged in, visit the administration section, where you can customize and configure all aspects of your website.', array('@admin' => url('admin'), '@config' => url('admin/settings'))) .'
  2. '; $default_message .= '
  3. '. t('Enable additional functionality Next, visit the module list and enable features which suit your specific needs. You can find additional modules in the Drupal modules download section.', array('@modules' => url('admin/build/modules'), '@download_modules' => 'http://drupal.org/project/modules')) .'
  4. '; $default_message .= '
  5. '. t('Customize your website design To change the "look and feel" of your website, visit the themes section. You may choose from one of the included themes or download additional themes from the Drupal themes download section.', array('@themes' => url('admin/build/themes'), '@download_themes' => 'http://drupal.org/project/themes')) .'
  6. '; diff --git a/modules/path/path.module b/modules/path/path.module index 29db175a626eabf674f77a7b459c1139107f618e..d1ef1b83dc859bb2a5854cf261f5adf7cb7a21ad 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -13,14 +13,11 @@ function path_help($path, $arg) { switch ($path) { case 'admin/help#path': $output = '

    '. t('The path module allows you to specify aliases for Drupal URLs. Such aliases improve readability of URLs for your users and may help internet search engines to index your content more effectively. More than one alias may be created for a given page.') .'

    '; - $output .= t('

    Some examples of URL aliases are:

    - -'); + $output .= '

    '. t('Some examples of URL aliases are:') .'

    '; + $output .= ''; $output .= '

    '. t('The path module enables appropriately permissioned users to specify an optional alias in all node input and editing forms, and provides an interface to view and edit all URL aliases. The two permissions related to URL aliasing are administer url aliases and create url aliases. ') .'

    '; $output .= '

    '. t('This module also provides user-defined mass URL aliasing capabilities, which is useful if you wish to uniformly use URLs different from the default. For example, you may want to have your URLs presented in a different language. Access to the Drupal source code on the web server is required to set up mass URL aliasing. ') .'

    '; $output .= '

    '. t('For more information, see the online handbook entry for Path module.', array('@path' => 'http://drupal.org/handbook/modules/path/')) .'

    '; diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 9ec72a6d24eda568e9b02055a10532c3a3b904f5..23981b5c5fb7c78542a4a96d0a7cedc3b664bb31 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1300,7 +1300,7 @@ function system_performance_settings() { $form['bandwidth_optimizations'] = array( '#type' => 'fieldset', '#title' => t('Bandwidth optimizations'), - '#description' => t('

    Drupal can automatically optimize external resources like CSS and JavaScript, which can reduce both the size and number of requests made to your website. CSS files can be aggregated and compressed into a single file, while JavaScript files are aggregated (but not compressed). These optional optimizations may reduce server load, bandwidth requirements, and page loading times.

    These options are disabled if you have not set up your files directory, or if your download method is set to private.

    ') + '#description' => '

    '. t('Drupal can automatically optimize external resources like CSS and JavaScript, which can reduce both the size and number of requests made to your website. CSS files can be aggregated and compressed into a single file, while JavaScript files are aggregated (but not compressed). These optional optimizations may reduce server load, bandwidth requirements, and page loading times.') .'

    '. t('These options are disabled if you have not set up your files directory, or if your download method is set to private.') .'

    ' ); $directory = file_directory_path();