summaryrefslogtreecommitdiff
path: root/core/views/quick_pane.html.php
blob: 9a0e56d5da379a2ecef1eb1fb6d28f5fdaf68ca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php defined("SYSPATH") or die("No direct script access.") ?>
<? if ($item->type == "photo"): ?>
<? if (graphics::can("rotate")): ?>
<div class="rotate-counter-clockwise"
     href="<?= url::site("quick/rotate/$item->id/ccw?csrf=" . access::csrf_token()) ?>">
  <span>
    <?= t("Rotate CCW") ?>
  </span>
</div>
<? endif ?>

<div class="edit gDialogLink"
     href="<?= url::site("quick/form_edit/$item->id") ?>">
  <span>
    <?= t("Edit") ?>
  </span>
</div>

<? if (graphics::can("rotate")): ?>
<div class="rotate-clockwise"
     href="<?= url::site("quick/rotate/$item->id/cw?csrf=" . access::csrf_token()) ?>">
  <span>
    <?= t("Rotate CCW") ?>
  </span>
</div>
<? endif ?>
<? endif ?>