mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-29 21:25:35 +00:00
6e8f78d355
bug=337825 r=mconnor a=mconnor for checkin to 1.8 branch
115 lines
4.7 KiB
XML
115 lines
4.7 KiB
XML
<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- -->
|
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
#
|
|
# The contents of this file are subject to the Mozilla 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/MPL/
|
|
#
|
|
# 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 the Initial Developer are Copyright (C) 1998
|
|
# the Initial Developer. All Rights Reserved.
|
|
#
|
|
# Contributor(s):
|
|
#
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
# the provisions above, a recipient may use your version of this file under
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
#
|
|
# ***** END LICENSE BLOCK *****
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://browser/skin/bookmarks/bookmarksProperties.css" type="text/css"?>
|
|
|
|
<!DOCTYPE dialog [
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
|
|
%brandDTD;
|
|
<!ENTITY % bmpropsDTD SYSTEM "chrome://browser/locale/bookmarks/bookmarksProperties.dtd">
|
|
%bmpropsDTD;
|
|
]>
|
|
|
|
<dialog id="bmPropsWindow" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
title="&bookmarks.windowtitle.label;"
|
|
onload="Init()" style="width: 30em;"
|
|
ondialogaccept="return Commit();"
|
|
ondialogcancel="return Cancel();">
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
|
|
<script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarks.js"/>
|
|
<script type="application/x-javascript" src="chrome://browser/content/bookmarks/microsummaryPicker.js"/>
|
|
<script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarksProperties.js"/>
|
|
|
|
<vbox id="description-box" hidden="true">
|
|
<separator class="thin"/>
|
|
<hbox align="start">
|
|
<image class="message-icon"/>
|
|
<separator class="thin" orient="vertical"/>
|
|
<description id="bookmarkDescription" flex="1"/>
|
|
</hbox>
|
|
<separator class="thin"/>
|
|
</vbox>
|
|
<vbox class="box-padded">
|
|
<grid>
|
|
<columns>
|
|
<column />
|
|
<column flex="1"/>
|
|
</columns>
|
|
<rows>
|
|
<row align="center">
|
|
<label value="&bookmarks.name.label;" control="name"/>
|
|
<menulist id="name" editable="true" droppable="false"
|
|
oninput="MicrosummaryPicker.onInput(event)">
|
|
<menupopup id="microsummaryMenuPopup">
|
|
<menuitem id="userEnteredNameItem"/>
|
|
<menuitem disabled="true">
|
|
<menuseparator flex="1"/>
|
|
<label value="&bookmarks.micsum.label;"/>
|
|
</menuitem>
|
|
</menupopup>
|
|
</menulist>
|
|
</row>
|
|
<row id="locationrow" align="center">
|
|
<label value="&bookmarks.location.label;" control="url"/>
|
|
<textbox id="url" />
|
|
</row>
|
|
<row id="feedurlrow" align="center">
|
|
<label value="&bookmarks.feedurl.label;" control="feedurl"/>
|
|
<textbox id="feedurl" />
|
|
</row>
|
|
<row id="shortcutrow" align="center">
|
|
<label value="&bookmarks.shortcut.label;" control="shortcut"/>
|
|
<textbox id="shortcut" />
|
|
</row>
|
|
<row id="descriptionrow">
|
|
<label value="&bookmarks.description.label;" control="description"/>
|
|
<textbox multiline="true" wrap="virtual" id="description" flex="1"/>
|
|
</row>
|
|
<checkbox id="webpanel" label="&bookmarks.webpanels.label;"/>
|
|
</rows>
|
|
</grid>
|
|
<separator/>
|
|
</vbox>
|
|
|
|
<!-- By calling this inline, we guarantee the description text node
|
|
will have its bindings before Init() is called, and the
|
|
dialog will be intrinsically sized correctly. -->
|
|
<script type="application/x-javascript">showDescription();</script>
|
|
</dialog>
|