|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!-- |
|
3 # This Source Code Form is subject to the terms of the Mozilla Public |
|
4 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
6 --> |
|
7 <!DOCTYPE html [ |
|
8 <!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> |
|
9 %htmlDTD; |
|
10 <!ENTITY % netErrorDTD SYSTEM "chrome://global/locale/netError.dtd"> |
|
11 %netErrorDTD; |
|
12 <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd"> |
|
13 %globalDTD; |
|
14 <!ENTITY % restorepageDTD SYSTEM "chrome://browser/locale/aboutSessionRestore.dtd"> |
|
15 %restorepageDTD; |
|
16 ]> |
|
17 |
|
18 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
19 <head> |
|
20 <title>&restorepage.tabtitle;</title> |
|
21 <link rel="stylesheet" href="chrome://global/skin/netError.css" type="text/css" media="all"/> |
|
22 <link rel="stylesheet" href="chrome://browser/skin/aboutSessionRestore.css" type="text/css" media="all"/> |
|
23 <link rel="icon" type="image/png" href="chrome://global/skin/icons/warning-16.png"/> |
|
24 |
|
25 <script type="application/javascript;version=1.8" src="chrome://browser/content/aboutSessionRestore.js"/> |
|
26 </head> |
|
27 |
|
28 <body dir="&locale.dir;"> |
|
29 |
|
30 <!-- PAGE CONTAINER (for styling purposes only) --> |
|
31 <div id="errorPageContainer"> |
|
32 |
|
33 <!-- Error Title --> |
|
34 <div id="errorTitle"> |
|
35 <h1 id="errorTitleText">&restorepage.errorTitle;</h1> |
|
36 </div> |
|
37 |
|
38 <!-- LONG CONTENT (the section most likely to require scrolling) --> |
|
39 <div id="errorLongContent"> |
|
40 |
|
41 <!-- Short Description --> |
|
42 <div id="errorShortDesc"> |
|
43 <p id="errorShortDescText">&restorepage.problemDesc;</p> |
|
44 </div> |
|
45 |
|
46 <!-- Long Description (Note: See netError.dtd for used XHTML tags) --> |
|
47 <div id="errorLongDesc"> |
|
48 <p>&restorepage.tryThis;</p> |
|
49 <ul> |
|
50 <li>&restorepage.restoreSome;</li> |
|
51 <li>&restorepage.startNew;</li> |
|
52 </ul> |
|
53 </div> |
|
54 |
|
55 <!-- Short Description --> |
|
56 <div id="errorTrailerDesc"> |
|
57 <tree xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
58 id="tabList" flex="1" seltype="single" hidecolumnpicker="true" |
|
59 onclick="onListClick(event);" onkeydown="onListKeyDown(event);" |
|
60 _window_label="&restorepage.windowLabel;"> |
|
61 <treecols> |
|
62 <treecol cycler="true" id="restore" type="checkbox" label="&restorepage.restoreHeader;"/> |
|
63 <splitter class="tree-splitter"/> |
|
64 <treecol primary="true" id="title" label="&restorepage.listHeader;" flex="1"/> |
|
65 </treecols> |
|
66 <treechildren flex="1"/> |
|
67 </tree> |
|
68 </div> |
|
69 </div> |
|
70 |
|
71 <!-- Buttons --> |
|
72 <hbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" id="buttons"> |
|
73 #ifdef XP_UNIX |
|
74 <button id="errorCancel" label="&restorepage.closeButton;" |
|
75 accesskey="&restorepage.close.access;" |
|
76 oncommand="startNewSession();"/> |
|
77 <button id="errorTryAgain" label="&restorepage.tryagainButton;" |
|
78 accesskey="&restorepage.restore.access;" |
|
79 oncommand="restoreSession();"/> |
|
80 #else |
|
81 <button id="errorTryAgain" label="&restorepage.tryagainButton;" |
|
82 accesskey="&restorepage.restore.access;" |
|
83 oncommand="restoreSession();"/> |
|
84 <button id="errorCancel" label="&restorepage.closeButton;" |
|
85 accesskey="&restorepage.close.access;" |
|
86 oncommand="startNewSession();"/> |
|
87 #endif |
|
88 </hbox> |
|
89 <!-- holds the session data for when the tab is closed --> |
|
90 <input type="text" id="sessionData" style="display: none;"/> |
|
91 </div> |
|
92 |
|
93 </body> |
|
94 </html> |