summaryrefslogtreecommitdiff
path: root/modules/path/path.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-03-13 21:26:09 +0000
committerDries Buytaert <dries@buytaert.net>2008-03-13 21:26:09 +0000
commitef706b824eb72c3ac3e12ac39b3d0e9d5c99b5ec (patch)
tree3b4f06766c4ae2ad33cc64ae021c43af03aa3a06 /modules/path/path.module
parentb55b45bcead0839fb727c792ce36fffbf54b2ff5 (diff)
downloadbrdo-ef706b824eb72c3ac3e12ac39b3d0e9d5c99b5ec.tar.gz
brdo-ef706b824eb72c3ac3e12ac39b3d0e9d5c99b5ec.tar.bz2
- Patch #229517 by keith.smith and flobruit: de-html selected interface strings.
Diffstat (limited to 'modules/path/path.module')
-rw-r--r--modules/path/path.module13
1 files changed, 5 insertions, 8 deletions
diff --git a/modules/path/path.module b/modules/path/path.module
index 29db175a6..d1ef1b83d 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 = '<p>'. 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.') .'</p>';
- $output .= t('<p>Some examples of URL aliases are:</p>
-<ul>
-<li>user/login =&gt; login</li>
-<li>image/tid/16 =&gt; store</li>
-<li>taxonomy/term/7+19+20+21 =&gt; store/products/whirlygigs</li>
-<li>node/3 =&gt; contact</li>
-</ul>
-');
+ $output .= '<p>'. t('Some examples of URL aliases are:') .'</p>';
+ $output .= '<ul><li>'. t('%alias for the path %path', array('%alias' => 'login', '%path' => 'user/login')) .'</li>';
+ $output .= '<li>'. t('%alias for the path %path', array('%alias' => 'store', '%path' => 'image/tid/16')) .'</li>';
+ $output .= '<li>'. t('%alias for the path %path', array('%alias' => 'store/products/whirlygigs', '%path' => 'taxonomy/term/7+19+20+21')) .'</li>';
+ $output .= '<li>'. t('%alias for the path %path', array('%alias' => 'contact', '%path' => 'node/3')) .'</li></ul>';
$output .= '<p>'. 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 <em>administer url aliases</em> and <em>create url aliases</em>. ') .'</p>';
$output .= '<p>'. 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. ') .'</p>';
$output .= '<p>'. t('For more information, see the online handbook entry for <a href="@path">Path module</a>.', array('@path' => 'http://drupal.org/handbook/modules/path/')) .'</p>';