RetroZilla/extensions/p3p/resources/content/pageInfoOverlay.xul
2015-10-20 23:03:22 -04:00

159 lines
5.8 KiB
XML

<?xml version="1.0"?>
<!-- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
-
- The contents of this file are subject to the Mozilla Public License Version
- 1.1 (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS" basis,
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- for the specific language governing rights and limitations under the
- License.
-
- The Original Code is the Platform for Privacy Preferences.
-
- The Initial Developer of the Original Code is
- Netscape Communications Corporation.
- Portions created by the Initial Developer are Copyright (C) 2002
- the Initial Developer. All Rights Reserved.
-
- Contributor(s): Samir Gehani <sgehani@netscape.com>
-
- Alternatively, the contents of this file may be used under the terms of
- either the GNU General Public License Version 2 or later (the "GPL"), or
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- in which case the provisions of the GPL or the LGPL are applicable instead
- of those above. If you wish to allow use of your version of this file only
- under the terms of either the GPL or the LGPL, and not to allow others to
- use your version of this file under the terms of the MPL, indicate your
- decision by deleting the provisions above and replace them with the notice
- and other provisions required by the LGPL or the GPL. If you do not delete
- the provisions above, a recipient may use your version of this file under
- the terms of any one of the MPL, the GPL or the LGPL.
-
- ***** END LICENSE BLOCK ***** -->
<!-- This file overlays "chrome://navigator/content/pageInfo.xul" -->
<!DOCTYPE overlay SYSTEM "chrome://p3p/locale/pageInfoOverlay.dtd">
<overlay id="p3pPageInfoOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript"
src="chrome://p3p/content/pageInfoOverlay.js"/>
<script src="chrome://communicator/content/p3p/nsPolicyViewer.js"/>
<script type="application/x-javascript">
onLoadRegistry.push(initP3PTab);
</script>
<tabs id="tabs">
<tab id="p3pTab" label="&pageInfo.p3pTab.label;"
accesskey="&pageInfo.p3pTab.accesskey;"/>
</tabs>
<tabpanels id="tabpanels">
<tabpanel id="p3pPanel" flex="1" orient="vertical">
<label> &pageInfo.instruction; </label>
<tree id="linkList" flex="1" seltype="multiple"
hidecolumnpicker="true">
<treecols>
<treecol id="linkTypes" label="&pageInfo.linkTypes;" flex="1"
primary="true"/>
</treecols>
<treechildren flex="1">
<treeitem container="true" open="true" id="outer">
<treerow>
<treecell id="mainLink" label=""/>
</treerow>
<treechildren id="linkTypekids">
<treeitem container="true" id="links">
<treerow>
<treecell label="&pageInfo.type.links;"/>
</treerow>
<treechildren id="linkKids"/>
</treeitem>
<treeitem container="true" id="applets">
<treerow>
<treecell label="&pageInfo.type.applets;"/>
</treerow>
<treechildren id="appletKids"/>
</treeitem>
<treeitem container="true" id="imageMaps">
<treerow>
<treecell label="&pageInfo.type.imageMaps;"/>
</treerow>
<treechildren id="imageMapKids"/>
</treeitem>
<treeitem container="true" id="forms">
<treerow>
<treecell label="&pageInfo.type.forms;"/>
</treerow>
<treechildren id="formKids"/>
</treeitem>
<treeitem container="true" id="frames">
<treerow>
<treecell label="&pageInfo.type.frames;"/>
</treerow>
<treechildren id="frameKids"/>
</treeitem>
<treeitem container="true" id="images">
<treerow>
<treecell label="&pageInfo.type.images;"/>
</treerow>
<treechildren id="imageKids"/>
</treeitem>
<treeitem container="true" id="externalDocs">
<treerow>
<treecell label="&pageInfo.type.externalDocs;"/>
</treerow>
<treechildren id="externalDocKids"/>
</treeitem>
<treeitem container="true" id="objects">
<treerow>
<treecell label="&pageInfo.type.objects;"/>
</treerow>
<treechildren id="objectKids"/>
</treeitem>
<treeitem container="true" id="scripts">
<treerow>
<treecell label="&pageInfo.type.scripts;"/>
</treerow>
<treechildren id="scriptKids"/>
</treeitem>
</treechildren>
</treeitem>
</treechildren>
</tree>
<hbox>
<button label="&pageInfo.humanReadable.label;"
accesskey="&pageInfo.humanReadable.accesskey;"
oncommand="onHumanReadable();"/>
<button label="&pageInfo.machineReadable.label;"
accesskey="&pageInfo.machineReadable.accesskey;"
oncommand="onMachineReadable();"/>
<button label="&pageInfo.optinoptout.label;"
accesskey="&pageInfo.optinoptout.accesskey;"
oncommand="onOptInOptOut();"/>
</hbox>
</tabpanel>
</tabpanels>
</overlay>