Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <!-- |
| 3 | |
| 4 | Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved. |
| 5 | |
| 6 | This program and the accompanying materials are made available under the |
| 7 | terms of the Eclipse Public License v. 2.0, which is available at |
| 8 | http://www.eclipse.org/legal/epl-2.0. |
| 9 | |
| 10 | This Source Code may also be made available under the following Secondary |
| 11 | Licenses when the conditions for such availability set forth in the |
| 12 | Eclipse Public License v. 2.0 are satisfied: GNU General Public License, |
| 13 | version 2 with the GNU Classpath Exception, which is available at |
| 14 | https://www.gnu.org/software/classpath/license.html. |
| 15 | |
| 16 | SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 |
| 17 | |
| 18 | --> |
| 19 | |
| 20 | <!-- |
| 21 | Although this works... and we may do something like this in the short |
| 22 | term... this is not in the spirit of writing gadgets. Data should be |
| 23 | retrieved via JS and displayed via JS. |
| 24 | --> |
| 25 | <Module id="foo"> |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 26 | <ModulePrefs title="Search Gadget" /> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 27 | <UserPref name="NotUsed" default_value="abc" /> |
| 28 | <Content type="html"> |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame^] | 29 | <![CDATA[ |
| 30 | <form action="http://www.google.com/search" name="f" target="_blank"> |
| 31 | <input name="q" type="text" size="40" title="Google Search" /> |
| 32 | <input name="btnG" type="submit" value="Google Search" /> |
| 33 | </form> |
| 34 | ]]> |
| 35 | </Content> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 36 | </Module> |