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/_overlayNameSpaceWrapper.js" /> |
---|
43 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_upgrade.js" /> |
---|
44 | <script type="application/x-javascript" src="chrome://v_identity/content/modules/vI_account.js" /> |
---|
45 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_storage.js" /> |
---|
46 | <script type="application/x-javascript" src="chrome://v_identity/content/modules/vI_identityData.js" /> |
---|
47 | <script type="application/x-javascript" src="chrome://v_identity/content/modules/vI_helper.js" /> |
---|
48 | <script type="application/x-javascript" src="chrome://v_identity/content/notificationbar/vI_notificationBar.js"/> |
---|
49 | <script type="application/x-javascript" src="chrome://v_identity/content/modules/vI_rdfDatasource.js" /> |
---|
50 | <script type="application/x-javascript" src="chrome://v_identity/content/vI_storageExtras.js" /> |
---|
51 | |
---|
52 | <stringbundle id="virtualIdentityExtension_TextBoxBundle" src="chrome://v_identity/locale/vI_upgrade.properties" /> |
---|
53 | <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties" /> |
---|
54 | |
---|
55 | <wizardpage id="introPage" |
---|
56 | label="&vident.upgrade.intro.label;" description="&vident.upgrade.intro.description;" |
---|
57 | pageid="intro" next="features" > |
---|
58 | <groupbox> |
---|
59 | <caption label="&vident.upgrade.intro.caption;"/> |
---|
60 | <browser id="virtualIdentityExtension_TextBox.intro" type="content" class="vI_htmlTextBox" disablehistory="true" |
---|
61 | documentStyle="background-color: -moz-dialog; font: -moz-dialog;" /> |
---|
62 | </groupbox> |
---|
63 | </wizardpage> |
---|
64 | <!-- features --> |
---|
65 | <wizardpage onpageshow="virtualIdentityExtension.upgrade.prepare(this);" |
---|
66 | label="&vident.upgrade.features.label;" description="&vident.upgrade.features.description;" |
---|
67 | pageid="features" next="license" > |
---|
68 | <groupbox> |
---|
69 | <caption label="&vident.upgrade.features.caption;"/> |
---|
70 | <browser id="virtualIdentityExtension_TextBox.features" type="content" class="vI_htmlTextBox" disablehistory="true" |
---|
71 | documentStyle="background-color: -moz-dialog; font: -moz-dialog;" /> |
---|
72 | </groupbox> |
---|
73 | </wizardpage> |
---|
74 | <!-- GPL license --> |
---|
75 | <wizardpage onpageshow="virtualIdentityExtension.upgrade.prepare(this);" |
---|
76 | label="&vident.upgrade.license.label;" description="&vident.upgrade.license.description;" |
---|
77 | pageid="license" next="upgrade" > |
---|
78 | <groupbox> |
---|
79 | <caption label="&vident.upgrade.license.caption;"/> |
---|
80 | <browser id="virtualIdentityExtension_TextBox.license" type="content" class="vI_htmlTextBox" disablehistory="true" |
---|
81 | cssSource="vI_upgrade_license.css" |
---|
82 | documentStyle="background-color: -moz-dialog; font: -moz-dialog;" /> |
---|
83 | </groupbox> |
---|
84 | </wizardpage> |
---|
85 | <!-- upgrade procedure --> |
---|
86 | <wizardpage onpageshow="virtualIdentityExtension.upgrade.prepare(this);virtualIdentityExtension.upgrade.upgrade();" |
---|
87 | label="&vident.upgrade.upgrade.label;" description="&vident.upgrade.upgrade.description;" |
---|
88 | pageid="upgrade" next="finish" > |
---|
89 | <groupbox> |
---|
90 | <caption label="&vident.upgrade.upgrade.caption;"/> |
---|
91 | <textbox id="vIDebugBox" upgrade="true" multiline="true" readonly="true" /> |
---|
92 | </groupbox> |
---|
93 | </wizardpage> |
---|
94 | <!-- finish --> |
---|
95 | <wizardpage onpageshow="virtualIdentityExtension.upgrade.prepare(this);" |
---|
96 | label="&vident.upgrade.finish.label;" description="&vident.upgrade.finish.description;" |
---|
97 | pageid="finish" > |
---|
98 | <groupbox> |
---|
99 | <caption label="&vident.upgrade.finish.caption;"/> |
---|
100 | <browser id="virtualIdentityExtension_TextBox.finish" type="content" class="vI_htmlTextBox" disablehistory="true" |
---|
101 | documentStyle="background-color: -moz-dialog; font: -moz-dialog;" /> |
---|
102 | </groupbox> |
---|
103 | </wizardpage> |
---|
104 | <hbox> |
---|
105 | <spacer flex="1" /> |
---|
106 | <button class="v_identity_logo v_identity_logo_button" |
---|
107 | label="&vident.vidLogo.label; &vident.version;" |
---|
108 | oncommand="virtualIdentityExtension.upgrade.openURL('http://www.absorb.it/virtual-id')" tooltiptext="&vident.upgrade.vidLogo.tooltiptext;" /> |
---|
109 | <spacer width="10px" /> |
---|
110 | <label id="extVersion" value="&vident.version;" hidden="true" /> |
---|
111 | </hbox> |
---|
112 | </wizard> |
---|