gecko-dev/toolkit/content/aboutSupport.xhtml
Matthew Noorenberghe 5e386d60dd Bug 557738 - Add user.js section to about:support. r=adw
--HG--
extra : rebase_source : 060bed565bf0656e7a69a67aae4aefec42535138
2012-09-26 16:03:00 -07:00

292 lines
6.9 KiB
HTML

<?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 % globalDTD SYSTEM "chrome://global/locale/global.dtd"> %globalDTD;
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> %brandDTD;
<!ENTITY % aboutSupportDTD SYSTEM "chrome://global/locale/aboutSupport.dtd"> %aboutSupportDTD;
<!ENTITY % resetProfileDTD SYSTEM "chrome://global/locale/resetProfile.dtd"> %resetProfileDTD;
]>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>&aboutSupport.pageTitle;</title>
<link rel="stylesheet" href="chrome://global/skin/aboutSupport.css"
type="text/css"/>
<script type="application/javascript;version=1.7"
src="chrome://global/content/aboutSupport.js"/>
<script type="application/javascript;version=1.7"
src="chrome://global/content/resetProfile.js"/>
</head>
<body dir="&locale.dir;">
<div id="reset-box" style="visibility: hidden">
<h3>&resetProfile.title;</h3>
<p>&resetProfile.description;</p>
<button onclick="resetProfileAndRestart()">
&resetProfile.button.label;
</button>
</div>
<h1>
&aboutSupport.pageTitle;
</h1>
<div class="page-subtitle">
&aboutSupport.pageSubtitle;
</div>
<div>
<button id="copy-raw-data-to-clipboard"
onclick="copyRawDataToClipboard(this);">
&aboutSupport.copyRawDataToClipboard.label;
</button>
<button id="copy-to-clipboard" onclick="copyContentsToClipboard()">
&aboutSupport.copyTextToClipboard.label;
</button>
</div>
<div id="contents">
<!-- - - - - - - - - - - - - - - - - - - - - -->
<h2 class="major-section">
&aboutSupport.appBasicsTitle;
</h2>
<table>
<tbody>
<tr>
<th class="column">
&aboutSupport.appBasicsName;
</th>
<td id="application-box">
</td>
</tr>
<tr>
<th class="column">
&aboutSupport.appBasicsVersion;
</th>
<td id="version-box">
</td>
</tr>
<tr>
<th class="column">
&aboutSupport.appBasicsUserAgent;
</th>
<td id="useragent-box">
</td>
</tr>
<tr id="profile-row" class="no-copy">
<th class="column">
#ifdef XP_WIN
&aboutSupport.appBasicsProfileDirWinMac;
#else
#ifdef XP_MACOSX
&aboutSupport.appBasicsProfileDirWinMac;
#else
&aboutSupport.appBasicsProfileDir;
#endif
#endif
</th>
<td>
<button onclick="openProfileDirectory()">
#ifdef XP_WIN
&aboutSupport.showWin.label;
#else
#ifdef XP_MACOSX
&aboutSupport.showMac.label;
#else
&aboutSupport.showDir.label;
#endif
#endif
</button>
</td>
</tr>
<tr class="no-copy">
<th class="column">
&aboutSupport.appBasicsEnabledPlugins;
</th>
<td>
<a href="about:plugins">about:plugins</a>
</td>
</tr>
<tr>
<th class="column">
&aboutSupport.appBasicsBuildConfig;
</th>
<td>
<a href="about:buildconfig">about:buildconfig</a>
</td>
</tr>
<tr class="no-copy">
<th class="column">
&aboutSupport.appBasicsCrashIDs;
</th>
<td>
<a href="about:crashes">about:crashes</a>
</td>
</tr>
<tr class="no-copy">
<th class="column">
&aboutSupport.appBasicsMemoryUse;
</th>
<td>
<a href="about:memory">about:memory</a>
</td>
</tr>
</tbody>
</table>
<!-- - - - - - - - - - - - - - - - - - - - - -->
<h2 class="major-section">
&aboutSupport.extensionsTitle;
</h2>
<table>
<thead>
<tr>
<th>
&aboutSupport.extensionName;
</th>
<th>
&aboutSupport.extensionVersion;
</th>
<th>
&aboutSupport.extensionEnabled;
</th>
<th>
&aboutSupport.extensionId;
</th>
</tr>
</thead>
<tbody id="extensions-tbody">
</tbody>
</table>
<!-- - - - - - - - - - - - - - - - - - - - - -->
<h2 class="major-section">
&aboutSupport.modifiedKeyPrefsTitle;
</h2>
<table class="prefs-table">
<thead>
<th class="name">
&aboutSupport.modifiedPrefsName;
</th>
<th class="value">
&aboutSupport.modifiedPrefsValue;
</th>
</thead>
<tbody id="prefs-tbody">
</tbody>
</table>
<section id="prefs-user-js-section" style="display:none">
<h3>&aboutSupport.userJSTitle;</h3>
<p>&aboutSupport.userJSDescription;</p>
</section>
<!-- - - - - - - - - - - - - - - - - - - - - -->
<h2 class="major-section">
&aboutSupport.graphicsTitle;
</h2>
<table>
<tbody id="graphics-tbody">
</tbody>
<tbody id="graphics-info-properties">
</tbody>
<tbody id="graphics-failures-tbody">
</tbody>
</table>
<!-- - - - - - - - - - - - - - - - - - - - - -->
<h2 class="major-section">
&aboutSupport.jsTitle;
</h2>
<table>
<tbody>
<tr>
<th class="column">
&aboutSupport.jsIncrementalGC;
</th>
<td id="javascript-incremental-gc">
</td>
</tr>
</tbody>
</table>
<!-- - - - - - - - - - - - - - - - - - - - - -->
<h2 class="major-section">
&aboutSupport.a11yTitle;
</h2>
<table>
<tbody>
<tr>
<th class="column">
&aboutSupport.a11yActivated;
</th>
<td id="a11y-activated">
</td>
</tr>
<tr>
<th class="column">
&aboutSupport.a11yForceDisabled;
</th>
<td id="a11y-force-disabled">
</td>
</tr>
</tbody>
</table>
<!-- - - - - - - - - - - - - - - - - - - - - -->
<h2 class="major-section">
&aboutSupport.libraryVersionsTitle;
</h2>
<table>
<tbody id="libversions-tbody">
</tbody>
</table>
</div>
</body>
</html>