summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/base/content/newsError.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mailnews/base/content/newsError.xhtml')
-rw-r--r--comm/mailnews/base/content/newsError.xhtml57
1 files changed, 57 insertions, 0 deletions
diff --git a/comm/mailnews/base/content/newsError.xhtml b/comm/mailnews/base/content/newsError.xhtml
new file mode 100644
index 0000000000..519d7c3897
--- /dev/null
+++ b/comm/mailnews/base/content/newsError.xhtml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 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/. -->
+
+<!DOCTYPE html [ <!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
+%htmlDTD;
+<!ENTITY % netErrorDTD
+ SYSTEM "chrome://messenger/locale/newsError.dtd">
+%netErrorDTD; ]>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <meta http-equiv="Content-Security-Policy" content="default-src chrome:" />
+ <title>&newsError.title;</title>
+ <link
+ rel="stylesheet"
+ href="chrome://global/skin/aboutNetError.css"
+ type="text/css"
+ media="all"
+ />
+ <!-- If the location of the favicon is changed here, the FAVICON_ERRORPAGE_URL symbol in
+ toolkit/components/places/src/nsFaviconService.h should be updated. -->
+ <link
+ rel="icon"
+ type="image/png"
+ id="favicon"
+ href="chrome://global/skin/icons/warning.svg"
+ />
+ </head>
+ <body>
+ <div id="errorPageContainer">
+ <div id="errorTitle">
+ <h1 id="errorTitleText">&articleNotFound.title;</h1>
+ </div>
+ <div id="errorLongContent">
+ <div id="errorShortDesc">
+ <p id="errorShortDescText"><b>&articleNotFound.desc;</b></p>
+ </div>
+ <div id="errorLongDesc">
+ <ul>
+ <li>&serverResponded.title; <span id="ngResp" /></li>
+ <li>&articleExpired.title;</li>
+ <li id="messageIdDesc">
+ &trySearching.title; &lt;<span id="msgId" />&gt; (<span
+ id="msgKey"
+ />)
+ </li>
+ </ul>
+ </div>
+ </div>
+ <!-- This button really means "remove all expired articles", but we use
+ the "errorTryAgain" id to piggyback on toolkit's CSS. -->
+ <button id="errorTryAgain">&removeExpiredArticles.title;</button>
+ </div>
+ <script src="chrome://messenger/content/newsError.js" />
+ </body>
+</html>