diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-28 11:38:05 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-28 11:38:05 -0700 |
| commit | 8ef78de3f72f695225ac87223d0815235a630417 (patch) | |
| tree | f2d749126bcd7e54db095e5091fcd1a4e4844929 /modules/gallery/views/permissions_browse.html.php | |
| parent | 2a21f3bc80758a20635534b837c11836a72b202c (diff) | |
| parent | fbc551771153a6664da2c3a3a82e22b912bb3cdc (diff) | |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/views/permissions_browse.html.php')
| -rw-r--r-- | modules/gallery/views/permissions_browse.html.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/gallery/views/permissions_browse.html.php b/modules/gallery/views/permissions_browse.html.php index e432f56b..0b27336e 100644 --- a/modules/gallery/views/permissions_browse.html.php +++ b/modules/gallery/views/permissions_browse.html.php @@ -6,8 +6,8 @@ url: form_url.replace("__ITEM__", id), success: function(data) { $("#g-edit-permissions-form").html(data); - $(".active").removeClass("active"); - $("#item-" + id).addClass("active"); + $(".g-active").removeClass("g-active"); + $("#item-" + id).addClass("g-active"); } }); } @@ -38,18 +38,18 @@ <p><?= t("Edit permissions for album:") ?></p> <ul class="g-breadcrumbs"> + <? $i = 0 ?> <? foreach ($parents as $parent): ?> - <li id="item-<?= $parent->id ?>"> + <li id="item-<?= $parent->id ?>"<? if ($i == 0) print " class=\"g-first\"" ?>> <? if (access::can("edit", $parent)): ?> - <a href="javascript:show(<?= $parent->id ?>)"> - <?= html::purify($parent->title) ?> - </a> + <a href="javascript:show(<?= $parent->id ?>)"> <?= html::purify($parent->title) ?> </a> <? else: ?> <?= html::purify($parent->title) ?> <? endif ?> </li> + <? $i++ ?> <? endforeach ?> - <li class="active" id="item-<?= $item->id ?>"> + <li class="g-active" id="item-<?= $item->id ?>"> <a href="javascript:show(<?= $item->id ?>)"> <?= html::purify($item->title) ?> </a> |
