Skip to content
Snippets Groups Projects
Commit 3b3a6d79 authored by Tim Steiner's avatar Tim Steiner
Browse files

[gh-77] Merging from testing into staging

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@483 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent 0ccea22f
No related branches found
No related tags found
No related merge requests found
......@@ -76,10 +76,12 @@ function unl_wdn_breadcrumb($variables)
//Add the intermediate breadcrumbs if they exist
$intermediateBreadcrumbs = theme_get_setting('intermediate_breadcrumbs');
krsort($intermediateBreadcrumbs);
foreach ($intermediateBreadcrumbs as $intermediateBreadcrumb) {
if ($intermediateBreadcrumb['text'] && $intermediateBreadcrumb['href']) {
array_unshift($breadcrumbs, '<a href="' . $intermediateBreadcrumb['href'] . '">' . $intermediateBreadcrumb['text'] . '</a>');
if (is_array($intermediateBreadcrumbs)) {
krsort($intermediateBreadcrumbs);
foreach ($intermediateBreadcrumbs as $intermediateBreadcrumb) {
if ($intermediateBreadcrumb['text'] && $intermediateBreadcrumb['href']) {
array_unshift($breadcrumbs, '<a href="' . $intermediateBreadcrumb['href'] . '">' . $intermediateBreadcrumb['text'] . '</a>');
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment