Quick edit now lets you set the album cover.

This commit is contained in:
Bharat Mediratta
2009-01-20 08:54:15 +00:00
parent be1f9d6892
commit b9e8ce4190
3 changed files with 30 additions and 12 deletions

View File

@@ -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") ?>