diff options
-rw-r--r-- | modules/gallery/views/permissions_browse.html.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gallery/views/permissions_browse.html.php b/modules/gallery/views/permissions_browse.html.php index 99a1b7bd..519734d6 100644 --- a/modules/gallery/views/permissions_browse.html.php +++ b/modules/gallery/views/permissions_browse.html.php @@ -40,9 +40,13 @@ <ul class="gBreadcrumbs"> <? foreach ($parents as $parent): ?> <li id="item-<?= $parent->id ?>"> + <? if (access::can("edit", $parent)): ?> <a href="javascript:show(<?= $parent->id ?>)"> <?= html::purify($parent->title) ?> </a> + <? else: ?> + <?= html::purify($parent->title) ?> + <? endif ?> </li> <? endforeach ?> <li class="active" id="item-<?= $item->id ?>"> |