2004-11-30 22:54:13 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [
|
2005-03-10 18:44:11 +00:00
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
|
2004-11-30 22:54:13 +00:00
|
|
|
%brandDTD;
|
2006-06-28 06:31:11 +00:00
|
|
|
<!ENTITY % aboutDTD SYSTEM "chrome://global/locale/about.dtd" >
|
|
|
|
%aboutDTD;
|
2006-08-11 20:05:38 +00:00
|
|
|
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
|
|
|
|
%globalDTD;
|
2004-11-30 22:54:13 +00:00
|
|
|
]>
|
|
|
|
|
2012-05-21 11:12:37 +00:00
|
|
|
<!-- 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/. -->
|
2006-07-22 14:36:45 +00:00
|
|
|
|
2004-11-30 22:54:13 +00:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
2006-06-28 06:31:11 +00:00
|
|
|
<title>About:</title>
|
|
|
|
<link rel="stylesheet" href="chrome://global/skin/about.css" type="text/css"/>
|
2004-11-30 22:54:13 +00:00
|
|
|
</head>
|
|
|
|
|
2006-08-11 20:05:38 +00:00
|
|
|
<body dir="&locale.dir;">
|
2006-06-28 06:31:11 +00:00
|
|
|
<div id="aboutLogoContainer">
|
2013-05-30 19:25:43 +00:00
|
|
|
<a id="vendorURL">
|
2007-02-23 21:45:17 +00:00
|
|
|
<img src="about:logo" alt="&brandShortName;"/>
|
2010-10-26 07:15:28 +00:00
|
|
|
<p id="version"></p>
|
2006-06-28 06:31:11 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
2006-07-22 14:36:45 +00:00
|
|
|
|
2006-06-28 06:31:11 +00:00
|
|
|
<ul id="aboutPageList">
|
2009-12-29 22:13:00 +00:00
|
|
|
<li>&about.credits.beforeLink;<a href="about:credits">&about.credits.linkTitle;</a>&about.credits.afterLink;</li>
|
2010-04-20 07:34:21 +00:00
|
|
|
<li>&about.license.beforeTheLink;<a href="about:license">&about.license.linkTitle;</a>&about.license.afterTheLink;</li>
|
2013-05-30 19:25:43 +00:00
|
|
|
<li hidden="true">&about.relnotes.beforeTheLink;<a id="releaseNotesURL">&about.relnotes.linkTitle;</a>&about.relnotes.afterTheLink;</li>
|
2010-04-20 07:34:21 +00:00
|
|
|
<li>&about.buildconfig.beforeTheLink;<a href="about:buildconfig">&about.buildconfig.linkTitle;</a>&about.buildconfig.afterTheLink;</li>
|
2007-05-23 18:08:10 +00:00
|
|
|
<script type="application/javascript">
|
2010-11-12 20:26:14 +00:00
|
|
|
// get release notes and vendor URL from prefs
|
|
|
|
var formatter = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"]
|
|
|
|
.getService(Components.interfaces.nsIURLFormatter);
|
|
|
|
var releaseNotesURL = formatter.formatURLPref("app.releaseNotesURL");
|
|
|
|
if (releaseNotesURL != "about:blank") {
|
2006-09-01 16:26:03 +00:00
|
|
|
var relnotes = document.getElementById("releaseNotesURL");
|
|
|
|
relnotes.setAttribute("href", releaseNotesURL);
|
2013-05-30 19:25:43 +00:00
|
|
|
relnotes.parentNode.removeAttribute("hidden");
|
2010-11-12 20:26:14 +00:00
|
|
|
}
|
2007-08-14 06:13:04 +00:00
|
|
|
|
2010-11-12 20:26:14 +00:00
|
|
|
var vendorURL = formatter.formatURLPref("app.vendorURL");
|
|
|
|
if (vendorURL != "about:blank") {
|
2007-08-14 06:13:04 +00:00
|
|
|
var vendor = document.getElementById("vendorURL");
|
|
|
|
vendor.setAttribute("href", vendorURL);
|
2006-09-01 16:26:03 +00:00
|
|
|
}
|
2006-08-21 19:14:29 +00:00
|
|
|
|
2010-11-12 20:26:14 +00:00
|
|
|
// insert the version of the XUL application (!= XULRunner platform version)
|
|
|
|
var versionNum = Components.classes["@mozilla.org/xre/app-info;1"]
|
|
|
|
.getService(Components.interfaces.nsIXULAppInfo)
|
|
|
|
.version;
|
|
|
|
var version = document.getElementById("version");
|
|
|
|
version.appendChild(document.createTextNode("&about.version; " + versionNum));
|
|
|
|
|
|
|
|
// append user agent
|
2006-06-28 06:31:11 +00:00
|
|
|
var ua = navigator.userAgent;
|
|
|
|
if (ua) {
|
|
|
|
var list = document.getElementById("aboutPageList");
|
|
|
|
var listItem = list.appendChild(document.createElement("li"));
|
|
|
|
listItem.appendChild(document.createTextNode("&about.buildIdentifier;"));
|
2007-08-14 05:56:23 +00:00
|
|
|
listItem.appendChild(document.createTextNode(ua));
|
2006-06-28 06:31:11 +00:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</ul>
|
2004-11-30 22:54:13 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|