Révision b0dc3a2e
Ajouté par Julien Enselme il y a plus de 7 ans
drupal7/modules/menu/menu.admin.inc | ||
---|---|---|
281 | 281 |
$form['link_title'] = array( |
282 | 282 |
'#type' => 'textfield', |
283 | 283 |
'#title' => t('Menu link title'), |
284 |
'#maxlength' => 255, |
|
284 | 285 |
'#default_value' => $item['link_title'], |
285 | 286 |
'#description' => t('The text to be used for this link in the menu.'), |
286 | 287 |
'#required' => TRUE, |
... | ... | |
305 | 306 |
'#title' => t('Path'), |
306 | 307 |
'#maxlength' => 255, |
307 | 308 |
'#default_value' => $path, |
308 |
'#description' => t('The path for this menu link. This can be an internal Drupal path such as %add-node or an external URL such as %drupal. Enter %front to link to the front page.', array('%front' => '<front>', '%add-node' => 'node/add', '%drupal' => 'http://drupal.org')),
|
|
309 |
'#description' => t('The path for this menu link. This can be an internal path such as %add-node or an external URL such as %example. Enter %front to link to the front page.', array('%front' => '<front>', '%add-node' => 'node/add', '%example' => 'http://example.com')),
|
|
309 | 310 |
'#required' => TRUE, |
310 | 311 |
); |
311 | 312 |
$form['actions']['delete'] = array( |
Formats disponibles : Unified diff
Update to Drupal 7.52