diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-28 21:29:14 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-28 21:29:14 +0000 |
| commit | 12d976b94d6e7b13e1124b2c943c33d8cd0876e8 (patch) | |
| tree | 71241ffcbedbc94472d6a889a8be1b29d71fc50f /modules/organize/views/organize_button_pane.html.php | |
| parent | 1596c9f3da148143a12474596408d788f7c3ba4a (diff) | |
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.
Diffstat (limited to 'modules/organize/views/organize_button_pane.html.php')
| -rw-r--r-- | modules/organize/views/organize_button_pane.html.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/organize/views/organize_button_pane.html.php b/modules/organize/views/organize_button_pane.html.php index a39c643c..9902eafb 100644 --- a/modules/organize/views/organize_button_pane.html.php +++ b/modules/organize/views/organize_button_pane.html.php @@ -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") ?> |
