summaryrefslogtreecommitdiff
path: root/application/palemoon/base/content/pageinfo/pageInfo.xul
blob: 5bca1b495b3824f2b423113b46217f01a4d0413e (plain)
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
<?xml version="1.0"?>
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

<?xml-stylesheet href="chrome://browser/content/pageinfo/pageInfo.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/pageInfo.css" type="text/css"?>

<!DOCTYPE window [
  <!ENTITY % pageInfoDTD SYSTEM "chrome://browser/locale/pageInfo.dtd">
  %pageInfoDTD;
]>

#ifdef XP_MACOSX
<?xul-overlay href="chrome://browser/content/macBrowserOverlay.xul"?>
#endif

<window id="main-window"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  windowtype="Browser:page-info"
  onload="onLoadPageInfo()"
  onunload="onUnloadPageInfo()"
  align="stretch"
  screenX="10" screenY="10"
  width="&pageInfoWindow.width;" height="&pageInfoWindow.height;"
  persist="screenX screenY width height sizemode">

  <script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
  <script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/>
  <script type="application/javascript" src="chrome://global/content/treeUtils.js"/>
  <script type="application/javascript" src="chrome://browser/content/pageinfo/pageInfo.js"/>
  <script type="application/javascript" src="chrome://browser/content/pageinfo/feeds.js"/>
  <script type="application/javascript" src="chrome://browser/content/pageinfo/permissions.js"/>
  <script type="application/javascript" src="chrome://browser/content/pageinfo/security.js"/>
  <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>

  <stringbundleset id="pageinfobundleset">
    <stringbundle id="pageinfobundle" src="chrome://browser/locale/pageInfo.properties"/>
    <stringbundle id="pkiBundle" src="chrome://pippki/locale/pippki.properties"/>
    <stringbundle id="browserBundle" src="chrome://browser/locale/browser.properties"/>
  </stringbundleset>

  <commandset id="pageInfoCommandSet">
    <command id="cmd_close"     oncommand="window.close();"/>
    <command id="cmd_help"      oncommand="doHelpButton();"/>
    <command id="cmd_copy"      oncommand="doCopy();"/>
    <command id="cmd_selectall" oncommand="doSelectAll();"/>

    <!-- permissions tab -->
    <command id="cmd_imageDef"      oncommand="onCheckboxClick('image');"/>
    <command id="cmd_popupDef"      oncommand="onCheckboxClick('popup');"/>
    <command id="cmd_cookieDef"     oncommand="onCheckboxClick('cookie');"/>
    <command id="cmd_desktop-notificationDef" oncommand="onCheckboxClick('desktop-notification');"/>
    <command id="cmd_installDef"    oncommand="onCheckboxClick('install');"/>
    <command id="cmd_fullscreenDef" oncommand="onCheckboxClick('fullscreen');"/>
    <command id="cmd_geoDef"        oncommand="onCheckboxClick('geo');"/>
    <command id="cmd_indexedDBDef"  oncommand="onCheckboxClick('indexedDB');"/>
    <command id="cmd_pluginsDef"    oncommand="onCheckboxClick('plugins');"/>
    <command id="cmd_imageToggle"   oncommand="onRadioClick('image');"/>
    <command id="cmd_popupToggle"   oncommand="onRadioClick('popup');"/>
    <command id="cmd_cookieToggle"  oncommand="onRadioClick('cookie');"/>
    <command id="cmd_desktop-notificationToggle" oncommand="onRadioClick('desktop-notification');"/>
    <command id="cmd_installToggle" oncommand="onRadioClick('install');"/>
    <command id="cmd_fullscreenToggle" oncommand="onRadioClick('fullscreen');"/>
    <command id="cmd_geoToggle"     oncommand="onRadioClick('geo');"/>
    <command id="cmd_indexedDBToggle" oncommand="onRadioClick('indexedDB');"/>
    <command id="cmd_pluginsToggle" oncommand="onPluginRadioClick(event);"/>
    <command id="cmd_pointerLockDef"    oncommand="onCheckboxClick('pointerLock');"/>
    <command id="cmd_pointerLockToggle" oncommand="onRadioClick('pointerLock');"/>
  </commandset>

  <keyset id="pageInfoKeySet">
    <key key="&closeWindow.key;" modifiers="accel" command="cmd_close"/>
    <key keycode="VK_ESCAPE"                       command="cmd_close"/>
#ifdef XP_MACOSX
    <key key="."                 modifiers="meta"  command="cmd_close"/>
#else
    <key keycode="VK_F1"                           command="cmd_help"/>
#endif
    <key key="&copy.key;"        modifiers="accel" command="cmd_copy"/>
    <key key="&selectall.key;"   modifiers="accel" command="cmd_selectall"/>
    <key key="&selectall.key;"   modifiers="alt"   command="cmd_selectall"/>
  </keyset>

  <menupopup id="picontext">
    <menuitem id="menu_selectall" label="&selectall.label;" command="cmd_selectall" accesskey="&selectall.accesskey;"/>
    <menuitem id="menu_copy"      label="&copy.label;"      command="cmd_copy"      accesskey="&copy.accesskey;"/>
  </menupopup>

  <windowdragbox id="topBar" class="viewGroupWrapper">
    <radiogroup id="viewGroup" class="chromeclass-toolbar" orient="horizontal">
      <radio id="generalTab"  label="&generalTab;"  accesskey="&generalTab.accesskey;"
           oncommand="showTab('general');"/>
      <radio id="mediaTab"    label="&mediaTab;"    accesskey="&mediaTab.accesskey;"
           oncommand="showTab('media');" hidden="true"/>
      <radio id="feedTab"     label="&feedTab;"     accesskey="&feedTab.accesskey;"
           oncommand="showTab('feed');" hidden="true"/>
      <radio id="permTab"     label="&permTab;"     accesskey="&permTab.accesskey;"
           oncommand="showTab('perm');"/>
      <radio id="securityTab" label="&securityTab;" accesskey="&securityTab.accesskey;"
           oncommand="showTab('security');"/>
      <!-- Others added by overlay -->
    </radiogroup>
  </windowdragbox>

  <deck id="mainDeck" flex="1">
    <!-- General page information -->
    <vbox id="generalPanel">
      <textbox class="header" readonly="true" id="titletext"/>
      <grid id="generalGrid">
        <columns>
          <column/>
          <column class="gridSeparator"/>
          <column flex="1"/>
        </columns>
        <rows id="generalRows">
          <row id="generalURLRow">
            <label control="urltext" value="&generalURL;"/>
            <separator/>
            <textbox readonly="true" id="urltext"/>
          </row>
          <row id="generalSeparatorRow1">
            <separator class="thin"/>
          </row>
          <row id="generalTypeRow">
            <label control="typetext" value="&generalType;"/>
            <separator/>
            <textbox readonly="true" id="typetext"/>
          </row>
          <row id="generalModeRow">
            <label control="modetext" value="&generalMode;"/>
            <separator/>
            <textbox readonly="true" crop="end" id="modetext"/>
          </row>
          <row id="generalEncodingRow">
            <label control="encodingtext" value="&generalEncoding;"/>
            <separator/>
            <textbox readonly="true" id="encodingtext"/>
          </row>
          <row id="generalSizeRow">
            <label control="sizetext" value="&generalSize;"/>
            <separator/>
            <textbox readonly="true" id="sizetext"/>
          </row>
          <row id="generalReferrerRow">
            <label control="refertext" value="&generalReferrer;"/>
            <separator/>
            <textbox readonly="true" id="refertext"/>
          </row>
          <row id="generalSeparatorRow2">
            <separator class="thin"/>
          </row>
          <row id="generalModifiedRow">
            <label control="modifiedtext" value="&generalModified;"/>
            <separator/>
            <textbox readonly="true" id="modifiedtext"/>
          </row>
        </rows>
      </grid>
      <separator class="thin"/>
      <groupbox id="metaTags" flex="1" class="collapsable treebox">
        <caption id="metaTagsCaption" onclick="toggleGroupbox('metaTags');"/>
        <tree id="metatree" flex="1" hidecolumnpicker="true" contextmenu="picontext">
          <treecols>
            <treecol id="meta-name"    label="&generalMetaName;"
                     persist="width" flex="1"
                     onclick="gMetaView.onPageMediaSort('meta-name');"/>
            <splitter class="tree-splitter"/>
            <treecol id="meta-content" label="&generalMetaContent;"
                     persist="width" flex="4"
                     onclick="gMetaView.onPageMediaSort('meta-content');"/>
          </treecols>
          <treechildren id="metatreechildren" flex="1"/>
        </tree>        
      </groupbox>
      <groupbox id="securityBox">
        <caption id="securityBoxCaption" label="&securityHeader;"/>
        <description id="general-security-identity" class="header"/>
        <description id="general-security-privacy"  class="header"/>
        <hbox id="securityDetailsButtonBox" align="right">
          <button id="security-view-details" label="&generalSecurityDetails;"
                  accesskey="&generalSecurityDetails.accesskey;"
                  oncommand="onClickMore();"/>
        </hbox>
      </groupbox>
    </vbox>

    <!-- Media information -->
    <vbox id="mediaPanel">
      <tree id="imagetree" onselect="onImageSelect();" contextmenu="picontext"
            ondragstart="onBeginLinkDrag(event,'image-address','image-alt')">
        <treecols>
          <treecol sortSeparators="true" primary="true" persist="width" flex="10"
                        width="10" id="image-address" label="&mediaAddress;"
                        onclick="gImageView.onPageMediaSort('image-address');"/>
          <splitter class="tree-splitter"/>
          <treecol sortSeparators="true" persist="hidden width" flex="2"
                        width="2"  id="image-type"    label="&mediaType;"
                        onclick="gImageView.onPageMediaSort('image-type');"/>
          <splitter class="tree-splitter"/>
          <treecol sortSeparators="true" hidden="true" persist="hidden width" flex="2"
                        width="2"  id="image-size"  label="&mediaSize;" value="size"
                        onclick="gImageView.onPageMediaSort('image-size');"/>
          <splitter class="tree-splitter"/>
          <treecol sortSeparators="true" hidden="true" persist="hidden width" flex="4"
                        width="4"  id="image-alt"    label="&mediaAltHeader;"
                        onclick="gImageView.onPageMediaSort('image-alt');"/>
          <splitter class="tree-splitter"/>
          <treecol sortSeparators="true" hidden="true" persist="hidden width" flex="1"
                        width="1"  id="image-count"    label="&mediaCount;"
                        onclick="gImageView.onPageMediaSort('image-count');"/>
        </treecols>
        <treechildren id="imagetreechildren" flex="1"/>
      </tree>
      <splitter orient="vertical" id="mediaSplitter"/>
      <vbox flex="1" id="mediaPreviewBox" collapsed="true">
        <grid id="mediaGrid">
          <columns>
            <column id="mediaLabelColumn"/>
            <column class="gridSeparator"/>
            <column flex="1"/>
          </columns>
          <rows id="mediaRows">
            <row id="mediaLocationRow">
              <label control="imageurltext" value="&mediaLocation;"/>
              <separator/>
              <textbox readonly="true" id="imageurltext"/>
            </row>
            <row id="mediaTypeRow">
              <label control="imagetypetext" value="&generalType;"/>
              <separator/>
              <textbox readonly="true" id="imagetypetext"/>
            </row>
            <row id="mediaSizeRow">
              <label control="imagesizetext" value="&generalSize;"/>
              <separator/>
              <textbox readonly="true" id="imagesizetext"/>
            </row>
            <row id="mediaDimensionRow">
              <label control="imagedimensiontext" value="&mediaDimension;"/>
              <separator/>
              <textbox readonly="true" id="imagedimensiontext"/>
            </row>
            <row id="mediaTextRow">
              <label control="imagetext" value="&mediaText;"/>
              <separator/>
              <textbox readonly="true" id="imagetext"/>
            </row>
            <row id="mediaLongdescRow">
              <label control="imagelongdesctext" value="&mediaLongdesc;"/>
              <separator/>
              <textbox readonly="true" id="imagelongdesctext"/>
            </row>
          </rows>
        </grid>
        <hbox id="imageSaveBox" align="end">
          <vbox id="blockImageBox">
            <checkbox id="blockImage" hidden="true" oncommand="onBlockImage()"
                      accesskey="&mediaBlockImage.accesskey;"/>
            <label control="thepreviewimage" value="&mediaPreview;" class="header"/>
          </vbox>
          <spacer id="imageSaveBoxSpacer" flex="1"/>
          <button label="&mediaSaveAs;" accesskey="&mediaSaveAs.accesskey;"
                  icon="save" id="imagesaveasbutton"
                  oncommand="saveMedia();"/>
        </hbox>
        <vbox id="imagecontainerbox" class="inset iframe" flex="1" pack="center">
          <hbox id="theimagecontainer" pack="center">
            <image id="thepreviewimage"/>
          </hbox>
          <hbox id="brokenimagecontainer" pack="center" collapsed="true">
            <image id="brokenimage" src="resource://gre-resources/broken-image.png"/>
          </hbox>
        </vbox>
      </vbox>
      <hbox id="mediaSaveBox" collapsed="true">
        <spacer id="mediaSaveBoxSpacer" flex="1"/>
        <button label="&mediaSaveAs;" accesskey="&mediaSaveAs2.accesskey;"
                icon="save" id="mediasaveasbutton"
                oncommand="saveMedia();"/>
      </hbox>
    </vbox>

    <!-- Feeds -->
    <vbox id="feedPanel">
      <richlistbox id="feedListbox" flex="1"/>
    </vbox>

    <!-- Permissions -->
    <vbox id="permPanel">
      <hbox id="permHostBox">
        <label value="&permissionsFor;" control="hostText" />
        <textbox id="hostText" class="header" readonly="true"
                 crop="end" flex="1"/>
      </hbox>

      <vbox id="permList" flex="1">
        <vbox class="permission" id="permImageRow">
          <label class="permissionLabel" id="permImageLabel"
                 value="&permImage;" control="imageRadioGroup"/>
          <hbox id="permImageBox" role="group" aria-labelledby="permImageLabel">
            <checkbox id="imageDef" command="cmd_imageDef" label="&permUseDefault;"/>
            <spacer flex="1"/>
            <radiogroup id="imageRadioGroup" orient="horizontal">
              <radio id="image#1" command="cmd_imageToggle" label="&permAllow;"/>
              <radio id="image#2" command="cmd_imageToggle" label="&permBlock;"/>
            </radiogroup>
          </hbox>
        </vbox>
        <vbox class="permission" id="permPopupRow">
          <label class="permissionLabel" id="permPopupLabel"
                 value="&permPopup;" control="popupRadioGroup"/>
          <hbox id="permPopupBox" role="group" aria-labelledby="permPopupLabel">
            <checkbox id="popupDef" command="cmd_popupDef" label="&permUseDefault;"/>
            <spacer flex="1"/>
            <radiogroup id="popupRadioGroup" orient="horizontal">
              <radio id="popup#1" command="cmd_popupToggle" label="&permAllow;"/>
              <radio id="popup#2" command="cmd_popupToggle" label="&permBlock;"/>
            </radiogroup>
          </hbox>
        </vbox>
        <vbox class="permission" id="permCookieRow">
          <label class="permissionLabel" id="permCookieLabel"
                 value="&permCookie;" control="cookieRadioGroup"/>
          <hbox id="permCookieBox" role="group" aria-labelledby="permCookieLabel">
            <checkbox id="cookieDef" command="cmd_cookieDef" label="&permUseDefault;"/>
            <spacer flex="1"/>
            <radiogroup id="cookieRadioGroup" orient="horizontal">
              <radio id="cookie#1" command="cmd_cookieToggle" label="&permAllow;"/>
              <radio id="cookie#8" command="cmd_cookieToggle" label="&permAllowSession;"/>
              <radio id="cookie#9" command="cmd_cookieToggle" label="&permAllowFirstPartyOnly;"/>              
              <radio id="cookie#2" command="cmd_cookieToggle" label="&permBlock;"/>
            </radiogroup>
          </hbox>
        </vbox>
        <vbox class="permission" id="permNotificationRow">
          <label class="permissionLabel" id="permNotificationLabel"
                 value="&permNotifications;" control="desktop-notificationRadioGroup"/>
          <hbox role="group" aria-labelledby="permNotificationLabel">
            <checkbox id="desktop-notificationDef" command="cmd_desktop-notificationDef" label="&permUseDefault;"/>
            <spacer flex="1"/>
            <radiogroup id="desktop-notificationRadioGroup" orient="horizontal">
              <radio id="desktop-notification#0" command="cmd_desktop-notificationToggle" label="&permAskAlways;"/>
              <radio id="desktop-notification#1" command="cmd_desktop-notificationToggle" label="&permAllow;"/>
              <radio id="desktop-notification#2" command="cmd_desktop-notificationToggle" label="&permBlock;"/>
            </radiogroup>
          </hbox>
        </vbox>
        <vbox class="permission" id="permInstallRow">
          <label class="permissionLabel" id="permInstallLabel"
                 value="&permInstall;" control="installRadioGroup"/>
          <hbox id="permInstallBox" role="group" aria-labelledby="permInstallLabel">
            <checkbox id="installDef" command="cmd_installDef" label="&permUseDefault;"/>
            <spacer flex="1"/>
            <radiogroup id="installRadioGroup" orient="horizontal">
              <radio id="install#1" command="cmd_installToggle" label="&permAllow;"/>
              <radio id="install#2" command="cmd_installToggle" label="&permBlock;"/>
            </radiogroup>
          </hbox>
        </vbox>
        <vbox class="permission" id="permGeoRow" >
          <label class="permissionLabel" id="permGeoLabel"
                 value="&permGeo;" control="geoRadioGroup"/>
          <hbox id="permGeoBox" role="group" aria-labelledby="permGeoLabel">
            <checkbox id="geoDef" command="cmd_geoDef" label="&permAskAlways;"/>
            <spacer flex="1"/>
            <radiogroup id="geoRadioGroup" orient="horizontal">
              <radio id="geo#1" command="cmd_geoToggle" label="&permAllow;"/>
              <radio id="geo#2" command="cmd_geoToggle" label="&permBlock;"/>
            </radiogroup>
          </hbox>
        </vbox>
        <vbox class="permission" id="permIndexedDBRow">
          <label class="permissionLabel" id="permIndexedDBLabel"
                 value="&permIndexedDB;" control="indexedDBRadioGroup"/>
          <hbox id="permIndexedDBBox" role="group" aria-labelledby="permIndexedDBLabel">
            <checkbox id="indexedDBDef" command="cmd_indexedDBDef" label="&permUseDefault;"/>
            <spacer flex="1"/>
            <radiogroup id="indexedDBRadioGroup" orient="horizontal">
              <radio id="indexedDB#0" command="cmd_indexedDBToggle" label="&permAskAlways;"/>
              <radio id="indexedDB#1" command="cmd_indexedDBToggle" label="&permAllow;"/>
              <radio id="indexedDB#2" command="cmd_indexedDBToggle" label="&permBlock;"/>
            </radiogroup>
          </hbox>
          <hbox id="permIndexedDBExtras">
            <spacer flex="1"/>
            <vbox id="permIndexedDBStatusBox" pack="center">
              <label id="indexedDBStatus" control="indexedDBClear" hidden="true"/>
            </vbox>
            <button id="indexedDBClear" label="&permClearStorage;" hidden="true"
                    accesskey="&permClearStorage.accesskey;" onclick="onIndexedDBClear();"/>
          </hbox>
        </vbox>
        <vbox class="permission" id="permPluginsRow">
          <label class="permissionLabel" id="permPluginsLabel"
                 value="&permPlugins;" control="pluginsRadioGroup"/>
          <hbox id="permPluginTemplate" role="group" aria-labelledby="permPluginsLabel" align="baseline">
            <label class="permPluginTemplateLabel"/>
            <spacer flex="1"/>
            <radiogroup class="permPluginTemplateRadioGroup" orient="horizontal" command="cmd_pluginsToggle">
              <radio class="permPluginTemplateRadioDefault" label="&permUseDefault;"/>
              <radio class="permPluginTemplateRadioAsk" label="&permAskAlways;"/>
              <radio class="permPluginTemplateRadioAllow" label="&permAllow;"/>
              <radio class="permPluginTemplateRadioBlock" label="&permBlock;"/>
            </radiogroup>
          </hbox>
        </vbox>
        <vbox class="permission" id="permFullscreenRow">
          <label class="permissionLabel" id="permFullscreenLabel"
                 value="&permFullscreen;" control="fullscreenRadioGroup"/>
          <hbox id="permFullscreenBox" role="group" aria-labelledby="permFullscreenLabel">
            <checkbox id="fullscreenDef" command="cmd_fullscreenDef" label="&permUseDefault;"/>
            <spacer flex="1"/>
            <radiogroup id="fullscreenRadioGroup" orient="horizontal">
              <radio id="fullscreen#0" command="cmd_fullscreenToggle" label="&permAskAlways;"/>
              <radio id="fullscreen#1" command="cmd_fullscreenToggle" label="&permAllow;"/>
              <radio id="fullscreen#2" command="cmd_fullscreenToggle" label="&permBlock;"/>
            </radiogroup>
          </hbox>
        </vbox>
        <vbox class="permission" id="permPointerLockRow" >
          <label class="permissionLabel" id="permPointerLockLabel"
                 value="&permPointerLock2;" control="pointerLockRadioGroup"/>
          <hbox id="permPointerLockBox" role="group" aria-labelledby="permPointerLockLabel">
            <checkbox id="pointerLockDef" command="cmd_pointerLockDef" label="&permAskAlways;"/>
            <spacer flex="1"/>
            <radiogroup id="pointerLockRadioGroup" orient="horizontal">
              <radio id="pointerLock#1" command="cmd_pointerLockToggle" label="&permAllow;"/>
              <radio id="pointerLock#2" command="cmd_pointerLockToggle" label="&permBlock;"/>
            </radiogroup>
          </hbox>
        </vbox>
      </vbox>
    </vbox>

    <!-- Security & Privacy -->
    <vbox id="securityPanel">
      <!-- Identity Section -->
      <groupbox id="security-identity-groupbox" flex="1">
        <caption id="security-identity" label="&securityView.identity.header;"/>
        <grid id="security-identity-grid" flex="1">
          <columns>
            <column/>
            <column flex="1"/>
          </columns>
          <rows id="security-identity-rows">
            <!-- Domain -->
            <row id="security-identity-domain-row">
              <label id="security-identity-domain-label"
                     class="fieldLabel"
                     value="&securityView.identity.domain;"
                     control="security-identity-domain-value"/>
              <textbox id="security-identity-domain-value"
                       class="fieldValue" readonly="true"/>
            </row>
            <!-- Owner -->
            <row id="security-identity-owner-row">
              <label id="security-identity-owner-label"
                     class="fieldLabel"
                     value="&securityView.identity.owner;"
                     control="security-identity-owner-value"/>
              <textbox id="security-identity-owner-value"
                       class="fieldValue" readonly="true"/>
            </row>
            <!-- Verifier -->
            <row id="security-identity-verifier-row">
              <label id="security-identity-verifier-label"
                     class="fieldLabel"
                     value="&securityView.identity.verifier;"
                     control="security-identity-verifier-value"/>
              <textbox id="security-identity-verifier-value"
                       class="fieldValue" readonly="true" />
            </row>
          </rows>
        </grid>
        <spacer flex="1"/>
        <!-- Cert button -->
        <hbox id="security-view-cert-box" pack="end">
          <button id="security-view-cert" label="&securityView.certView;"
                  accesskey="&securityView.accesskey;"
                  oncommand="security.viewCert();"/>
        </hbox>
      </groupbox>
      
      <!-- Privacy & History section -->
      <groupbox id="security-privacy-groupbox" flex="1">
        <caption id="security-privacy" label="&securityView.privacy.header;" />
        <grid id="security-privacy-grid">
          <columns>
            <column flex="1"/>
            <column flex="1"/>
          </columns>
          <rows id="security-privacy-rows">
            <!-- History -->
            <row id="security-privacy-history-row">
              <label id="security-privacy-history-label"
                           control="security-privacy-history-value"
                           class="fieldLabel">&securityView.privacy.history;</label>
              <textbox id="security-privacy-history-value"
                       class="fieldValue"
                       value="&securityView.unknown;"
                       readonly="true"/>
            </row>
            <!-- Cookies -->
            <row id="security-privacy-cookies-row">
              <label id="security-privacy-cookies-label"
                           control="security-privacy-cookies-value"
                           class="fieldLabel">&securityView.privacy.cookies;</label>
              <hbox id="security-privacy-cookies-box" align="center">
                <textbox id="security-privacy-cookies-value"
                         class="fieldValue"
                         value="&securityView.unknown;"
                         flex="1"
                         readonly="true"/>
                <button id="security-view-cookies"
                        label="&securityView.privacy.viewCookies;"
                        accesskey="&securityView.privacy.viewCookies.accessKey;"
                        oncommand="security.viewCookies();"/>
              </hbox>
            </row>
            <!-- Passwords -->
            <row id="security-privacy-passwords-row">
              <label id="security-privacy-passwords-label"
                            control="security-privacy-passwords-value"
                            class="fieldLabel">&securityView.privacy.passwords;</label>
              <hbox id="security-privacy-passwords-box" align="center">
                <textbox id="security-privacy-passwords-value"
                         class="fieldValue"
                         value="&securityView.unknown;"
                         flex="1"
                         readonly="true"/>
                <button id="security-view-password"
                        label="&securityView.privacy.viewPasswords;"
                        accesskey="&securityView.privacy.viewPasswords.accessKey;"
                        oncommand="security.viewPasswords();"/>
              </hbox>
            </row>
          </rows>
        </grid>
      </groupbox>
      
      <!-- Technical Details section -->
      <groupbox id="security-technical-groupbox" flex="1">
        <caption id="security-technical" label="&securityView.technical.header;" />
        <vbox id="security-technical-box" flex="1">
          <label id="security-technical-shortform" class="fieldValue"/>
          <description id="security-technical-longform1" class="fieldLabel"/>
          <description id="security-technical-longform2" class="fieldLabel"/>
        </vbox>
      </groupbox>
    </vbox>
    <!-- Others added by overlay -->
  </deck>

#ifdef XP_MACOSX
#include ../browserMountPoints.inc
#endif

</window>