# 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. --- /dev/null +++ /Projects/drupal.org/contributions/modules/flash_gallery/flash_gallery.module @@ -90,13 +90,13 @@ $gallery = taxonomy_get_term($tid); $parents = taxonomy_get_parents($tid); foreach ($parents as $parent) { - $breadcrumb[] = array('path' => 'fgallery/'. $parent->tid, 'title' => $parent->name); + $breadcrumb[] = l($parent->name, 'fgallery/'. $parent->tid); } - $breadcrumb[] = array('path' => 'fgallery/', 'title' => t('Image galleries')); + $breadcrumb[] = l(t('Image galleries'), 'fgallery/'); + $breadcrumb[] = l(t('Home'), NULL); $breadcrumb = array_reverse($breadcrumb); drupal_set_title($gallery->name); } - $breadcrumb[] = array('path' => $_GET['q']); drupal_set_breadcrumb($breadcrumb); $output .= theme('flash_gallery', $galleries, $tid); }