mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-30 16:29:10 -04:00
1) Refactor the ajax calls so that the code is reused across multipl
request types. 2) Enable/Disable the drawer handle buttons depending on the number of items selcted 3) Image rotation works.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
|
||||
|
||||
<a class="gButtonLink ui-corner-all ui-state-default" href="#" ref="edit"
|
||||
<a class="gButtonLink ui-corner-all ui-state-default ui-state-disabled" href="#" ref="edit"
|
||||
disabled="1" title="<?= t("Edit Selection") ?>">
|
||||
<span class="ui-icon ui-icon-pencil">
|
||||
<?= t("Edit Selection") ?>
|
||||
@@ -9,14 +8,14 @@
|
||||
</a>
|
||||
|
||||
<? if (graphics::can("rotate")): ?>
|
||||
<a class="gButtonLink ui-corner-all ui-state-default" href="#" ref="rotate_ccw"
|
||||
<a class="gButtonLink ui-corner-all ui-state-default ui-state-disabled" href="#" ref="rotateCcw"
|
||||
disabled="1" title="<?= t("Rotate 90 degrees counter clockwise") ?>">
|
||||
<span class="ui-icon ui-icon-rotate-ccw">
|
||||
<?= t("Rotate 90 degrees counter clockwise") ?>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a class="gButtonLink ui-corner-all ui-state-default" href="#" ref="rotate_cw"
|
||||
<a class="gButtonLink ui-corner-all ui-state-default ui-state-disabled" href="#" ref="rotateCw"
|
||||
disabled="1" title="<?= t("Rotate 90 degrees clockwise") ?>">
|
||||
<span class="ui-icon ui-icon-rotate-cw">
|
||||
<?= t("Rotate 90 degrees clockwise") ?>
|
||||
@@ -24,14 +23,14 @@
|
||||
</a>
|
||||
<? endif ?>
|
||||
|
||||
<a class="gButtonLink ui-corner-all ui-state-default" href="#" ref="album_cover"
|
||||
<a class="gButtonLink ui-corner-all ui-state-default ui-state-disabled" href="#" ref="albumCover"
|
||||
disabled="1" title="<?= t("Choose this photo as the album cover") ?>">
|
||||
<span class="ui-icon ui-icon-star">
|
||||
<?= t("Choose this photo as the album cover") ?>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
<a class="gButtonLink ui-corner-all ui-state-default" href="#" ref="delete"
|
||||
<a class="gButtonLink ui-corner-all ui-state-default ui-state-disabled" href="#" ref="delete"
|
||||
disabled="1" title="<?= t("Delete selection") ?>">
|
||||
<span class="ui-icon ui-icon-trash">
|
||||
<?= t("Delete selection") ?>
|
||||
|
||||
Reference in New Issue
Block a user