summaryrefslogtreecommitdiff
path: root/modules/menu
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-27 10:36:16 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-27 10:36:16 +0000
commit34a5d46022b47be3ef30f32ce1187081918c7ab0 (patch)
treed67a98692037be7a34ecc3e4dba14147efe79c29 /modules/menu
parent2fe78b84f314a598fb6b45ee7624d4b320a47074 (diff)
downloadbrdo-34a5d46022b47be3ef30f32ce1187081918c7ab0.tar.gz
brdo-34a5d46022b47be3ef30f32ce1187081918c7ab0.tar.bz2
- Patch #36465 by chx / Richard: made it possible to link to the front page.
Diffstat (limited to 'modules/menu')
-rw-r--r--modules/menu/menu.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/menu/menu.module b/modules/menu/menu.module
index 37cf137b7..ef22582cf 100644
--- a/modules/menu/menu.module
+++ b/modules/menu/menu.module
@@ -400,7 +400,7 @@ function menu_edit_item_form($edit) {
else {
$form['description'] = array('#type' => 'textfield', '#title' => t('Description'), '#default_value' => $edit['description'], '#description' => t('The description displayed when hovering over a menu item.'));
- $path_description = t('The Drupal path this menu item links to.');
+ $path_description = t('The Drupal path this menu item links to. Enter %front to link to the front page.', array('%front' => theme('placeholder', '<front>')));
if ($edit['type'] & MENU_CREATED_BY_ADMIN) {
$form['path'] = array('#type' => 'textfield', '#title' => t('Path'), '#default_value' => $edit['path'], '#description' => $path_description, '#required' => TRUE);