1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/components/sessionstore/content/aboutSessionRestore.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,94 @@ 1.4 +<?xml version="1.0" encoding="UTF-8"?> 1.5 +<!-- 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 +--> 1.10 +<!DOCTYPE html [ 1.11 + <!ENTITY % htmlDTD PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> 1.12 + %htmlDTD; 1.13 + <!ENTITY % netErrorDTD SYSTEM "chrome://global/locale/netError.dtd"> 1.14 + %netErrorDTD; 1.15 + <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd"> 1.16 + %globalDTD; 1.17 + <!ENTITY % restorepageDTD SYSTEM "chrome://browser/locale/aboutSessionRestore.dtd"> 1.18 + %restorepageDTD; 1.19 +]> 1.20 + 1.21 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.22 + <head> 1.23 + <title>&restorepage.tabtitle;</title> 1.24 + <link rel="stylesheet" href="chrome://global/skin/netError.css" type="text/css" media="all"/> 1.25 + <link rel="stylesheet" href="chrome://browser/skin/aboutSessionRestore.css" type="text/css" media="all"/> 1.26 + <link rel="icon" type="image/png" href="chrome://global/skin/icons/warning-16.png"/> 1.27 + 1.28 + <script type="application/javascript;version=1.8" src="chrome://browser/content/aboutSessionRestore.js"/> 1.29 + </head> 1.30 + 1.31 + <body dir="&locale.dir;"> 1.32 + 1.33 + <!-- PAGE CONTAINER (for styling purposes only) --> 1.34 + <div id="errorPageContainer"> 1.35 + 1.36 + <!-- Error Title --> 1.37 + <div id="errorTitle"> 1.38 + <h1 id="errorTitleText">&restorepage.errorTitle;</h1> 1.39 + </div> 1.40 + 1.41 + <!-- LONG CONTENT (the section most likely to require scrolling) --> 1.42 + <div id="errorLongContent"> 1.43 + 1.44 + <!-- Short Description --> 1.45 + <div id="errorShortDesc"> 1.46 + <p id="errorShortDescText">&restorepage.problemDesc;</p> 1.47 + </div> 1.48 + 1.49 + <!-- Long Description (Note: See netError.dtd for used XHTML tags) --> 1.50 + <div id="errorLongDesc"> 1.51 + <p>&restorepage.tryThis;</p> 1.52 + <ul> 1.53 + <li>&restorepage.restoreSome;</li> 1.54 + <li>&restorepage.startNew;</li> 1.55 + </ul> 1.56 + </div> 1.57 + 1.58 + <!-- Short Description --> 1.59 + <div id="errorTrailerDesc"> 1.60 + <tree xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.61 + id="tabList" flex="1" seltype="single" hidecolumnpicker="true" 1.62 + onclick="onListClick(event);" onkeydown="onListKeyDown(event);" 1.63 + _window_label="&restorepage.windowLabel;"> 1.64 + <treecols> 1.65 + <treecol cycler="true" id="restore" type="checkbox" label="&restorepage.restoreHeader;"/> 1.66 + <splitter class="tree-splitter"/> 1.67 + <treecol primary="true" id="title" label="&restorepage.listHeader;" flex="1"/> 1.68 + </treecols> 1.69 + <treechildren flex="1"/> 1.70 + </tree> 1.71 + </div> 1.72 + </div> 1.73 + 1.74 + <!-- Buttons --> 1.75 + <hbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" id="buttons"> 1.76 +#ifdef XP_UNIX 1.77 + <button id="errorCancel" label="&restorepage.closeButton;" 1.78 + accesskey="&restorepage.close.access;" 1.79 + oncommand="startNewSession();"/> 1.80 + <button id="errorTryAgain" label="&restorepage.tryagainButton;" 1.81 + accesskey="&restorepage.restore.access;" 1.82 + oncommand="restoreSession();"/> 1.83 +#else 1.84 + <button id="errorTryAgain" label="&restorepage.tryagainButton;" 1.85 + accesskey="&restorepage.restore.access;" 1.86 + oncommand="restoreSession();"/> 1.87 + <button id="errorCancel" label="&restorepage.closeButton;" 1.88 + accesskey="&restorepage.close.access;" 1.89 + oncommand="startNewSession();"/> 1.90 +#endif 1.91 + </hbox> 1.92 + <!-- holds the session data for when the tab is closed --> 1.93 + <input type="text" id="sessionData" style="display: none;"/> 1.94 + </div> 1.95 + 1.96 + </body> 1.97 +</html>