~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/composer/extensions/tipoftheday/content/tipoftheday.xul

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
 
 
3
<!-- ***** BEGIN LICENSE BLOCK *****
 
4
   - Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
5
   -
 
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/
 
10
   -
 
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
 
14
   - License.
 
15
   -
 
16
   - The Original Code is Mozilla Widgets.
 
17
   -
 
18
   - The Initial Developer of the Original Code is
 
19
   - Philippe Goetz.
 
20
   - Portions created by the Initial Developer are Copyright (C) 2004
 
21
   - the Initial Developer. All Rights Reserved.
 
22
   -
 
23
   - Contributor(s):
 
24
   -   Philippe Goetz, Original author
 
25
   -   Daniel Glazman (daniel@glazman.org)
 
26
   -
 
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.
 
38
   -
 
39
   - ***** END LICENSE BLOCK ***** -->
 
40
 
 
41
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
 
42
<?xml-stylesheet href="chrome://tipoftheday/content/tipoftheday.css" type="text/css"?>
 
43
 
 
44
<!DOCTYPE window SYSTEM "chrome://tipoftheday/locale/tipoftheday.dtd">
 
45
 
 
46
<window id="tipoftheday-window" title="&tipOfTheDayWindow.title;"
 
47
    onfocus="doFocus();"
 
48
    xmlns:html="http://www.w3.org/1999/xhtml"
 
49
    onload="Init();"
 
50
    onunload="CloseTip();"
 
51
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
52
 
 
53
  <script type="application/x-javascript" src="chrome://tipoftheday/content/tipoftheday.js"/>
 
54
 
 
55
  <spacer id="location" offsetY="50" offsetX="50" persist="offsetX offsetY"/>
 
56
 
 
57
  <keyset>
 
58
    <key keycode="VK_ESCAPE" oncommand="CloseTip()"/>
 
59
  </keyset>
 
60
 
 
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"/>
 
64
      <spacer flex="1"/>
 
65
      <label id="tipoftheday-left-label" value="0/0" />
 
66
    </vbox>
 
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>
 
70
    </vbox>
 
71
  </hbox>
 
72
 
 
73
  <hbox id="tipoftheday-bottom-box" align="center">
 
74
    <checkbox id="tipoftheday-bottom-checkbox" label="&startupCheckbox.label;"
 
75
              flex="1" oncommand="doCheckbox(this);"/>
 
76
    <spacer flex="1"/>
 
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();"/>
 
83
  </hbox>
 
84
 
 
85
</window>
 
86