1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1//EN"
4 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [
5 <!ENTITY % brandDTD SYSTEM
"chrome://branding/locale/brand.dtd" >
7 <!ENTITY % aboutDTD SYSTEM
"chrome://global/locale/about.dtd" >
9 <!ENTITY % globalDTD SYSTEM
"chrome://global/locale/global.dtd">
13 <!-- ***** BEGIN LICENSE BLOCK *****
14 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
16 - The contents of this file are subject to the Mozilla Public License Version
17 - 1.1 (the "License"); you may not use this file except in compliance with
18 - the License. You may obtain a copy of the License at
19 - http://www.mozilla.org/MPL/
21 - Software distributed under the License is distributed on an "AS IS" basis,
22 - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
23 - for the specific language governing rights and limitations under the
26 - The Original Code is Mozilla Communicator client code, released
29 - The Initial Developer of the Original Code is
30 - Netscape Communications Corporation.
31 - Portions created by the Initial Developer are Copyright (C) 1998-1999
32 - the Initial Developer. All Rights Reserved.
35 - Henrik Gemal <mozilla@gemal.dk>
36 - Daniel Veditz <dveditz@netscape.com>
37 - Alexey Chernyak <alexeyc@bigfoot.com>
38 - Steffen Wilberg <steffen.wilberg@web.de>
40 - Alternatively, the contents of this file may be used under the terms of
41 - either the GNU General Public License Version 2 or later (the "GPL"), or
42 - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
43 - in which case the provisions of the GPL or the LGPL are applicable instead
44 - of those above. If you wish to allow use of your version of this file only
45 - under the terms of either the GPL or the LGPL, and not to allow others to
46 - use your version of this file under the terms of the MPL, indicate your
47 - decision by deleting the provisions above and replace them with the notice
48 - and other provisions required by the GPL or the LGPL. If you do not delete
49 - the provisions above, a recipient may use your version of this file under
50 - the terms of any one of the MPL, the GPL or the LGPL.
52 - ***** END LICENSE BLOCK ***** -->
54 <html xmlns=
"http://www.w3.org/1999/xhtml">
57 <link rel=
"stylesheet" href=
"chrome://global/skin/about.css" type=
"text/css"/>
60 <body dir=
"&locale.dir;">
61 <div id=
"aboutPageContainer">
62 <div id=
"aboutLogoContainer">
63 <a id=
"vendorURL" href=
"http://www.mozilla.org/">
64 <img src=
"about:logo" alt=
"&brandShortName;"/>
65 #expand
<p id=
"version">&about.version; __MOZ_APP_VERSION__
</p>
69 <ul id=
"aboutPageList">
70 <li>&about.copy.beforeLink;
<a href=
"about:credits">&about.copy.linkTitle;
</a> &about.copy.afterLink;
</li>
71 <li>&about.license.beforeLink;
<a href=
"about:license">&about.license.linkTitle;
</a> &about.license.afterLink;
</li>
72 <!-- Release notes link removed pending fix for bug 349985
73 <li>&about.relnotes.beforeLink; <a id="releaseNotesURL" href="">&about.relnotes.linkTitle;</a> &about.relnotes.afterLink;</li>
75 <li>&about.buildconfig.beforeLink;
<a href=
"about:buildconfig">&about.buildconfig.linkTitle;
</a> &about.buildconfig.afterLink;
</li>
76 <script type=
"application/javascript">
77 // get release notes URL from prefs
79 var formatter = Components.classes[
"@mozilla.org/toolkit/URLFormatterService;1"]
80 .getService(Components.interfaces.nsIURLFormatter);
81 var releaseNotesURL = formatter.formatURLPref(
"app.releaseNotesURL");
82 var relnotes = document.getElementById(
"releaseNotesURL");
83 relnotes.setAttribute(
"href", releaseNotesURL);
85 var vendorURL = formatter.formatURLPref(
"app.vendorURL");
86 var vendor = document.getElementById(
"vendorURL");
87 vendor.setAttribute(
"href", vendorURL);
89 catch (ex) { /* no release notes and vendor URL for you without bug
349985 being fixed */ }
91 var ua = navigator.userAgent;
93 var list = document.getElementById(
"aboutPageList");
94 var listItem = list.appendChild(document.createElement(
"li"));
95 listItem.appendChild(document.createTextNode(
"&about.buildIdentifier;"));
96 listItem.appendChild(document.createTextNode(ua));