summaryrefslogtreecommitdiff
path: root/core/views/quick_pane.html.php
blob: 2a8c66ef533a90d0963fceddb6ca4c15b7701645 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php defined("SYSPATH") or die("No direct script access.") ?>
<? if ($item->type == "photo"): ?>

<a class="edit gDialogLink" href="<?= url::site("quick/form_edit/$item->id") ?>"
      title="<?= t("Edit this item's metadata") ?>">
  <span>
    <?= t("Edit this item") ?>
  </span>
</a>

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

<a class="move" href="<?= url::site("quick/form_edit/$item->id") ?>"
      title="<?= t("Move this item to another album") ?>">
  <span>
    <?= t("Move this item to another album") ?>
  </span>
</a>

<a class="cover" href="#"
      title="<?= t("Select as album cover") ?>">
  <span>
    <?= t("Select as album cover") ?>
  </span>
</a>

<a class="delete" href="#"
      title="<?= t("Delete this item") ?>">
  <span>
    <?= t("Delete this item") ?>
  </span>
</a>

<a class="options" href="#"
      title="<?= t("Additional options") ?>">
  <span>
    <?= t("Additional options") ?>
  </span>
</a>

<? endif ?>