summaryrefslogtreecommitdiffstats
path: root/webbrowser/components/places/content/moveBookmarks.xul
blob: b6e75f3da915cf307f5b0f0def200ec798472128 (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
48
49
50
51
52
53
<?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>