Add a new quick-edit mode for editing photos when viewing albums.

Implement image rotation this way.
This commit is contained in:
Bharat Mediratta
2009-01-03 05:36:16 +00:00
parent 675cc69393
commit e8f1ff580c
8 changed files with 194 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
<? if ($item->type == "photo"): ?>
<div class="rotate-counter-clockwise"
quickedit_link="<?= url::site("quick/rotate/$item->id/ccw?csrf=" . access::csrf_token()) ?>">
<span>
<?= _("Rotate CCW") ?>
</span>
</div>
<div class="rotate-clockwise"
quickedit_link="<?= url::site("quick/rotate/$item->id/cw?csrf=" . access::csrf_token()) ?>">
<span>
<?= _("Rotate CCW") ?>
</span>
</div>
<? endif ?>