summaryrefslogtreecommitdiff
path: root/modules/organize/views/organize_button_pane.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-05-21 01:31:29 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-05-21 01:31:29 +0000
commita9e3692027dc767b340242ed18fe7184cbfd883d (patch)
tree125e9d3cdb28c5acdd34e1bc15fe80df030bf8e7 /modules/organize/views/organize_button_pane.html.php
parentf24c8f66ea9673d812c882dd7db6fbe49bd01dfb (diff)
1) This provides the editting functionality for albums and photos in the
organize feature. 2) Remove the tag functionality at this point 3) Added a callback to handle validating conflicting names (only used by organize at this point. 4) Closes #231
Diffstat (limited to 'modules/organize/views/organize_button_pane.html.php')
-rw-r--r--modules/organize/views/organize_button_pane.html.php75
1 files changed, 43 insertions, 32 deletions
diff --git a/modules/organize/views/organize_button_pane.html.php b/modules/organize/views/organize_button_pane.html.php
index 9902eafb..cd780d5e 100644
--- a/modules/organize/views/organize_button_pane.html.php
+++ b/modules/organize/views/organize_button_pane.html.php
@@ -1,39 +1,50 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
+<div id="gOrganizeEditHandleButtonsLeft">
+ <a class="gButtonLink ui-corner-all ui-state-default ui-state-disabled" href="#" ref="edit"
+ disabled="1" title="<?= t("Open Drawer") ?>">
+ <span class="ui-icon ui-icon-arrowthickstop-1-n"><?= t("Open Drawer") ?></span>
+ </a>
-<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") ?>
- </span>
-</a>
+ <a class="gButtonLink ui-corner-all ui-state-default ui-state-disabled" href="#" ref="close"
+ disabled="1" title="<?= t("Close Drawer") ?>" style="display: none">
+ <span class="ui-icon ui-icon-arrowthickstop-1-s"><?= t("Close Drawer") ?></span>
+ </a>
-<? if (graphics::can("rotate")): ?>
-<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>
+ <? if (graphics::can("rotate")): ?>
+ <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 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") ?>
- </span>
-</a>
-<? endif ?>
+ <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") ?></span>
+ </a>
+ <? endif ?>
-<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 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 ui-state-disabled" href="#" ref="delete"
- disabled="1" title="<?= t("Delete selection") ?>">
- <span class="ui-icon ui-icon-trash">
- <?= t("Delete selection") ?>
- </span>
-</a>
+ <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") ?></span>
+ </a>
+</div>
+<div id="gOrganizeEditHandleButtonsMiddle">
+ <a class="gButtonLink ui-corner-all ui-state-default" href="#" ref="submit"
+ title="<?= t("Apply Changes") ?>" style="display: none" >
+ <span class="ui-icon ui-icon-check"><?= t("Apply Changes") ?></span>
+ </a>
+ <a class="gButtonLink ui-corner-all ui-state-default" href="#" ref="reset"
+ title="<?= t("Reset Form") ?>" style="display: none" >
+ <span class="ui-icon ui-icon-closethick"><?= t("Reset Form") ?></span>
+ </a>
+</div>
+<div id="gOrganizeEditHandleButtonsRight">
+ <a id="gMicroThumbSelectAll" href="#" ref="select-all" class="gButtonLink ui-corner-all ui-state-default"><?= t("Select all") ?></a>
+ <a id="gMicroThumbUnselectAll" href="#" ref="unselect-all" style="display: none" class="gButtonLink ui-corner-all ui-state-default"><?= t("Deselect all") ?></a>
+ <a id="gMicroThumbDone" href="#" ref="done" class="gButtonLink ui-corner-all ui-state-default"><?= t("Done") ?></a>
+</div>