summaryrefslogtreecommitdiff
path: root/modules/menu
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-07-29 17:28:23 +0000
committerDries Buytaert <dries@buytaert.net>2007-07-29 17:28:23 +0000
commit80ff5109a774a69473e2a9d74a49b8dc4da03e8f (patch)
tree62e999724a21b492ad7f722685d44cc697b88a1b /modules/menu
parenta78ac962952ec63080789422751038275c3c62fb (diff)
downloadbrdo-80ff5109a774a69473e2a9d74a49b8dc4da03e8f.tar.gz
brdo-80ff5109a774a69473e2a9d74a49b8dc4da03e8f.tar.bz2
- Patch #162708 by Eaton and Earl: add support for image buttons to FAPI3.
This is a small form API extension (doesn't break existing code) that facilitates the Drupal 6 upgrade of the Views module. A good example of why it can be beneficial to start upgrading your modules early on in the code freeze. ;)
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 cc72f8ac9..abe5889d5 100644
--- a/modules/menu/menu.module
+++ b/modules/menu/menu.module
@@ -478,7 +478,7 @@ function menu_delete_menu_confirm(&$form_state, $menu) {
if ($num_links) {
$caption .= '<p>'. format_plural($num_links, '<strong>Warning:</strong> There is currently 1 menu item in %title. It will be deleted (system-defined items will be reset).', '<strong>Warning:</strong> There are currently @count menu items in %title. They will be deleted (system-defined items will be reset).', array('%title' => $menu['title'])) .'</p>';
}
- $caption .= '<p>'. t('This action cannot be undone.') .'</p>';
+ $caption .= '<p>'. t('This action cannot be undone.') .'</p>';
return confirm_form($form, t('Are you sure you want to delete the custom menu %title?', array('%title' => $menu['title'])), 'admin/build/menu-customize/'. $menu['menu_name'], $caption, t('Delete'));
}