diff options
-rw-r--r-- | core/views/welcome.html.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php index 8a14b386..031b245f 100644 --- a/core/views/welcome.html.php +++ b/core/views/welcome.html.php @@ -143,6 +143,11 @@ color: red; font-size: 90%; } + + ul#permissions ul { + margin-left: -1em; + list-style-type: none; + } </style> <?= html::script("lib/jquery.js") ?> <?= html::script("lib/jquery.cookie.js") ?> @@ -347,10 +352,11 @@ <? $current = array_pop($stack); ?> <? if ($current != "CLOSE"): ?> <? $current = $album_tree[$current]; ?> - <ul> + <ul id="permissions"> <li> <span class="understate">(<?= $current->album->id ?>)</span> <?= html::anchor("albums/{$current->album->id}", $current->album->title) ?> + » <? foreach (array("view", "edit") as $perm): ?> <? if (access::can(group::EVERYBODY, $perm, $current->album->id)): ?> <?= html::anchor("welcome/deny_perm/0/$perm/{$current->album->id}", strtoupper($perm), array("class" => "allowed")) ?> |