Import from 1.9a8 tarball
[mozilla-extra.git] / extensions / cck / browser / resources / content / cckwizard / searchengine.xul
blobf28c2815cfdd3193ec99c16fbea133e8ffdc0de1
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="createsearchengine" title="&engines.label;"
46 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
47 buttons="accept,cancel"
48 ondialogaccept="return OnSearchEngineOK()"
49 onload="OnSearchEngineLoad()"
50 width="500"
51 height="200"
53 <script src="chrome://cckwizard/content/cckwizard.js"/>
54 <vbox>
55 <label>&engines.description;</label>
56 <label control="searchengine">&engine.label;</label>
57 <hbox align="center">
58 <textbox flex="1" id="searchengine" onchange="searchEngineCheckOKButton();" onkeyup="searchEngineCheckOKButton();"/>
59 <button label="&chooseFile.label;" oncommand="choosefile('searchengine');searchEngineCheckOKButton();"/>
60 </hbox>
61 <label control="searchengineicon">&engineIcon.label;</label>
62 <hbox align="center">
63 <textbox flex="1" id="searchengineicon" onchange="searchEngineCheckOKButton();" onkeyup="searchEngineCheckOKButton();"/>
64 <image id="icon" src='' width='16' height='16'/>
65 <button label="&chooseFile.label;" oncommand="chooseimage('searchengineicon','icon');searchEngineCheckOKButton();"/>
66 </hbox>
67 </vbox>
69 <stringbundleset id="stringbundleset">
70 <stringbundle id="bundle_cckwizard" src="chrome://cckwizard/locale/cckwizard.properties"/>
71 </stringbundleset>
73 </dialog>