home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2005 October / maximum-cd-2005-10.iso / Software / Apps / FirefoxSetup1.0.6.exe / browser.xpi / bin / chrome / toolkit.jar / content / mozapps / profile / createProfileWizard.xul < prev    next >
Encoding:
Extensible Markup Language  |  2004-05-13  |  2.3 KB  |  64 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3.  
  4. <!DOCTYPE wizard [
  5. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd">
  6. %brandDTD;
  7. <!ENTITY % profileDTD SYSTEM "chrome://mozapps/locale/profile/createProfileWizard.dtd">
  8. %profileDTD;
  9. ]>
  10.  
  11. <wizard id="createProfileWizard"
  12.         title="&newprofile.title;"
  13.         xmlns:html="http://www.w3.org/1999/xhtml"
  14.         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  15.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  16.         onwizardfinish="return onFinish();"
  17.         onload="initWizard();"
  18.         style="&window.size;">
  19.   
  20.   <stringbundle id="bundle_profileManager"
  21.                 src="chrome://mozapps/locale/profile/profileSelection.properties"/>
  22.  
  23.   <script type="application/x-javascript"
  24.           src="chrome://mozapps/content/profile/createProfileWizard.js"/>
  25.  
  26.   <wizardpage id="explanation" onpageshow="enableNextButton();">
  27.     <description>&profileCreationExplanation_1.text;</description>
  28.     <description>&profileCreationExplanation_2.text;</description>
  29.     <description>&profileCreationExplanation_3.text;</description>
  30.     <spacer flex="1"/>
  31.     <description>&profileCreationExplanation_4.text;</description>
  32.   </wizardpage>
  33.  
  34.   <wizardpage id="createProfile" onpageshow="initSecondWizardPage();">
  35.     <description>&profileCreationIntro.text;</description> 
  36.  
  37.     <label accesskey="&profilePrompt.accesskey;" control="ProfileName">&profilePrompt.label;</label> 
  38.     <textbox id="profileName" value="&profileDefaultName;"
  39.              oninput="updateProfileName(this.value);"/>
  40.     
  41.     <separator/>
  42.  
  43.     <description>&profileDirExplanation.text;</description>
  44.  
  45.     <vbox class="indent" flex="1" style="overflow: auto;">
  46.       <description id="profileDisplay">*</description>
  47.     </vbox>
  48.  
  49.     <hbox>
  50.       <button label="&button.choosefolder.label;" oncommand="chooseProfileFolder();" 
  51.               accesskey="&button.choosefolder.accesskey;"/>
  52.  
  53.       <button id="useDefault" label="&button.usedefault.label;"
  54.               oncommand="setDisplayToDefaultFolder(); updateProfileDisplay();"
  55.               accesskey="&button.usedefault.accesskey;" disabled="true"/>
  56.     </hbox>
  57.  
  58.     <separator/>
  59.  
  60.     <description id="finishText">*</description>
  61.   </wizardpage>
  62.  
  63. </wizard>
  64.