diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-01-20 08:54:15 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-20 08:54:15 +0000 |
| commit | b9e8ce4190a2fee59b2b111be1bc485e2cc5eb7f (patch) | |
| tree | 1487c3036b6430bfdbce5aa1feabed9f9be26595 /core/views | |
| parent | be1f9d6892bb766ccbc8b09b99c39eab373463d7 (diff) | |
Quick edit now lets you set the album cover.
Diffstat (limited to 'core/views')
| -rw-r--r-- | core/views/quick_pane.html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/views/quick_pane.html.php b/core/views/quick_pane.html.php index dfae4d15..d3977a39 100644 --- a/core/views/quick_pane.html.php +++ b/core/views/quick_pane.html.php @@ -28,8 +28,8 @@ </span> </a> -<? if ($item->type == "photo"): ?> -<a class="cover" href="#" +<? if ($item->type == "photo" && access::can("edit", $item->parent())): ?> +<a class="cover" href="<?= url::site("quick/make_album_cover/$item->id?csrf=" . access::csrf_token()) ?>" title="<?= t("Select as album cover") ?>"> <span> <?= t("Select as album cover") ?> |
