diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-12-01 09:57:03 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-01 09:57:03 +0000 |
| commit | 5c303aa07ba7512f1e6a1150d118c47d16678c54 (patch) | |
| tree | dd0f253bfc74e296589b21dd83c3ab8bcdb01392 /core/views | |
| parent | 88a70cbc0420c57b5b989e57de0ee69dbb66ecca (diff) | |
Add access::reset() so that you can specify your intent to use the
parent's permissions.
Update scaffolding to demonstrate that it works.
Diffstat (limited to 'core/views')
| -rw-r--r-- | core/views/welcome.html.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php index 7588682d..8a14b386 100644 --- a/core/views/welcome.html.php +++ b/core/views/welcome.html.php @@ -358,6 +358,11 @@ <?= html::anchor("welcome/add_perm/0/$perm/{$current->album->id}", strtolower($perm), array("class" => "denied")) ?> <? endif ?> <? endforeach ?> + <? if ($current->album->id != 1): ?> + <span class="understate"> + (<?= html::anchor("welcome/reset_all_perms/0/{$current->album->id}", "reset") ?>) + </span> + <? endif; ?> <? $stack[] = "CLOSE"; ?> <? if ($current->children): ?> <? $stack = array_merge($stack, $current->children) ?> |
