if(!empty($parents)): ?>
- $parent = end($parents) ?>
+ foreach ($parents as $parent): ?>
+ if (!module::get_var("th_pear4gallery3", "show_breadcrumbs")) $parent = end($parents); ?>
+ if (!module::get_var("th_pear4gallery3", "show_breadcrumbs")) break; ?>
+ endforeach ?>
endif ?>
= html::purify(text::limit_chars($theme->item()->title, 40)) ?>
@@ -183,7 +186,7 @@
endif ?>
- if (!module::get_var("th_pear4gallery3", "hide_logo")): ?>