mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-07 03:59:12 -04:00
Add a new quick-edit mode for editing photos when viewing albums.
Implement image rotation this way.
This commit is contained in:
14
core/views/quick_edit.html.php
Normal file
14
core/views/quick_edit.html.php
Normal 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 ?>
|
||||
Reference in New Issue
Block a user