gecko/toolkit/components/cookie/content/cookieAcceptDialog.xul

118 lines
3.6 KiB
Plaintext
Raw Normal View History

<?xml version="1.0"?>
2012-05-21 04:12:37 -07:00
<!-- 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://global/skin/" type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://cookie/locale/cookieAcceptDialog.dtd">
<!-- use a overlay te be able to put the accept/deny buttons not on the bottom -->
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!-- use buttons="disclosure" to hide ok/cancel buttons. Those are added manually later -->
<dialog id="cookieAcceptDialog"
acceptLabel="&button.allow.label;"
acceptKey="&button.allow.accesskey;"
extra1Label="&button.session.label;"
extra1Key="&button.session.accesskey;"
cancelLabel="&button.deny.label;"
cancelKey="&button.deny.accesskey;"
onload="onload();"
ondialogaccept="return doOKButton();"
title="&dialog.title;"
buttons="disclosure"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="cookieAcceptDialog.js" type="application/javascript"/>
<stringbundle id="cookieBundle"
src="chrome://cookie/locale/cookieAcceptDialog.properties"/>
<vbox>
<hbox>
<hbox align="start">
<image id="infoicon" class="spaced alert-icon"/>
</hbox>
<vbox flex="1">
<!-- text -->
<vbox id="dialogtextbox">
<description id="dialog-header" class="header"/>
</vbox>
<hbox id="checkboxContainer">
<checkbox id="persistDomainAcceptance"
label="&dialog.remember.label;"
accesskey="&dialog.remember.accesskey;"
persist="checked"/>
</hbox>
</vbox>
</hbox>
<hbox>
<button id="disclosureButton" dlgtype="disclosure" class="exit-dialog"
oncommand="showhideinfo();"/>
<spacer flex="1"/>
<hbox id="okCancelButtonsRight"/>
</hbox>
<vbox id="infobox" hidden="true" persist="hidden">
<separator class="groove"/>
<grid flex="1">
<columns>
<column/>
<column flex="1"/>
</columns>
<rows>
<row align="center">
<hbox align="center" pack="end">
<label value="&props.name.label;"/>
</hbox>
<textbox id="ifl_name" readonly="true" class="plain"/>
</row>
<row align="center">
<hbox align="center" pack="end">
<label value="&props.value.label;"/>
</hbox>
<textbox id="ifl_value" readonly="true" class="plain"/>
</row>
<row align="center">
<hbox align="center" pack="end">
<label id="ifl_isDomain" value="&props.domain.label;"/>
</hbox>
<textbox id="ifl_host" readonly="true" class="plain"/>
</row>
<row align="center">
<hbox align="center" pack="end">
<label value="&props.path.label;"/>
</hbox>
<textbox id="ifl_path" readonly="true" class="plain"/>
</row>
<row align="center">
<hbox align="center" pack="end">
<label value="&props.secure.label;"/>
</hbox>
<textbox id="ifl_isSecure" readonly="true" class="plain"/>
</row>
<row align="center">
<hbox align="center" pack="end">
<label value="&props.expires.label;"/>
</hbox>
<textbox id="ifl_expires" readonly="true" class="plain"/>
</row>
</rows>
</grid>
</vbox>
</vbox>
</dialog>