150 lines
5.6 KiB
XML
150 lines
5.6 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!-- This css and dtd are for the phishing warning message -->
|
|
|
|
<?xml-stylesheet
|
|
href="chrome://browser/skin/safebrowsing/browser-protection.css"
|
|
type="text/css" ?>
|
|
<!DOCTYPE
|
|
window SYSTEM "chrome://browser/locale/safebrowsing/phishing-afterload-warning-message.dtd">
|
|
|
|
<overlay id="safebrowsing-overlay"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<window id="main-window">
|
|
<!-- This is the spike aka tail on top of the warning -->
|
|
|
|
<hbox id="safebrowsing-palm-message-tail-container" hidden="true"
|
|
pack="end">
|
|
<image id="safebrowsing-palm-message-tail"
|
|
src="chrome://browser/skin/safebrowsing/tail.png" />
|
|
</hbox>
|
|
|
|
<!-- This is the phishing afterload warning message -->
|
|
|
|
<vbox id="safebrowsing-palm-message" hidden="true" pack="center"
|
|
class="safebrowsing-palm-fixed-width">
|
|
|
|
<!-- This is the main warning area -->
|
|
|
|
<vbox id="safebrowsing-palm-message-content"
|
|
class="safebrowsing-palm-fixed-width safebrowsing-palm-message-bubble"
|
|
style="-moz-user-focus: normal"
|
|
xmlns:x2="http://www.w3.org/TR/xhtml2"
|
|
xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
|
|
x2:role="wairole:alert">
|
|
|
|
<!-- Top line -->
|
|
|
|
<hbox id="safebrowsing-palm-message-titlebox"
|
|
class="safebrowsing-palm-fixed-width">
|
|
<image
|
|
src="chrome://browser/skin/safebrowsing/warning24x24.png"
|
|
id="safebrowsing-palm-title-icon" />
|
|
<description id="safebrowsing-palm-message-title"
|
|
class="safebrowsing-palm-title"
|
|
value="&safeb.palm.warning.heading;" />
|
|
<spacer flex="1" />
|
|
<vbox pack="start" align="start">
|
|
<image
|
|
src="chrome://browser/skin/safebrowsing/close16x16.png"
|
|
id="safebrowsing-palm-close"
|
|
onclick="goDoCommand('safebrowsing-decline-warning')" />
|
|
</vbox>
|
|
</hbox>
|
|
|
|
<!-- Content area: short warning -->
|
|
|
|
<description id="safebrowsing-palm-content"
|
|
class="safebrowsing-paragraph">
|
|
&safeb.palm.message.part1;
|
|
<label class="text-link plain"
|
|
statustext="&safeb.palm.showmore.statustext;"
|
|
id="safebrowsing-palm-showmore-link"
|
|
onclick="goDoCommand('safebrowsing-palm-showmore')"
|
|
value="&safeb.palm.message.link1.more;" />
|
|
</description>
|
|
|
|
<!-- Content area: rest of the warning, revealed if the user
|
|
hits the more link -->
|
|
|
|
<vbox id="safebrowsing-palm-extended-message" hidden="true"
|
|
class="safebrowsing-palm-fixed-width">
|
|
|
|
<description class="safebrowsing-palm-paragraph">
|
|
&safeb.palm.message.part2;
|
|
<label class="text-link plain"
|
|
id="safebrowsing-palm-faq-link"
|
|
href="&safeb.palm.message.link2.href;"
|
|
value="&safeb.palm.message.link2.phishing.faq;" />
|
|
&safeb.palm.message.part3;
|
|
<label class="text-link plain"
|
|
id="safebrowsing-palm-phishingorg-link"
|
|
href="&safeb.palm.message.link3.href;"
|
|
value="&safeb.palm.message.link3.antiphishing.org;" />&safeb.palm.message.part3.dot;
|
|
</description>
|
|
|
|
<description class="safebrowsing-palm-paragraph">
|
|
&safeb.palm.message.part4;
|
|
<label class="text-link plain"
|
|
id="safebrowsing-palm-fraudpage-link"
|
|
href="&safeb.palm.message.link4.href;"
|
|
value="&safeb.palm.message.link4.gwghome;" />&safeb.palm.message.part4.dot;
|
|
</description>
|
|
<description class="safebrowsing-palm-paragraph">
|
|
&safeb.palm.message.part5;
|
|
<label
|
|
class="text-link plain"
|
|
id="safebrowsing-palm-falsepositive-link"
|
|
value="&safeb.palm.message.link5.report;" />&safeb.palm.message.part5.dot;
|
|
</description>
|
|
</vbox>
|
|
|
|
<!-- Main action links -->
|
|
<hbox id="safebrowsing-palm-message-actionbox"
|
|
class="safebrowsing-palm-fixed-width"
|
|
align="center" crop="none">
|
|
<label
|
|
class="safebrowsing-palm-bigtext text-link plain"
|
|
statustext="&safeb.palm.accept.statustext;"
|
|
id="safebrowsing-palm-accept-link"
|
|
onclick="goDoCommand('safebrowsing-accept-warning')"
|
|
value="&safeb.palm.accept.label;" />
|
|
<spacer flex="1"/>
|
|
<label
|
|
class="safebrowsing-palm-bigtext text-link plain"
|
|
statustext="&safeb.palm.decline.statustext;"
|
|
id="safebrowsing-palm-decline-link"
|
|
onclick="goDoCommand('safebrowsing-decline-warning')"
|
|
value="&safeb.palm.decline.label;" />
|
|
</hbox>
|
|
|
|
<!-- Footer -->
|
|
|
|
<hbox align="center" class="safebrowsing-palm-fixed-width">
|
|
<!-- a branding logo could be added here
|
|
<image id="safebrowsing-palm-logo"
|
|
tooltiptext="&safeb.palm.provider.logo.tooltip;"
|
|
src="chrome://browser/skin/safebrowsing/logo.png" />
|
|
-->
|
|
<spacer flex="1" />
|
|
<description>
|
|
[
|
|
<label id="safebrowsing-palm-report-link"
|
|
class="safebrowsing-palm-smalltext text-link plain"
|
|
value="&safeb.palm.sendreport.label;" />
|
|
]
|
|
</description>
|
|
</hbox>
|
|
</vbox>
|
|
</vbox>
|
|
|
|
<!-- The canvas goes here, but since it takes up so much memory and is
|
|
rarely used, we add and remove it dynamically -->
|
|
|
|
<!-- This dims out the browser content -->
|
|
<vbox id="safebrowsing-dim-area-canvas" hidden="true">
|
|
</vbox>
|
|
</window>
|
|
</overlay>
|