# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
@@ -80,12 +80,14 @@
     $use_menu = $menu_link['menu_name'];
     menu_set_active_menu_name($use_menu);
   }
-
   $breadcrumb = drupal_get_breadcrumb();
-  
+  if (variable_get('menu_breadcrumb_append_local_menu', 0) == 1) {
+  $breadcrumb[] = l($menu_item['title'], $_GET['q']);
+  }
   if (variable_get('menu_breadcrumb_append_node_title', 0) == 1) {
     if (variable_get('menu_breadcrumb_append_node_url', 0) == 1) {
-      $breadcrumb[] = l(drupal_get_title(), $_GET['q']);
+      $breadcrumb[] = l($menu_item['title'], $_GET['q']);
+      $breadcrumb[] = l(drupal_get_title(), $menu_item['title']);
     }
     else {
       $breadcrumb[] = drupal_get_title();
@@ -95,7 +97,6 @@
   if (count($breadcrumb) == 1 && variable_get('menu_breadcrumb_hide_on_single_item', 0)) {
     $breadcrumb = array();
   }
-    
   drupal_set_breadcrumb($breadcrumb);
 }
 
@@ -126,6 +127,12 @@
     '#description' => t('Choose whether or not the appended page title should be an URL.'),
     '#default_value' => variable_get('menu_breadcrumb_append_node_url', 0),
   );
+  $form['menu_breadcrumb_append_local_menu'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Append local menu title.'),
+    '#description' => t('Choose whether or not the append local menu title.'),
+    '#default_value' => variable_get('menu_breadcrumb_append_local_menu', 0),
+  );
\ No newline at end of file
 
   $form['menu_breadcrumb_hide_on_single_item'] = array(
     '#type' => 'checkbox',
