extra: import at 3.0.1 beta 1
[mozilla-extra.git] / extensions / cck / browser / resources / content / cckwizard / bookmark.xul
blob92b9bdc19e867c4ed766fd3bca135fe197f90b68
1 <?xml version="1.0"?>
3 <!-- ***** BEGIN LICENSE BLOCK *****
4 #if 0
5 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
7 - The contents of this file are subject to the Mozilla Public License Version
8 - 1.1 (the "License"); you may not use this file except in compliance with
9 - the License. You may obtain a copy of the License at
10 - http://www.mozilla.org/MPL/
12 - Software distributed under the License is distributed on an "AS IS" basis,
13 - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
14 - for the specific language governing rights and limitations under the
15 - License.
17 - The Original Code is the Client Customization Kit (CCK).
19 - The Initial Developer of the Original Code is IBM Corp.
20 - Portions created by the Initial Developer are Copyright (C) 2005
21 - the Initial Developer. All Rights Reserved.
23 - Contributor(s):
25 - Alternatively, the contents of this file may be used under the terms of
26 - either the GNU General Public License Version 2 or later (the "GPL"), or
27 - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 - in which case the provisions of the GPL or the LGPL are applicable instead
29 - of those above. If you wish to allow use of your version of this file only
30 - under the terms of either the GPL or the LGPL, and not to allow others to
31 - use your version of this file under the terms of the MPL, indicate your
32 - decision by deleting the provisions above and replace them with the notice
33 - and other provisions required by the LGPL or the GPL. If you do not delete
34 - the provisions above, a recipient may use your version of this file under
35 - the terms of any one of the MPL, the GPL or the LGPL.
37 #endif
38 - ***** END LICENSE BLOCK ***** -->
40 <!DOCTYPE prefwindow SYSTEM "chrome://cckwizard/locale/cckWizard.dtd">
42 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
45 <dialog id="createbookmark" title="&bookmark.label;"
46 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
47 buttons="accept,cancel"
48 ondialogaccept="return OnBookmarkOK()"
49 onload="OnBookmarkLoad();"
50 width="500"
51 height="200"
53 <script src="chrome://cckwizard/content/cckwizard.js"/>
54 <vbox>
55 <label>&bookmark.description;</label>
56 <label control="bookmarkname">&bookmarkTitle.label;</label>
57 <textbox flex="1" id="bookmarkname" onchange="bookmarkCheckOKButton();" onkeyup="bookmarkCheckOKButton();"/>
58 <label control="bookmarkurl">&bookmarkURL.label;</label>
59 <textbox flex="1" id="bookmarkurl" onchange="bookmarkCheckOKButton();" onkeyup="bookmarkCheckOKButton();"/>
60 <menulist id="bookmarktype" oncommand="bookmarkCheckOKButton();">
61 <menupopup>
62 <menuitem label="&bookmark.label;" value=""/>
63 <menuitem label="&liveBookmark.label;" value="live"/>
64 <menuitem label="&separator.label;" value="separator"/>
65 </menupopup>
66 </menulist>
67 </vbox>
68 </dialog>