source: content/vI_upgrade.xul @ 826c34

ng_0.9
Last change on this file since 826c34 was 826c34, checked in by rene <rene@…>, 10 years ago

replaced bundleString-Objects with inline code

  • Property mode set to 100644
File size: 4.8 KB
Line 
1<?xml version="1.0"?>
2<!-- ***** BEGIN LICENSE BLOCK *****
3   - This program is free software; you can redistribute it and/or modify
4   - it under the terms of the GNU General Public License as published by
5   - the Free Software Foundation; either version 2 of the License, or
6   - (at your option) any later version.
7
8   - This program is distributed in the hope that it will be useful,
9   - but WITHOUT ANY WARRANTY; without even the implied warranty of
10   - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11   - GNU General Public License for more details.
12
13   - You should have received a copy of the GNU General Public License
14   - along with this program; if not, write to the Free Software
15   - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
16
17   - The Original Code is the Virtual Identity Extension.
18
19   - The Initial Developer of the Original Code is Rene Ejury.
20   - Portions created by the Initial Developer are Copyright (C) 2007
21   - the Initial Developer. All Rights Reserved.
22
23   - Contributor(s):
24   - ***** END LICENSE BLOCK ***** -->
25
26<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>   
27<?xml-stylesheet href="chrome://v_identity/skin/v_identity.css" type="text/css"?>
28
29<!DOCTYPE overlay [
30<!ENTITY % versionDTD SYSTEM "chrome://v_identity/content/_version.dtd">
31%versionDTD;
32<!ENTITY % vIdentDTD SYSTEM "chrome://v_identity/locale/v_identity.dtd">
33%vIdentDTD;
34<!ENTITY % upgradeDTD SYSTEM "chrome://v_identity/locale/vI_upgrade.dtd">
35%upgradeDTD;
36]>
37
38<wizard id="upgradeWizard" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
39        title="&vident.upgrade.dlgTitle.label;"
40    zlevel="6" onload="virtualIdentityExtension.upgrade.init(); virtualIdentityExtension.upgrade.prepare(document.getElementById('introPage'));" onunload="virtualIdentityExtension.upgrade.clean();" >
41
42<script type="application/x-javascript" src="chrome://v_identity/content/vI_upgrade.js" />
43<script type="application/x-javascript" src="chrome://v_identity/content/vI_storage.js" />
44
45
46    <wizardpage id="introPage"
47        label="&vident.upgrade.intro.label;" description="&vident.upgrade.intro.description;"
48        pageid="intro" next="features" >
49        <groupbox>
50            <caption label="&vident.upgrade.intro.caption;"/>
51            <browser id="virtualIdentityExtension_TextBox.intro" type="content" class="vI_htmlTextBox" disablehistory="true"
52                documentStyle="background-color: -moz-dialog; font: -moz-dialog;" />
53        </groupbox>
54    </wizardpage>
55    <!-- features -->
56    <wizardpage onpageshow="virtualIdentityExtension.upgrade.prepare(this);"
57        label="&vident.upgrade.features.label;" description="&vident.upgrade.features.description;"
58        pageid="features" next="license" >
59        <groupbox>
60            <caption label="&vident.upgrade.features.caption;"/>
61            <browser id="virtualIdentityExtension_TextBox.features" type="content" class="vI_htmlTextBox" disablehistory="true"
62                documentStyle="background-color: -moz-dialog; font: -moz-dialog;" />
63        </groupbox>
64    </wizardpage>
65    <!-- GPL license -->
66    <wizardpage onpageshow="virtualIdentityExtension.upgrade.prepare(this);"
67        label="&vident.upgrade.license.label;" description="&vident.upgrade.license.description;"
68        pageid="license" next="upgrade" >
69        <groupbox>
70            <caption label="&vident.upgrade.license.caption;"/>
71            <browser id="virtualIdentityExtension_TextBox.license" type="content" class="vI_htmlTextBox" disablehistory="true"
72                 cssSource="vI_upgrade_license.css"
73                 documentStyle="background-color: -moz-dialog; font: -moz-dialog;" />
74        </groupbox>
75    </wizardpage>
76    <!-- upgrade procedure -->
77    <wizardpage onpageshow="virtualIdentityExtension.upgrade.prepare(this);virtualIdentityExtension.upgrade.upgrade();"
78        label="&vident.upgrade.upgrade.label;" description="&vident.upgrade.upgrade.description;"
79        pageid="upgrade" next="finish" >
80        <groupbox>
81            <caption label="&vident.upgrade.upgrade.caption;"/>
82            <textbox id="virtualIdentityExtension_debugBox" />
83        </groupbox>
84    </wizardpage>   
85    <!-- finish -->
86    <wizardpage onpageshow="virtualIdentityExtension.upgrade.prepare(this);"
87        label="&vident.upgrade.finish.label;" description="&vident.upgrade.finish.description;"
88        pageid="finish" >
89        <groupbox>
90            <caption label="&vident.upgrade.finish.caption;"/>
91            <browser id="virtualIdentityExtension_TextBox.finish" type="content" class="vI_htmlTextBox" disablehistory="true"
92                documentStyle="background-color: -moz-dialog; font: -moz-dialog;" />
93        </groupbox>
94    </wizardpage>   
95    <hbox>
96    <spacer flex="1" />
97    <button class="virtualIdentityExtension_Logo virtualIdentityExtension_Logo_button"
98        label="&vident.vidLogo.label; &vident.version;"
99        oncommand="virtualIdentityExtension.upgrade.openURL('http://www.absorb.it/virtual-id')" tooltiptext="&vident.upgrade.vidLogo.tooltiptext;" />
100    <spacer width="10px" />
101    <label id="extVersion" value="&vident.version;" hidden="true" />
102    </hbox>
103</wizard>
Note: See TracBrowser for help on using the repository browser.