Projet

Général

Profil

Révision 950416da

Ajouté par Assos Assos il y a plus de 5 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/rules/modules/path.rules.inc
1 1
<?php
2 2

  
3 3
/**
4
 * @file rules integration for the path module
4
 * @file
5
 * Rules integration for the path module.
5 6
 *
6 7
 * @addtogroup rules
8
 *
7 9
 * @{
8 10
 */
9 11

  
......
26 28
        'source' => array(
27 29
          'type' => 'text',
28 30
          'label' => t('Existing system path'),
29
          'description' => t('Specifies the existing path you wish to alias. For example: node/28, forum/1, taxonomy/term/1+2.') .' '. t('Leave it empty to delete URL aliases pointing to the given path alias.'),
31
          'description' => t('Specifies the existing path you wish to alias. For example: node/28, forum/1, taxonomy/term/1+2.') . ' ' . t('Leave it empty to delete URL aliases pointing to the given path alias.'),
30 32
          'optional' => TRUE,
31 33
        ),
32 34
        'alias' => array(
33 35
          'type' => 'text',
34 36
          'label' => t('URL alias'),
35
          'description' => t('Specify an alternative path by which this data can be accessed. For example, "about" for an about page. Use a relative path and do not add a trailing slash.') .' '. t('Leave it empty to delete URL aliases pointing to the given system path.'),
37
          'description' => t('Specify an alternative path by which this data can be accessed. For example, "about" for an about page. Use a relative path and do not add a trailing slash.') . ' ' . t('Leave it empty to delete URL aliases pointing to the given system path.'),
36 38
          'optional' => TRUE,
37 39
          'cleaning callback' => 'rules_path_clean_replacement_values',
38 40
        ),
......
61 63
        'alias' => array(
62 64
          'type' => 'text',
63 65
          'label' => t('URL alias'),
64
          'description' => t('Specify an alternative path by which the content can be accessed. For example, "about" for an about page. Use a relative path and do not add a trailing slash.') .' '. t('Leave it empty to delete the URL alias.'),
66
          'description' => t('Specify an alternative path by which the content can be accessed. For example, "about" for an about page. Use a relative path and do not add a trailing slash.') . ' ' . t('Leave it empty to delete the URL alias.'),
65 67
          'optional' => TRUE,
66 68
          'cleaning callback' => 'rules_path_clean_replacement_values',
67 69
        ),
......
82 84
        'alias' => array(
83 85
          'type' => 'text',
84 86
          'label' => t('URL alias'),
85
          'description' => t('Specify an alternative path by which the term can be accessed. For example, "content/drupal" for a Drupal term. Use a relative path and do not add a trailing slash.') .' '. t('Leave it empty to delete the URL alias.'),
87
          'description' => t('Specify an alternative path by which the term can be accessed. For example, "content/drupal" for a Drupal term. Use a relative path and do not add a trailing slash.') . ' ' . t('Leave it empty to delete the URL alias.'),
86 88
          'optional' => TRUE,
87 89
          'cleaning callback' => 'rules_path_clean_replacement_values',
88 90
        ),
......
168 170

  
169 171
/**
170 172
 * @}
171
 */
173
 */

Formats disponibles : Unified diff