diff options
Diffstat (limited to 'core/views/quick_pane.html.php')
-rw-r--r-- | core/views/quick_pane.html.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/core/views/quick_pane.html.php b/core/views/quick_pane.html.php new file mode 100644 index 00000000..88da9d3e --- /dev/null +++ b/core/views/quick_pane.html.php @@ -0,0 +1,21 @@ +<?php defined("SYSPATH") or die("No direct script access.") ?> +<? if ($item->type == "photo"): ?> +<div class="rotate-counter-clockwise" + href="<?= url::site("quick/rotate/$item->id/ccw?csrf=" . access::csrf_token()) ?>"> + <span> + <?= _("Rotate CCW") ?> + </span> +</div> +<div class="edit gDialogLink" + href="<?= url::site("quick/form_edit/$item->id") ?>"> + <span> + <?= _("Edit") ?> + </span> +</div> +<div class="rotate-clockwise" + href="<?= url::site("quick/rotate/$item->id/cw?csrf=" . access::csrf_token()) ?>"> + <span> + <?= _("Rotate CCW") ?> + </span> +</div> +<? endif ?> |