|
1 <?xml version="1.0"?> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 |
|
6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
|
7 |
|
8 <!DOCTYPE wizard [ |
|
9 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> |
|
10 %brandDTD; |
|
11 <!ENTITY % profileDTD SYSTEM "chrome://mozapps/locale/profile/createProfileWizard.dtd"> |
|
12 %profileDTD; |
|
13 ]> |
|
14 |
|
15 <wizard id="createProfileWizard" |
|
16 title="&newprofile.title;" |
|
17 xmlns:html="http://www.w3.org/1999/xhtml" |
|
18 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
|
19 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
20 onwizardfinish="return onFinish();" |
|
21 onload="initWizard();" |
|
22 style="&window.size;"> |
|
23 |
|
24 <stringbundle id="bundle_profileManager" |
|
25 src="chrome://mozapps/locale/profile/profileSelection.properties"/> |
|
26 |
|
27 <script type="application/javascript" src="chrome://mozapps/content/profile/createProfileWizard.js"/> |
|
28 |
|
29 <wizardpage id="explanation" onpageshow="enableNextButton();"> |
|
30 <description>&profileCreationExplanation_1.text;</description> |
|
31 <description>&profileCreationExplanation_2.text;</description> |
|
32 <description>&profileCreationExplanation_3.text;</description> |
|
33 <spacer flex="1"/> |
|
34 #ifdef XP_MACOSX |
|
35 <description>&profileCreationExplanation_4Mac.text;</description> |
|
36 #else |
|
37 #ifdef XP_UNIX |
|
38 <description>&profileCreationExplanation_4Gnome.text;</description> |
|
39 #else |
|
40 <description>&profileCreationExplanation_4.text;</description> |
|
41 #endif |
|
42 #endif |
|
43 </wizardpage> |
|
44 |
|
45 <wizardpage id="createProfile" onpageshow="initSecondWizardPage();"> |
|
46 <description>&profileCreationIntro.text;</description> |
|
47 |
|
48 <label accesskey="&profilePrompt.accesskey;" control="ProfileName">&profilePrompt.label;</label> |
|
49 <textbox id="profileName" value="&profileDefaultName;" |
|
50 oninput="updateProfileName(this.value);"/> |
|
51 |
|
52 <separator/> |
|
53 |
|
54 <description>&profileDirectoryExplanation.text;</description> |
|
55 |
|
56 <vbox class="indent" flex="1" style="overflow: auto;"> |
|
57 <description id="profileDisplay">*</description> |
|
58 </vbox> |
|
59 |
|
60 <hbox> |
|
61 <button label="&button.choosefolder.label;" oncommand="chooseProfileFolder();" |
|
62 accesskey="&button.choosefolder.accesskey;"/> |
|
63 |
|
64 <button id="useDefault" label="&button.usedefault.label;" |
|
65 oncommand="setDisplayToDefaultFolder(); updateProfileDisplay();" |
|
66 accesskey="&button.usedefault.accesskey;" disabled="true"/> |
|
67 </hbox> |
|
68 |
|
69 <separator/> |
|
70 |
|
71 <description id="finishText">*</description> |
|
72 </wizardpage> |
|
73 |
|
74 </wizard> |