<?xml version="1.0"?>

<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<?xml-stylesheet href="chrome://global/skin/"?>
<?xml-stylesheet href="chrome://browser/skin/places/places.css"?>
<?xml-stylesheet href="chrome://browser/content/places/places.css"?>

<?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?>

<!DOCTYPE window [
  <!ENTITY % moveBookmarksDTD SYSTEM "chrome://browser/locale/places/moveBookmarks.dtd">
  %moveBookmarksDTD;
]>

<dialog id="moveBookmarkDialog"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        ondialogaccept="return gMoveBookmarksDialog.onOK(event);"
        title="&window.title;"
        onload="gMoveBookmarksDialog.init();"
        style="&window.style;"
        screenX="24"
        screenY="24"
        persist="screenX screenY width height">

  <script type="application/javascript"
          src="chrome://browser/content/places/moveBookmarks.js"/>

  <hbox flex="1">
    <label id="movetolabel" value="&moveTo.label;" control="foldersTree"/>
    <hbox flex="1">
      <tree id="foldersTree"
            class="placesTree"
            flex="1"
            type="places"
            seltype="single"
            hidecolumnpicker="true">
        <treecols>
          <treecol id="title" flex="1" primary="true" hideheader="true"/>
        </treecols>
        <treechildren id="placesListChildren" view="placesList" flex="1"/>
      </tree>
      <vbox>
        <button id="newFolderButton"
                label="&newFolderButton.label;"
                accesskey="&newFolderButton.accesskey;"
                oncommand="gMoveBookmarksDialog.newFolder();"/>
      </vbox>
    </hbox>
  </hbox>
</dialog>
