browser/base/content/aboutDialog.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/base/content/aboutDialog.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,155 @@
     1.4 +<?xml version="1.0"?> <!-- -*- Mode: HTML -*- --> 
     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 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
    1.11 +<?xml-stylesheet href="chrome://browser/content/aboutDialog.css" type="text/css"?>
    1.12 +<?xml-stylesheet href="chrome://branding/content/aboutDialog.css" type="text/css"?>
    1.13 +
    1.14 +<!DOCTYPE window [
    1.15 +<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
    1.16 +%brandDTD;
    1.17 +<!ENTITY % aboutDialogDTD SYSTEM "chrome://browser/locale/aboutDialog.dtd" >
    1.18 +%aboutDialogDTD;
    1.19 +]>
    1.20 +
    1.21 +#ifdef XP_MACOSX
    1.22 +<?xul-overlay href="chrome://browser/content/macBrowserOverlay.xul"?>
    1.23 +#endif
    1.24 +
    1.25 +<window xmlns:html="http://www.w3.org/1999/xhtml"
    1.26 +        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.27 +        id="aboutDialog"
    1.28 +        windowtype="Browser:About"
    1.29 +        onload="init(event);"
    1.30 +#ifdef MOZ_UPDATER
    1.31 +        onunload="onUnload(event);"
    1.32 +#endif
    1.33 +#ifdef XP_MACOSX
    1.34 +        inwindowmenu="false"
    1.35 +#else
    1.36 +        title="&aboutDialog.title;"
    1.37 +#endif
    1.38 +        role="dialog"
    1.39 +        aria-describedby="version distribution distributionId communityDesc contributeDesc trademark"
    1.40 +        >
    1.41 +
    1.42 +  <script type="application/javascript" src="chrome://browser/content/aboutDialog.js"/>
    1.43 +
    1.44 +  <vbox id="aboutDialogContainer">
    1.45 +    <hbox id="clientBox">
    1.46 +      <vbox id="leftBox" flex="1"/>
    1.47 +      <vbox id="rightBox" flex="1">
    1.48 +#expand <label id="version">__MOZ_APP_VERSION__</label>
    1.49 +        <label id="distribution" class="text-blurb"/>
    1.50 +        <label id="distributionId" class="text-blurb"/>
    1.51 +
    1.52 +        <vbox id="detailsBox">
    1.53 +          <vbox id="updateBox">
    1.54 +#ifdef MOZ_UPDATER
    1.55 +            <deck id="updateDeck" orient="vertical">
    1.56 +              <hbox id="checkForUpdates" align="center">
    1.57 +                <button id="checkForUpdatesButton" align="start"
    1.58 +                        label="&update.checkForUpdatesButton.label;"
    1.59 +                        accesskey="&update.checkForUpdatesButton.accesskey;"
    1.60 +                        oncommand="gAppUpdater.checkForUpdates();"/>
    1.61 +                <spacer flex="1"/>
    1.62 +              </hbox>
    1.63 +              <hbox id="downloadAndInstall" align="center">
    1.64 +                <button id="downloadAndInstallButton" align="start"
    1.65 +                        oncommand="gAppUpdater.doUpdate();"/>
    1.66 +                        <!-- label and accesskey will be filled by JS -->
    1.67 +                <spacer flex="1"/>
    1.68 +              </hbox>
    1.69 +              <hbox id="apply" align="center">
    1.70 +                <button id="updateButton" align="start"
    1.71 +                        label="&update.updateButton.label;"
    1.72 +                        accesskey="&update.updateButton.accesskey;"
    1.73 +                        oncommand="gAppUpdater.buttonRestartAfterDownload();"/>
    1.74 +                <spacer flex="1"/>
    1.75 +              </hbox>
    1.76 +              <hbox id="applyBillboard" align="center">
    1.77 +                <button id="applyButtonBillboard" align="start"
    1.78 +                        label="&update.applyButtonBillboard.label;"
    1.79 +                        accesskey="&update.applyButtonBillboard.accesskey;"
    1.80 +                        oncommand="gAppUpdater.buttonApplyBillboard();"/>
    1.81 +                <spacer flex="1"/>
    1.82 +              </hbox>
    1.83 +              <hbox id="checkingForUpdates" align="center">
    1.84 +                <image class="update-throbber"/><label>&update.checkingForUpdates;</label>
    1.85 +              </hbox>
    1.86 +              <hbox id="downloading" align="center">
    1.87 +                <image class="update-throbber"/><label>&update.downloading.start;</label><label id="downloadStatus"/><label>&update.downloading.end;</label>
    1.88 +              </hbox>
    1.89 +              <hbox id="applying" align="center">
    1.90 +                <image class="update-throbber"/><label>&update.applying;</label>
    1.91 +              </hbox>
    1.92 +              <hbox id="downloadFailed" align="center">
    1.93 +                <label>&update.failed.start;</label><label id="failedLink" class="text-link">&update.failed.linkText;</label><label>&update.failed.end;</label>
    1.94 +              </hbox>
    1.95 +              <hbox id="adminDisabled" align="center">
    1.96 +                <label>&update.adminDisabled;</label>
    1.97 +              </hbox>
    1.98 +              <hbox id="noUpdatesFound" align="center">
    1.99 +                <label>&update.noUpdatesFound;</label>
   1.100 +              </hbox>
   1.101 +              <hbox id="otherInstanceHandlingUpdates" align="center">
   1.102 +                <label>&update.otherInstanceHandlingUpdates;</label>
   1.103 +              </hbox>
   1.104 +              <hbox id="manualUpdate" align="center">
   1.105 +                <label>&update.manual.start;</label><label id="manualLink" class="text-link"/><label>&update.manual.end;</label>
   1.106 +              </hbox>
   1.107 +              <hbox id="unsupportedSystem" align="center">
   1.108 +                <label>&update.unsupported.start;</label><label id="unsupportedLink" class="text-link">&update.unsupported.linkText;</label><label>&update.unsupported.end;</label>
   1.109 +              </hbox>
   1.110 +            </deck>
   1.111 +#endif
   1.112 +          </vbox>
   1.113 +
   1.114 +#if MOZ_UPDATE_CHANNEL != release
   1.115 +#ifdef MOZ_UPDATER
   1.116 +          <description class="text-blurb" id="currentChannelText">
   1.117 +            &channel.description.start;<label id="currentChannel"/>&channel.description.end;
   1.118 +          </description>
   1.119 +#endif
   1.120 +#endif
   1.121 +          <vbox id="experimental" hidden="true">
   1.122 +            <description class="text-blurb" id="warningDesc">
   1.123 +              &warningDesc.version;
   1.124 +#ifdef MOZ_TELEMETRY_ON_BY_DEFAULT
   1.125 +              &warningDesc.telemetryDesc;
   1.126 +#endif
   1.127 +            </description>
   1.128 +            <description class="text-blurb" id="communityExperimentalDesc">
   1.129 +              &community.exp.start;<label class="text-link" href="http://www.mozilla.org/">&community.exp.mozillaLink;</label>&community.exp.middle;<label class="text-link" href="about:credits">&community.exp.creditsLink;</label>&community.exp.end;
   1.130 +            </description>
   1.131 +          </vbox>
   1.132 +          <description class="text-blurb" id="communityDesc">
   1.133 +            &community.start2;<label class="text-link" href="http://www.mozilla.org/">&community.mozillaLink;</label>&community.middle2;<label class="text-link" href="about:credits">&community.creditsLink;</label>&community.end3;
   1.134 +          </description>
   1.135 +          <description class="text-blurb" id="contributeDesc">
   1.136 +            &contribute.start;<label class="text-link" href="http://www.mozilla.org/contribute/">&contribute.getInvolvedLink;</label>&contribute.end;
   1.137 +          </description>
   1.138 +        </vbox>
   1.139 +      </vbox>
   1.140 +    </hbox>
   1.141 +    <vbox id="bottomBox">
   1.142 +      <hbox pack="center">
   1.143 +        <label class="text-link bottom-link" href="about:license">&bottomLinks.license;</label>
   1.144 +        <label class="text-link bottom-link" href="about:rights">&bottomLinks.rights;</label>
   1.145 +        <label class="text-link bottom-link" href="https://www.mozilla.org/legal/privacy/">&bottomLinks.privacy;</label>
   1.146 +      </hbox>
   1.147 +      <description id="trademark">&trademarkInfo.part1;</description>
   1.148 +    </vbox>
   1.149 +  </vbox>
   1.150 +  
   1.151 +  <keyset>
   1.152 +    <key keycode="VK_ESCAPE" oncommand="window.close();"/>
   1.153 +  </keyset>
   1.154 +
   1.155 +#ifdef XP_MACOSX
   1.156 +#include browserMountPoints.inc
   1.157 +#endif
   1.158 +</window>

mercurial