home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.0.14 / chrome / toolkit.jar / content / mozapps / profile / createProfileWizard.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-06-24  |  2.3 KB  |  63 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://branding/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/javascript" src="chrome://mozapps/content/profile/createProfileWizard.js"/>
  24.  
  25.   <wizardpage id="explanation" onpageshow="enableNextButton();">
  26.     <description>&profileCreationExplanation_1.text;</description>
  27.     <description>&profileCreationExplanation_2.text;</description>
  28.     <description>&profileCreationExplanation_3.text;</description>
  29.     <spacer flex="1"/>
  30.     <description>&profileCreationExplanation_4Gnome.text;</description>
  31.   </wizardpage>
  32.  
  33.   <wizardpage id="createProfile" onpageshow="initSecondWizardPage();">
  34.     <description>&profileCreationIntro.text;</description> 
  35.  
  36.     <label accesskey="&profilePrompt.accesskey;" control="ProfileName">&profilePrompt.label;</label> 
  37.     <textbox id="profileName" value="&profileDefaultName;"
  38.              oninput="updateProfileName(this.value);"/>
  39.     
  40.     <separator/>
  41.  
  42.     <description>&profileDirectoryExplanation.text;</description>
  43.  
  44.     <vbox class="indent" flex="1" style="overflow: auto;">
  45.       <description id="profileDisplay">*</description>
  46.     </vbox>
  47.  
  48.     <hbox>
  49.       <button label="&button.choosefolder.label;" oncommand="chooseProfileFolder();" 
  50.               accesskey="&button.choosefolder.accesskey;"/>
  51.  
  52.       <button id="useDefault" label="&button.usedefault.label;"
  53.               oncommand="setDisplayToDefaultFolder(); updateProfileDisplay();"
  54.               accesskey="&button.usedefault.accesskey;" disabled="true"/>
  55.     </hbox>
  56.  
  57.     <separator/>
  58.  
  59.     <description id="finishText">*</description>
  60.   </wizardpage>
  61.  
  62. </wizard>
  63.