browser/base/content/aboutDialog.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
michael@0 2
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
michael@0 8 <?xml-stylesheet href="chrome://browser/content/aboutDialog.css" type="text/css"?>
michael@0 9 <?xml-stylesheet href="chrome://branding/content/aboutDialog.css" type="text/css"?>
michael@0 10
michael@0 11 <!DOCTYPE window [
michael@0 12 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
michael@0 13 %brandDTD;
michael@0 14 <!ENTITY % aboutDialogDTD SYSTEM "chrome://browser/locale/aboutDialog.dtd" >
michael@0 15 %aboutDialogDTD;
michael@0 16 ]>
michael@0 17
michael@0 18 #ifdef XP_MACOSX
michael@0 19 <?xul-overlay href="chrome://browser/content/macBrowserOverlay.xul"?>
michael@0 20 #endif
michael@0 21
michael@0 22 <window xmlns:html="http://www.w3.org/1999/xhtml"
michael@0 23 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
michael@0 24 id="aboutDialog"
michael@0 25 windowtype="Browser:About"
michael@0 26 onload="init(event);"
michael@0 27 #ifdef MOZ_UPDATER
michael@0 28 onunload="onUnload(event);"
michael@0 29 #endif
michael@0 30 #ifdef XP_MACOSX
michael@0 31 inwindowmenu="false"
michael@0 32 #else
michael@0 33 title="&aboutDialog.title;"
michael@0 34 #endif
michael@0 35 role="dialog"
michael@0 36 aria-describedby="version distribution distributionId communityDesc contributeDesc trademark"
michael@0 37 >
michael@0 38
michael@0 39 <script type="application/javascript" src="chrome://browser/content/aboutDialog.js"/>
michael@0 40
michael@0 41 <vbox id="aboutDialogContainer">
michael@0 42 <hbox id="clientBox">
michael@0 43 <vbox id="leftBox" flex="1"/>
michael@0 44 <vbox id="rightBox" flex="1">
michael@0 45 #expand <label id="version">__MOZ_APP_VERSION__</label>
michael@0 46 <label id="distribution" class="text-blurb"/>
michael@0 47 <label id="distributionId" class="text-blurb"/>
michael@0 48
michael@0 49 <vbox id="detailsBox">
michael@0 50 <vbox id="updateBox">
michael@0 51 #ifdef MOZ_UPDATER
michael@0 52 <deck id="updateDeck" orient="vertical">
michael@0 53 <hbox id="checkForUpdates" align="center">
michael@0 54 <button id="checkForUpdatesButton" align="start"
michael@0 55 label="&update.checkForUpdatesButton.label;"
michael@0 56 accesskey="&update.checkForUpdatesButton.accesskey;"
michael@0 57 oncommand="gAppUpdater.checkForUpdates();"/>
michael@0 58 <spacer flex="1"/>
michael@0 59 </hbox>
michael@0 60 <hbox id="downloadAndInstall" align="center">
michael@0 61 <button id="downloadAndInstallButton" align="start"
michael@0 62 oncommand="gAppUpdater.doUpdate();"/>
michael@0 63 <!-- label and accesskey will be filled by JS -->
michael@0 64 <spacer flex="1"/>
michael@0 65 </hbox>
michael@0 66 <hbox id="apply" align="center">
michael@0 67 <button id="updateButton" align="start"
michael@0 68 label="&update.updateButton.label;"
michael@0 69 accesskey="&update.updateButton.accesskey;"
michael@0 70 oncommand="gAppUpdater.buttonRestartAfterDownload();"/>
michael@0 71 <spacer flex="1"/>
michael@0 72 </hbox>
michael@0 73 <hbox id="applyBillboard" align="center">
michael@0 74 <button id="applyButtonBillboard" align="start"
michael@0 75 label="&update.applyButtonBillboard.label;"
michael@0 76 accesskey="&update.applyButtonBillboard.accesskey;"
michael@0 77 oncommand="gAppUpdater.buttonApplyBillboard();"/>
michael@0 78 <spacer flex="1"/>
michael@0 79 </hbox>
michael@0 80 <hbox id="checkingForUpdates" align="center">
michael@0 81 <image class="update-throbber"/><label>&update.checkingForUpdates;</label>
michael@0 82 </hbox>
michael@0 83 <hbox id="downloading" align="center">
michael@0 84 <image class="update-throbber"/><label>&update.downloading.start;</label><label id="downloadStatus"/><label>&update.downloading.end;</label>
michael@0 85 </hbox>
michael@0 86 <hbox id="applying" align="center">
michael@0 87 <image class="update-throbber"/><label>&update.applying;</label>
michael@0 88 </hbox>
michael@0 89 <hbox id="downloadFailed" align="center">
michael@0 90 <label>&update.failed.start;</label><label id="failedLink" class="text-link">&update.failed.linkText;</label><label>&update.failed.end;</label>
michael@0 91 </hbox>
michael@0 92 <hbox id="adminDisabled" align="center">
michael@0 93 <label>&update.adminDisabled;</label>
michael@0 94 </hbox>
michael@0 95 <hbox id="noUpdatesFound" align="center">
michael@0 96 <label>&update.noUpdatesFound;</label>
michael@0 97 </hbox>
michael@0 98 <hbox id="otherInstanceHandlingUpdates" align="center">
michael@0 99 <label>&update.otherInstanceHandlingUpdates;</label>
michael@0 100 </hbox>
michael@0 101 <hbox id="manualUpdate" align="center">
michael@0 102 <label>&update.manual.start;</label><label id="manualLink" class="text-link"/><label>&update.manual.end;</label>
michael@0 103 </hbox>
michael@0 104 <hbox id="unsupportedSystem" align="center">
michael@0 105 <label>&update.unsupported.start;</label><label id="unsupportedLink" class="text-link">&update.unsupported.linkText;</label><label>&update.unsupported.end;</label>
michael@0 106 </hbox>
michael@0 107 </deck>
michael@0 108 #endif
michael@0 109 </vbox>
michael@0 110
michael@0 111 #if MOZ_UPDATE_CHANNEL != release
michael@0 112 #ifdef MOZ_UPDATER
michael@0 113 <description class="text-blurb" id="currentChannelText">
michael@0 114 &channel.description.start;<label id="currentChannel"/>&channel.description.end;
michael@0 115 </description>
michael@0 116 #endif
michael@0 117 #endif
michael@0 118 <vbox id="experimental" hidden="true">
michael@0 119 <description class="text-blurb" id="warningDesc">
michael@0 120 &warningDesc.version;
michael@0 121 #ifdef MOZ_TELEMETRY_ON_BY_DEFAULT
michael@0 122 &warningDesc.telemetryDesc;
michael@0 123 #endif
michael@0 124 </description>
michael@0 125 <description class="text-blurb" id="communityExperimentalDesc">
michael@0 126 &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;
michael@0 127 </description>
michael@0 128 </vbox>
michael@0 129 <description class="text-blurb" id="communityDesc">
michael@0 130 &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;
michael@0 131 </description>
michael@0 132 <description class="text-blurb" id="contributeDesc">
michael@0 133 &contribute.start;<label class="text-link" href="http://www.mozilla.org/contribute/">&contribute.getInvolvedLink;</label>&contribute.end;
michael@0 134 </description>
michael@0 135 </vbox>
michael@0 136 </vbox>
michael@0 137 </hbox>
michael@0 138 <vbox id="bottomBox">
michael@0 139 <hbox pack="center">
michael@0 140 <label class="text-link bottom-link" href="about:license">&bottomLinks.license;</label>
michael@0 141 <label class="text-link bottom-link" href="about:rights">&bottomLinks.rights;</label>
michael@0 142 <label class="text-link bottom-link" href="https://www.mozilla.org/legal/privacy/">&bottomLinks.privacy;</label>
michael@0 143 </hbox>
michael@0 144 <description id="trademark">&trademarkInfo.part1;</description>
michael@0 145 </vbox>
michael@0 146 </vbox>
michael@0 147
michael@0 148 <keyset>
michael@0 149 <key keycode="VK_ESCAPE" oncommand="window.close();"/>
michael@0 150 </keyset>
michael@0 151
michael@0 152 #ifdef XP_MACOSX
michael@0 153 #include browserMountPoints.inc
michael@0 154 #endif
michael@0 155 </window>

mercurial