diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-03 05:36:16 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-03 05:36:16 +0000 |
commit | e8f1ff580c6290060d1de8f3e9eceae9028fd1fa (patch) | |
tree | a4c6478e94f6236459a5c61542282329e15de333 /core/views | |
parent | 675cc693939199fe95c08f851bec8f4e4ea6807c (diff) |
Add a new quick-edit mode for editing photos when viewing albums.
Implement image rotation this way.
Diffstat (limited to 'core/views')
-rw-r--r-- | core/views/quick_edit.html.php | 14 |
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 ?> |