File: pref-advanced.xul

package info (click to toggle)
mozilla-firefox 1.0.4-2sarge17
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 255,356 kB
  • ctags: 267,207
  • sloc: cpp: 1,623,961; ansic: 792,828; xml: 85,380; makefile: 41,934; perl: 27,802; asm: 14,884; sh: 14,807; cs: 4,507; python: 4,398; java: 4,004; yacc: 1,380; lex: 409; pascal: 354; php: 244; csh: 132; objc: 73; ada: 44; sql: 4
file content (185 lines) | stat: -rw-r--r-- 8,452 bytes parent folder | download
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<?xml version="1.0"?> 

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/pref/pref.css" type="text/css"?>

<!DOCTYPE page [
  <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd">
  <!ENTITY % advancedDTD SYSTEM "chrome://browser/locale/pref/pref-advanced.dtd">
  %brandDTD;
  %advancedDTD;
]>

<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      onload="parent.initPanel('chrome://browser/content/pref/pref-advanced.xul');"
      headertitle="&lHeader;">

  <script type="application/x-javascript" src="chrome://browser/content/pref/pref-advanced.js"/>
  
  <stringbundle id="advancedBundle" src="chrome://browser/locale/pref/prefutilities.properties"/>

  <vbox class="listBox settingsBox" flex="1" style="overflow: auto;">
    <expander id="accessibility" label="&accessibility.label;" open="true" persist="open" clearhidden="true">
      <checkbox id="moveSystemCaret" label="&moveSystemCaret.label;"
                prefstring="accessibility.browsewithcaret"/>
      <checkbox id="useTypeAheadFind" label="&useTypeAheadFind.label;"
                prefstring="accessibility.typeaheadfind"/>
    </expander>
    <expander id="browsing" label="&browsing.label;" open="true" persist="open"
              clearhidden="true">
      <checkbox id="enableAutoImageResizing"
                label="&enableAutoImageResizing.label;"
                prefstring="browser.enable_automatic_image_resizing"/>
      <checkbox id="useAutoScrolling" label="&useAutoScrolling.label;"
                prefstring="general.autoScroll"/>
      <checkbox id="useSmoothScrolling" label="&useSmoothScrolling.label;"
                prefstring="general.smoothScroll"/>
    </expander>

    <!-- tabbed browsing -->
    <expander id="tabbedBrowsing" label="&tabbedBrowsing.label;"
              open="true" persist="open" clearhidden="true">
      <groupbox align="start">
        <caption label="&openExternalLinksIn.label;"/>
        <radiogroup id="tabbedExternalLinks"
                    prefstring="browser.link.open_external">
          <radio label="&newWindow.label;" value="2"/>
          <radio label="&newTabInRecentWindow.label;" value="3"/>
          <radio label="&recentWindowOrTab.label;" value="1"/>
        </radiogroup>
      </groupbox>
      <!--  XXXben hide single window mode prefs for 1.0 to avoid crashes (see 266759) -->
      <checkbox id="tabbedOpenForce" label="&forceNewWindowLinks.label;"
                oncommand="updateWindowLinksBehavior()" hidden="true"/>
      <radiogroup id="tabbedWindowLinks" hidden="true"
                  prefstring="browser.link.open_newwindow.ui"
                  style="margin-left: 23px">
        <radio label="&sameTabOrWindow.label;" value="1"/>
        <radio label="&newTab.label;" value="3"/>
      </radiogroup>
      <checkbox id="hideTabBar" label="&hideTabBar.label;"
                prefstring="browser.tabs.autoHide"/>
      <checkbox id="loadInBackground" label="&loadInBackground.label;"
                prefstring="browser.tabs.loadInBackground" reversed="true"/>
      <checkbox id="loadBookmarksInBackground" label="&loadBookmarksInBackground.label;"
                prefstring="browser.tabs.loadBookmarksInBackground" reversed="true"/>
      <checkbox id="warnOnClose" label="&warnOnClose.label;"
                prefstring="browser.tabs.warnOnClose"/>
    </expander>

    <expander id="softwareupdate" label="&softwareupdate.label;" 
              open="true" persist="open" clearhidden="true" align="left">
      <label>&softwareupdateinfo.label;</label>
      <vbox class="indent" align="left">
        <!-- checkbox id="enableSmartUpdate"
                  label="&enableSmartUpdate.label;" accesskey="&enableSmartUpdate.accesskey;"
                  prefstring="app.update.autoUpdateEnabled"/ -->
        <checkbox id="enableExtensionUpdate"
                  label="&enableExtensionUpdate.label;" accesskey="&enableExtensionUpdate.accesskey;"
                  prefstring="extensions.update.autoUpdateEnabled"/>      
        <separator class="thin"/>
        <button label="&checkNow.label;" accesskey="&checkNow.accesskey;"
                oncommand="checkForUpdates();"/>
      </vbox>
    </expander>

    <expander id="security" label="&security.label;" open="true" persist="open" clearhidden="true">
      <checkbox id="useSSL2" label="&useSSL2.label;"
                prefstring="security.enable_ssl2"/>
      <checkbox id="useSSL3" label="&useSSL3.label;"
                prefstring="security.enable_ssl3"/>
      <checkbox id="useTLS1" label="&useTLS1.label;"
                prefstring="security.enable_tls"/>
    </expander>
    
    <expander id="certs" label="&certs.label;" open="false" persist="open" clearhidden="true">      
      <groupbox align="start">
        <caption label="&SSLClientAuthMethod;"/>
        <description>&certselect.description;</description>
        <!-- Prefs -->
        <radiogroup id="certSelection" orient="horizontal" preftype="string" 
	            prefstring="security.default_personal_cert">
          <radio label="&certselect.auto;" value="Select Automatically"/>
          <radio label="&certselect.ask;" value="Ask Every Time"/>
        </radiogroup>
      </groupbox>

      <!-- Certificate manager -->
      <groupbox>
        <caption label="&managecerts.label;"/>
        <description>&managecerts.text;</description>
        <hbox align="center">
          <button label="&managecerts.button;"
                  oncommand="openCertManager();" 
                  id="openCertManagerButton"
                  accesskey="&managecerts.accesskey;"
                  prefstring="security.disable_button.openCertManager"/>
        </hbox>
      </groupbox>

      <!-- Device manager -->
      <groupbox>
        <caption label="&managedevices.label;"/>
        <description>&managedevices.text;</description>
        <hbox align="center">
          <button label="&managedevices.button;"
                  oncommand="openDeviceManager();"
                  id="openDeviceManagerButton"
                  accesskey="&managedevices.accesskey;"
                  prefstring="security.disable_button.openDeviceManager"/>
        </hbox>
      </groupbox>
    </expander>
    
    <expander id="validation" label="&validation.label;" open="false" persist="open" clearhidden="true">      
      <groupbox>
        <caption label="&validation.crl.label;"/>
        <description>&validation.crl.description;</description>
        <hbox align="center">
          <button label="&validation.managecrls.button;"
                  oncommand="openCrlManager();"
                  id="managecrlbutton"
                  accesskey="&validation.managecrls.accesskey;"
                  prefstring="security.OCSP.disable_button.managecrl"/>
        </hbox>
      </groupbox>

      <groupbox align="start">
        <caption label="&validation.ocsp.label;"/>
        <description>&validation.ocsp.description;</description>
        <!-- Prefs -->
        <radiogroup id="securityOCSPEnabled"
                    prefstring="security.OCSP.enabled">
            <radio value="0" label="&disableOCSP.label;" oncommand="doSecurityEnabling();"/>
            <radio value="1" label="&certOCSP.label;" oncommand="doSecurityEnabling();"/>
            <radio value="2" label="&proxyOCSP.label;" oncommand="doSecurityEnabling();"/>

            <grid class="indent" flex="1">
              <columns>
              <column/>
              <column flex="1"/>
              </columns>
              
              <rows>
                <row align="center">
                  <label value="&signingCA.label;" accesskey="&signingCA.accesskey;" control="signingCA"/>
                  <hbox id="signingCABox" flex="1"/>
                </row>
                <row align="center">
                  <label value="&serviceURL.label;" accesskey="&serviceURL.accesskey;" control="serviceURL"/>
                  <textbox id="serviceURL" prefstring="security.OCSP.URL"/>
                </row>
            </rows>
          </grid>
        </radiogroup>
      </groupbox>
    </expander>    

    <menulist id="signingCA" preftype="string" prefstring="security.OCSP.signingCA"
              flex="1" oncommand="changeURL()" hidden="true">
      <menupopup/>
    </menulist>
  </vbox>
</page>