3
<!-- ***** BEGIN LICENSE BLOCK *****
4
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
6
- The contents of this file are subject to the Mozilla Public License Version
7
- 1.1 (the "License"); you may not use this file except in compliance with
8
- the License. You may obtain a copy of the License at
9
- http://www.mozilla.org/MPL/
11
- Software distributed under the License is distributed on an "AS IS" basis,
12
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13
- for the specific language governing rights and limitations under the
16
- The Original Code is Mozilla Widgets.
18
- The Initial Developer of the Original Code is
20
- Portions created by the Initial Developer are Copyright (C) 2004
21
- the Initial Developer. All Rights Reserved.
24
- Philippe Goetz, Original author
25
- Daniel Glazman (daniel@glazman.org)
27
- Alternatively, the contents of this file may be used under the terms of
28
- either the GNU General Public License Version 2 or later (the "GPL"), or
29
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
30
- in which case the provisions of the GPL or the LGPL are applicable instead
31
- of those above. If you wish to allow use of your version of this file only
32
- under the terms of either the GPL or the LGPL, and not to allow others to
33
- use your version of this file under the terms of the MPL, indicate your
34
- decision by deleting the provisions above and replace them with the notice
35
- and other provisions required by the LGPL or the GPL. If you do not delete
36
- the provisions above, a recipient may use your version of this file under
37
- the terms of any one of the MPL, the GPL or the LGPL.
39
- ***** END LICENSE BLOCK ***** -->
41
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
42
<?xml-stylesheet href="chrome://tipoftheday/content/tipoftheday.css" type="text/css"?>
44
<!DOCTYPE window SYSTEM "chrome://tipoftheday/locale/tipoftheday.dtd">
46
<window id="tipoftheday-window" title="&tipOfTheDayWindow.title;"
48
xmlns:html="http://www.w3.org/1999/xhtml"
50
onunload="CloseTip();"
51
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
53
<script type="application/x-javascript" src="chrome://tipoftheday/content/tipoftheday.js"/>
55
<spacer id="location" offsetY="50" offsetX="50" persist="offsetX offsetY"/>
58
<key keycode="VK_ESCAPE" oncommand="CloseTip()"/>
61
<hbox id="tipoftheday-top-box" flex="1">
62
<vbox id="tipoftheday-left-box" align="center">
63
<image id="tipoftheday-left-image" src="totd.png"/>
65
<label id="tipoftheday-left-label" value="0/0" />
67
<vbox id="tipoftheday-right-box" flex="1">
68
<label id="tipoftheday-right-label" value="&questionBeginning.label;"/>
69
<div id="tipoftheday-right-description" xmlns="http://www.w3.org/1999/xhtml">...</div>
73
<hbox id="tipoftheday-bottom-box" align="center">
74
<checkbox id="tipoftheday-bottom-checkbox" label="&startupCheckbox.label;"
75
flex="1" oncommand="doCheckbox(this);"/>
77
<button id="tipoftheday-previous-button" label="&previousTipButton.label;"
78
oncommand="doNextTip(-1);"/>
79
<button id="tipoftheday-next-button" label="&nextTipButton.label;"
80
oncommand="doNextTip(1);"/>
81
<button id="tipoftheday-close-button" label="&closeTipButton.label;"
82
oncommand="CloseTip();"/>