mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-03 10:19:47 -04:00
Checkpoint the organize module rewrite. At this point, it doesn't really do
anything, but get the dialog up, populate the album tree and intelligently populate the micro thumb grid. Still to do: 1) get the microthumbs laided out ptoperly 2) expand and collapse functionality in the album tree 3) use the album tree to change the content of the micro thumb grid 4) Actually add some functionality At the moment, it supports a callback "" to allow modules to add icons to the organize drawer label. The close button is added outside of this framework as it will always be last.
This commit is contained in:
@@ -1,50 +1,5 @@
|
||||
<?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="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>
|
||||
|
||||
<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="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("Close") ?></a>
|
||||
<a id="gMicroThumbDone" href="#" ref="done"
|
||||
class="gButtonLink ui-corner-all ui-state-default"><?= t("Close") ?></a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user