File: createProfileWizard.xul

package info (click to toggle)
iceweasel 2.0.0.19-0etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 298,784 kB
  • ctags: 317,912
  • sloc: cpp: 1,796,902; ansic: 987,677; xml: 109,036; makefile: 47,777; asm: 35,201; perl: 26,983; sh: 20,879; cs: 6,232; java: 5,513; python: 3,249; pascal: 459; lex: 306; php: 244; csh: 132; objc: 97; yacc: 79; ada: 49; awk: 14; sql: 4; sed: 4
file content (67 lines) | stat: -rw-r--r-- 2,417 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<!DOCTYPE wizard [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % profileDTD SYSTEM "chrome://mozapps/locale/profile/createProfileWizard.dtd">
%profileDTD;
]>

<wizard id="createProfileWizard"
        title="&newprofile.title;"
        xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        onwizardfinish="return onFinish();"
        onload="initWizard();"
        style="&window.size;">
  
  <stringbundle id="bundle_profileManager"
                src="chrome://mozapps/locale/profile/profileSelection.properties"/>

  <script type="application/x-javascript"
          src="chrome://mozapps/content/profile/createProfileWizard.js"/>

  <wizardpage id="explanation" onpageshow="enableNextButton();">
    <description>&profileCreationExplanation_1.text;</description>
    <description>&profileCreationExplanation_2.text;</description>
    <description>&profileCreationExplanation_3.text;</description>
    <spacer flex="1"/>
#ifndef XP_MACOSX
    <description>&profileCreationExplanation_4.text;</description>
#else
    <description>&profileCreationExplanation_4Mac.text;</description>
#endif
  </wizardpage>

  <wizardpage id="createProfile" onpageshow="initSecondWizardPage();">
    <description>&profileCreationIntro.text;</description> 

    <label accesskey="&profilePrompt.accesskey;" control="ProfileName">&profilePrompt.label;</label> 
    <textbox id="profileName" value="&profileDefaultName;"
             oninput="updateProfileName(this.value);"/>
    
    <separator/>

    <description>&profileDirExplanation.text;</description>

    <vbox class="indent" flex="1" style="overflow: auto;">
      <description id="profileDisplay">*</description>
    </vbox>

    <hbox>
      <button label="&button.choosefolder.label;" oncommand="chooseProfileFolder();" 
              accesskey="&button.choosefolder.accesskey;"/>

      <button id="useDefault" label="&button.usedefault.label;"
              oncommand="setDisplayToDefaultFolder(); updateProfileDisplay();"
              accesskey="&button.usedefault.accesskey;" disabled="true"/>
    </hbox>

    <separator/>

    <description id="finishText">*</description>
  </wizardpage>

</wizard>