summaryrefslogtreecommitdiff
path: root/core/views/quick_edit.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/quick_edit.html.php')
-rw-r--r--core/views/quick_edit.html.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/views/quick_edit.html.php b/core/views/quick_edit.html.php
new file mode 100644
index 00000000..30baf4f8
--- /dev/null
+++ b/core/views/quick_edit.html.php
@@ -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 ?>