summaryrefslogtreecommitdiff
path: root/modules/organize/views/organize_dialog.html.php
blob: 6001e0385f01fb849425e82a177938c590e3d8e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php defined("SYSPATH") or die("No direct script access.") ?>
<link rel="stylesheet" type="text/css" href="<?= url::file("modules/organize/css/organize.css") ?>" />
<div id="gOrganize">
  <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">
        <h3><?= t("Albums") ?></h3>
      </div>
      <div id="gMessage" class="yui-u">
        <div class="gInfo"><?= t("Select one or more items to edit; drag and drop items to re-order or move between albums") ?></div>
      </div>
    </div>
    <div class="yui-gf">
      <div id="gOrganizeTreeContainer" class="yui-u first">
        <ul id="gOrganizeAlbumTree">
          <?= $album_tree ?>
        </ul>
      </div>
      <div id="gOrganizeDetail" class="yui-u">
        <div id="gMicroThumbPanel"
           ref="<?= url::site("organize/content/__ITEM_ID__/__OFFSET__") ?>">
          <ul id="gMicroThumbGrid">
            <?= $micro_thumb_grid ?>
          </ul>
        </div>
        <div id="gOrganizeEditDrawer" class="yui-u">
          <div id="gOrganizeEditDrawerPanel" class="yui-gf">
          </div>
          <div id="gOrganizeEditDrawerHandle">
            <div id="gOrganizeEditHandleButtonsRight">
              <a id="gMicroThumbDone" href="#" ref="done"
                 class="gButtonLink ui-corner-all ui-state-default"><?= t("Close") ?></a>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<script type="text/javascript" src="<?= url::file("modules/organize/js/organize.js") ?>"></script>
<script type="text/javascript">
  setTimeout(function() {
    $.organize.init();
  }, 0);
</script>