Files
gallery3/core/views/quick_pane.html.php
Andy Staudacher a631fe29f3 i18n refactoring: Rename all _() (reserved by gettext) calls to t().
- And refactor printf to our string interpolation / pluralization syntax
- Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-08 17:13:06 +00:00

28 lines
695 B
PHP

<?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 ?>