diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-08-06 11:21:18 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-06 11:21:18 -0700 |
| commit | 7ea05eacd7b8bd18d817996c5240b33b2a79fd18 (patch) | |
| tree | 34d184c0108a905a9ddb8fd9dc8d944446257987 /modules/organize/views | |
| parent | cd5c99668bf578561d978c2549330a338b775199 (diff) | |
| parent | 7ed15ea481565b1364573a814c0529adaf9f2eb7 (diff) | |
Merge branch 'master' of git://github.com/talmdal/gallery3 into talmdal_branch
Diffstat (limited to 'modules/organize/views')
| -rw-r--r-- | modules/organize/views/organize_button_pane.html.php | 5 | ||||
| -rw-r--r-- | modules/organize/views/organize_dialog.html.php | 9 | ||||
| -rw-r--r-- | modules/organize/views/organize_tree.html.php | 17 |
3 files changed, 13 insertions, 18 deletions
diff --git a/modules/organize/views/organize_button_pane.html.php b/modules/organize/views/organize_button_pane.html.php deleted file mode 100644 index 8eced107..00000000 --- a/modules/organize/views/organize_button_pane.html.php +++ /dev/null @@ -1,5 +0,0 @@ -<?php defined("SYSPATH") or die("No direct script access.") ?> -<div id="gOrganizeEditHandleButtonsRight"> - <a id="gMicroThumbDone" href="#" ref="done" - class="gButtonLink ui-corner-all ui-state-default"><?= t("Close") ?></a> -</div> diff --git a/modules/organize/views/organize_dialog.html.php b/modules/organize/views/organize_dialog.html.php index 1e6646e4..4f10297e 100644 --- a/modules/organize/views/organize_dialog.html.php +++ b/modules/organize/views/organize_dialog.html.php @@ -1,6 +1,6 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <div id="gOrganize"> - <h1 style="display:none"><?= t("Organize %name", array("name" => p::purify($item->title))) ?></h1> + <h1 style="display:none"><?= t("Organize %name", array("name" => p::purify($title))) ?></h1> <div id="bd"> <div class="yui-gf"> <div class="yui-u first"> @@ -12,7 +12,7 @@ </div> <div class="yui-gf"> <div id="gOrganizeTreeContainer" class="yui-u first"> - <ul id="gOrganizeAlbumTree" ref="<?= url::site("organize/children/__ITEM_ID__") ?>"> + <ul id="gOrganizeAlbumTree"> <?= $album_tree ?> </ul> </div> @@ -27,7 +27,10 @@ <div id="gOrganizeEditDrawerPanel" class="yui-gf"> </div> <div id="gOrganizeEditDrawerHandle"> - <?= $button_pane ?> + <div id="gOrganizeEditHandleButtonsRight"> + <a id="gMicroThumbDone" href="#" ref="done" + class="gButtonLink ui-corner-all ui-state-default"><?= t("Close") ?></a> + </div> </div> </div> </div> diff --git a/modules/organize/views/organize_tree.html.php b/modules/organize/views/organize_tree.html.php index d64410d8..280bdc5f 100644 --- a/modules/organize/views/organize_tree.html.php +++ b/modules/organize/views/organize_tree.html.php @@ -8,15 +8,12 @@ </span> <?= p::clean($album->title) ?> </div> - <? if (empty($children)): ?> - <div id="gOrganizeChildren-<?= $album->id ?>"></div> - <? else: ?> - <ul id="gOrganizeChildren-<?= $album->id ?>" - class="<?= $album_icon == "ui-icon-plus" ? "gBranchCollapsed" : "" ?>"> - <? foreach ($children as $child): ?> - <?= $child ?> - <? endforeach ?> - </ul> - <? endif ?> + <ul id="gOrganizeChildren-<?= $album->id ?>" + class="<?= $album_icon == "ui-icon-plus" ? "gBranchCollapsed" : "" ?>"> + <li style="display:none"> </li> + <? foreach ($children as $child): ?> + <?= $child ?> + <? endforeach ?> + </ul> </li> |
