Mercurial > defr > drupal > core
comparison modules/path/path.module @ 15:4347c45bb494 6.7
Drupal 6.7
| author | Franck Deroche <webmaster@defr.org> |
|---|---|
| date | Tue, 23 Dec 2008 14:32:44 +0100 |
| parents | fff6d4c8c043 |
| children |
comparison
equal
deleted
inserted
replaced
| 14:626fcabfa4b8 | 15:4347c45bb494 |
|---|---|
| 1 <?php | 1 <?php |
| 2 // $Id: path.module,v 1.138.2.2 2008/06/21 18:22:53 dries Exp $ | 2 // $Id: path.module,v 1.138.2.3 2008/11/22 10:49:15 dries Exp $ |
| 3 | 3 |
| 4 /** | 4 /** |
| 5 * @file | 5 * @file |
| 6 * Enables users to rename URLs. | 6 * Enables users to rename URLs. |
| 7 */ | 7 */ |
| 190 '#weight' => 30, | 190 '#weight' => 30, |
| 191 ); | 191 ); |
| 192 $form['path']['path'] = array( | 192 $form['path']['path'] = array( |
| 193 '#type' => 'textfield', | 193 '#type' => 'textfield', |
| 194 '#default_value' => $path, | 194 '#default_value' => $path, |
| 195 '#maxlength' => 250, | 195 '#maxlength' => 128, |
| 196 '#collapsible' => TRUE, | 196 '#collapsible' => TRUE, |
| 197 '#collapsed' => TRUE, | 197 '#collapsed' => TRUE, |
| 198 '#description' => t('Optionally specify an alternative URL by which this node can be accessed. For example, type "about" when writing an about page. Use a relative path and don\'t add a trailing slash or the URL alias won\'t work.'), | 198 '#description' => t('Optionally specify an alternative URL by which this node can be accessed. For example, type "about" when writing an about page. Use a relative path and don\'t add a trailing slash or the URL alias won\'t work.'), |
| 199 ); | 199 ); |
| 200 if ($path) { | 200 if ($path) { |
