home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 2001 December
/
VPR0112B.ISO
/
NETSCAPE6
/
N6Setup.exe
/
bin
/
chrome
/
comm.jar
/
content
/
communicator
/
bookmarks
/
addBookmark.xul
< prev
next >
Wrap
Extensible Markup Language
|
2001-05-09
|
5KB
|
135 lines
<?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/"?>
<?xml-stylesheet href="chrome://communicator/skin/bookmarks/bookmarks.css"?>
<?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"
title="&newBookmark.title;" title-selectFolder="&selectFolder.label;"
orient="vertical" class="dialog"
onload="Startup();"
persist="screenX screenY width height"
screenX="24" screenY="24">
<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"/>
<stringbundle id="bookmarksbundle"
src="chrome://communicator/locale/bookmarks/bookmark.properties"/>
<keyset id="dialogKeys"/>
<separator id="nameseparator" 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"/>
<textbox id="name"/>
<spring/>
</row>
<row>
<separator class="thin"/>
<separator class="thin"/>
<spring/>
</row>
<row autostretch="never">
<text class="label" value="&url.label;" accesskey="&url.accesskey;" for="url"/>
<textbox id="url" oninput="onLocationInput();"/>
<spring/>
</row>
</rows>
</grid>
<separator id="createinseparator"/>
<vbox id="folderbox" flex="1">
<separator/>
<hbox flex="1">
<text id="createinlabel" class="label" value="&createin.label;"/>
<hbox flex="1">
<tree id="folders" flex="1" style="height: 12em; width: 0px"
class="inset" ref="NC:BookmarksRoot" datasources="rdf:bookmarks"
template="file-bookmarks-template"
onselect="onTreeSelect();" onkeypress="event.preventBubble();">
<treecolgroup>
<treecol flex="1"/>
</treecolgroup>
<template id="file-bookmarks-template">
<rule iscontainer="true">
<treechildren>
<treeitem uri="rdf:*" persist="open" class="bookmark-item"
rdf:type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
<treerow>
<treecell label="rdf:http://home.netscape.com/NC-rdf#Name"
class="treecell-indent treecell-editable" editable="true"
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>
<vbox>
<button label="&button.newfolder.label;" accesskey="&button.newfolder.accesskey;"
oncommand="createNewFolder();"/>
<button label="&button.defaultfolder.label;"
accesskey="&button.defaultfolder.accesskey;"
oncommand="useDefaultFolder();"/>
</vbox>
</hbox>
</hbox>
<separator/>
</vbox>
<!-- XXX - need to use an "Add Bookmark" string here -->
<box id="okCancelButtonsRight"/>
</window>