2001-01-22 13:36:40 +03:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!-- -*- Mode: HTML; indent-tabs-mode: nil; -*- -->
|
|
|
|
<!--
|
|
|
|
|
|
|
|
The contents of this file are subject to the Netscape Public
|
|
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
|
|
except in compliance with the License. You may obtain a copy of
|
|
|
|
the License at http://www.mozilla.org/NPL/
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS
|
|
|
|
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
implied. See the License for the specific language governing
|
|
|
|
rights and limitations under the License.
|
|
|
|
|
|
|
|
The Original Code is mozilla.org code.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
|
|
|
Communications Corporation. Portions created by Netscape are
|
|
|
|
Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
|
|
|
Ben Goodger <ben@netscape.com> (Original Author)
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/"?>
|
2001-03-09 03:08:52 +03:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/bookmarks/bookmarks.css"?>
|
2001-01-22 13:36:40 +03:00
|
|
|
|
|
|
|
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
|
|
|
|
|
|
|
|
<!DOCTYPE window [
|
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
|
|
|
%brandDTD;
|
|
|
|
<!ENTITY % addBookmarkDTD SYSTEM "chrome://communicator/locale/bookmarks/addBookmark.dtd">
|
|
|
|
%addBookmarkDTD;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<window id="newBookmarkWindow" style="width: 36em;"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2001-01-31 13:58:21 +03:00
|
|
|
title="&newBookmark.title;" title-selectFolder="&selectFolder.label;"
|
|
|
|
orient="vertical" class="dialog"
|
2001-01-22 13:36:40 +03:00
|
|
|
onload="Startup();">
|
|
|
|
|
2001-03-11 15:17:34 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarksOverlay.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarksTree.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/bookmarks/addBookmark.js"/>
|
2001-01-22 13:36:40 +03:00
|
|
|
|
|
|
|
<stringbundle id="bookmarksbundle"
|
|
|
|
src="chrome://communicator/locale/bookmarks/bookmark.properties"/>
|
|
|
|
|
|
|
|
|
|
|
|
<keyset id="keyset"/>
|
|
|
|
|
|
|
|
<separator class="thin"/>
|
|
|
|
|
|
|
|
<grid id="bookmarknamegrid">
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column flex="5"/>
|
|
|
|
<column flex="1"/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row autostretch="never">
|
|
|
|
<text class="label" value="&name.label;" accesskey="&name.accesskey;" for="name"/>
|
2001-03-22 03:15:47 +03:00
|
|
|
<textbox id="name"/>
|
2001-01-31 13:58:21 +03:00
|
|
|
<spring/>
|
2001-01-22 13:36:40 +03:00
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<separator class="thin"/>
|
2001-01-31 13:58:21 +03:00
|
|
|
<spring/>
|
2001-01-22 13:36:40 +03:00
|
|
|
</row>
|
|
|
|
<row autostretch="never">
|
|
|
|
<text class="label" value="&url.label;" accesskey="&url.accesskey;" for="url"/>
|
2001-03-22 03:15:47 +03:00
|
|
|
<textbox id="url" oninput="onLocationInput();"/>
|
2001-01-31 13:58:21 +03:00
|
|
|
<spring/>
|
2001-01-22 13:36:40 +03:00
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
|
2001-01-31 13:58:21 +03:00
|
|
|
<separator id="createinseparator"/>
|
2001-01-22 13:36:40 +03:00
|
|
|
|
Fixes for numerous bookmarks bugs, e.g. 68496, 50276, 68395, 68537, 68545,
68985, various hangs, crashes, glitches etc. 68545, 68985, 68395 r=jag;
Implement new bookmarks sidebar panel. a=hyatt
2001-03-11 10:32:24 +03:00
|
|
|
<box id="folderbox" orient="vertical" flex="1">
|
2001-01-22 13:36:40 +03:00
|
|
|
<separator/>
|
2001-01-31 13:58:21 +03:00
|
|
|
<grid flex="1">
|
2001-01-22 13:36:40 +03:00
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column flex="1"/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row autostretch="never" valign="top">
|
2001-01-31 13:58:21 +03:00
|
|
|
<text id="createinlabel" class="label" value="&createin.label;"/>
|
|
|
|
<box autostretch="never" valign="top" flex="1">
|
2001-01-22 13:36:40 +03:00
|
|
|
<tree id="folders" flex="1" style="height: 12em; width: 0px"
|
|
|
|
class="inset" ref="NC:BookmarksRoot" datasources="rdf:bookmarks"
|
2001-01-31 13:58:21 +03:00
|
|
|
template="file-bookmarks-template"
|
2001-02-05 16:26:31 +03:00
|
|
|
onselect="onTreeSelect();" onkeypress="event.preventBubble();">
|
2001-01-22 13:36:40 +03:00
|
|
|
<treecols>
|
|
|
|
<treecol flex="1"/>
|
|
|
|
</treecols>
|
|
|
|
|
|
|
|
<template id="file-bookmarks-template">
|
|
|
|
<rule iscontainer="true">
|
|
|
|
<treechildren>
|
2001-03-09 03:08:52 +03:00
|
|
|
<treeitem uri="rdf:*" persist="open" class="bookmark-item"
|
2001-01-22 13:36:40 +03:00
|
|
|
rdf:type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
|
|
|
|
<treerow>
|
2001-03-22 03:59:29 +03:00
|
|
|
<treecell label="rdf:http://home.netscape.com/NC-rdf#Name"
|
2001-02-05 16:26:31 +03:00
|
|
|
class="treecell-indent treecell-editable" editable="true"
|
2001-01-22 13:36:40 +03:00
|
|
|
src="rdf:http://home.netscape.com/NC-rdf#Icon"
|
|
|
|
rdf:type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
|
|
|
|
loading="rdf:http://home.netscape.com/NC-rdf#loading"/>
|
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
|
|
|
</treechildren>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<treechildren id="folderKids" flex="1"/>
|
|
|
|
</tree>
|
2001-01-31 13:58:21 +03:00
|
|
|
<box orient="vertical">
|
2001-03-22 03:59:29 +03:00
|
|
|
<button label="&button.newfolder.label;" accesskey="&button.newfolder.accesskey;"
|
2001-01-31 13:58:21 +03:00
|
|
|
oncommand="createNewFolder();"/>
|
2001-03-22 03:59:29 +03:00
|
|
|
<button label="&button.defaultfolder.label;"
|
2001-01-31 13:58:21 +03:00
|
|
|
accesskey="&button.defaultfolder.accesskey;"
|
|
|
|
oncommand="useDefaultFolder();"/>
|
|
|
|
</box>
|
2001-01-22 13:36:40 +03:00
|
|
|
</box>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
<separator/>
|
|
|
|
</box>
|
Fixes for numerous bookmarks bugs, e.g. 68496, 50276, 68395, 68537, 68545,
68985, various hangs, crashes, glitches etc. 68545, 68985, 68395 r=jag;
Implement new bookmarks sidebar panel. a=hyatt
2001-03-11 10:32:24 +03:00
|
|
|
|
|
|
|
<!-- XXX - todo - remove all the create-in code -->
|
2001-01-22 13:36:40 +03:00
|
|
|
<box valign="bottom">
|
|
|
|
<box autostretch="never">
|
Fixes for numerous bookmarks bugs, e.g. 68496, 50276, 68395, 68537, 68545,
68985, various hangs, crashes, glitches etc. 68545, 68985, 68395 r=jag;
Implement new bookmarks sidebar panel. a=hyatt
2001-03-11 10:32:24 +03:00
|
|
|
<checkbox id="dontaskagain"
|
2001-03-22 03:59:29 +03:00
|
|
|
label="&alwayscreateinfolder.label;"
|
2001-01-22 13:36:40 +03:00
|
|
|
accesskey="&alwayscreateinfolder.accesskey;"/>
|
|
|
|
</box>
|
|
|
|
<spring flex="1"/>
|
Fixes for numerous bookmarks bugs, e.g. 68496, 50276, 68395, 68537, 68545,
68985, various hangs, crashes, glitches etc. 68545, 68985, 68395 r=jag;
Implement new bookmarks sidebar panel. a=hyatt
2001-03-11 10:32:24 +03:00
|
|
|
<box id="okCancelButtonsRight"/>
|
2001-01-22 13:36:40 +03:00
|
|
|
</box>
|
|
|
|
|
2001-03-22 03:15:47 +03:00
|
|
|
</window>
|