1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/profile/content/createProfileWizard.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,74 @@ 1.4 +<?xml version="1.0"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 + 1.9 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 1.10 + 1.11 +<!DOCTYPE wizard [ 1.12 +<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> 1.13 +%brandDTD; 1.14 +<!ENTITY % profileDTD SYSTEM "chrome://mozapps/locale/profile/createProfileWizard.dtd"> 1.15 +%profileDTD; 1.16 +]> 1.17 + 1.18 +<wizard id="createProfileWizard" 1.19 + title="&newprofile.title;" 1.20 + xmlns:html="http://www.w3.org/1999/xhtml" 1.21 + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 1.22 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.23 + onwizardfinish="return onFinish();" 1.24 + onload="initWizard();" 1.25 + style="&window.size;"> 1.26 + 1.27 + <stringbundle id="bundle_profileManager" 1.28 + src="chrome://mozapps/locale/profile/profileSelection.properties"/> 1.29 + 1.30 + <script type="application/javascript" src="chrome://mozapps/content/profile/createProfileWizard.js"/> 1.31 + 1.32 + <wizardpage id="explanation" onpageshow="enableNextButton();"> 1.33 + <description>&profileCreationExplanation_1.text;</description> 1.34 + <description>&profileCreationExplanation_2.text;</description> 1.35 + <description>&profileCreationExplanation_3.text;</description> 1.36 + <spacer flex="1"/> 1.37 +#ifdef XP_MACOSX 1.38 + <description>&profileCreationExplanation_4Mac.text;</description> 1.39 +#else 1.40 +#ifdef XP_UNIX 1.41 + <description>&profileCreationExplanation_4Gnome.text;</description> 1.42 +#else 1.43 + <description>&profileCreationExplanation_4.text;</description> 1.44 +#endif 1.45 +#endif 1.46 + </wizardpage> 1.47 + 1.48 + <wizardpage id="createProfile" onpageshow="initSecondWizardPage();"> 1.49 + <description>&profileCreationIntro.text;</description> 1.50 + 1.51 + <label accesskey="&profilePrompt.accesskey;" control="ProfileName">&profilePrompt.label;</label> 1.52 + <textbox id="profileName" value="&profileDefaultName;" 1.53 + oninput="updateProfileName(this.value);"/> 1.54 + 1.55 + <separator/> 1.56 + 1.57 + <description>&profileDirectoryExplanation.text;</description> 1.58 + 1.59 + <vbox class="indent" flex="1" style="overflow: auto;"> 1.60 + <description id="profileDisplay">*</description> 1.61 + </vbox> 1.62 + 1.63 + <hbox> 1.64 + <button label="&button.choosefolder.label;" oncommand="chooseProfileFolder();" 1.65 + accesskey="&button.choosefolder.accesskey;"/> 1.66 + 1.67 + <button id="useDefault" label="&button.usedefault.label;" 1.68 + oncommand="setDisplayToDefaultFolder(); updateProfileDisplay();" 1.69 + accesskey="&button.usedefault.accesskey;" disabled="true"/> 1.70 + </hbox> 1.71 + 1.72 + <separator/> 1.73 + 1.74 + <description id="finishText">*</description> 1.75 + </wizardpage> 1.76 + 1.77 +</wizard>