DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (31ec81b5d7bb)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
<?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" [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
%brandDTD;
<!ENTITY % aboutDTD SYSTEM "chrome://global/locale/about.dtd" >
%aboutDTD;
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
%globalDTD;
]>

<!-- 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/. -->

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>About:</title>
  <link rel="stylesheet" href="chrome://global/skin/about.css" type="text/css"/>
</head>

<body dir="&locale.dir;">
  <div id="aboutLogoContainer">
    <a id="vendorURL">
      <img src="about:logo" alt="&brandShortName;"/>
      <p id="version"></p>
    </a>
  </div>

  <ul id="aboutPageList">
    <li>&about.credits.beforeLink;<a href="about:credits">&about.credits.linkTitle;</a>&about.credits.afterLink;</li>
    <li>&about.license.beforeTheLink;<a href="about:license">&about.license.linkTitle;</a>&about.license.afterTheLink;</li>
    <li hidden="true">&about.relnotes.beforeTheLink;<a id="releaseNotesURL">&about.relnotes.linkTitle;</a>&about.relnotes.afterTheLink;</li>
    <li>&about.buildconfig.beforeTheLink;<a href="about:buildconfig">&about.buildconfig.linkTitle;</a>&about.buildconfig.afterTheLink;</li>
    <script type="application/javascript">
      // 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") {
        var relnotes = document.getElementById("releaseNotesURL");
        relnotes.setAttribute("href", releaseNotesURL);
        relnotes.parentNode.removeAttribute("hidden");
      }

      var vendorURL = formatter.formatURLPref("app.vendorURL");
      if (vendorURL != "about:blank") {
        var vendor = document.getElementById("vendorURL");
        vendor.setAttribute("href", vendorURL);
      }

      // 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
      var ua = navigator.userAgent;
      if (ua) {
        var list = document.getElementById("aboutPageList");
        var listItem = list.appendChild(document.createElement("li"));
        listItem.appendChild(document.createTextNode("&about.buildIdentifier;"));
        listItem.appendChild(document.createTextNode(ua));
      }
    </script>
  </ul>

</body>
</html>