summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/base/content/newsError.xhtml
blob: 519d7c3897a2278886f8b3e38f16ce06450a3644 (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
<?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>