Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
michael@0 | 1 | <?xml version="1.0"?> |
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 | <!DOCTYPE overlay [ |
michael@0 | 8 | <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> |
michael@0 | 9 | <!ENTITY % syncBrandDTD SYSTEM "chrome://browser/locale/syncBrand.dtd"> |
michael@0 | 10 | <!ENTITY % syncDTD SYSTEM "chrome://browser/locale/preferences/sync.dtd"> |
michael@0 | 11 | %brandDTD; |
michael@0 | 12 | %syncBrandDTD; |
michael@0 | 13 | %syncDTD; |
michael@0 | 14 | ]> |
michael@0 | 15 | |
michael@0 | 16 | <overlay id="SyncPaneOverlay" |
michael@0 | 17 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 18 | xmlns:html="http://www.w3.org/1999/xhtml"> |
michael@0 | 19 | |
michael@0 | 20 | <prefpane id="paneSync" |
michael@0 | 21 | helpTopic="prefs-weave" |
michael@0 | 22 | onpaneload="gSyncPane.init()"> |
michael@0 | 23 | |
michael@0 | 24 | <preferences> |
michael@0 | 25 | <preference id="engine.addons" name="services.sync.engine.addons" type="bool"/> |
michael@0 | 26 | <preference id="engine.bookmarks" name="services.sync.engine.bookmarks" type="bool"/> |
michael@0 | 27 | <preference id="engine.history" name="services.sync.engine.history" type="bool"/> |
michael@0 | 28 | <preference id="engine.tabs" name="services.sync.engine.tabs" type="bool"/> |
michael@0 | 29 | <preference id="engine.prefs" name="services.sync.engine.prefs" type="bool"/> |
michael@0 | 30 | <preference id="engine.passwords" name="services.sync.engine.passwords" type="bool"/> |
michael@0 | 31 | </preferences> |
michael@0 | 32 | |
michael@0 | 33 | |
michael@0 | 34 | <script type="application/javascript" |
michael@0 | 35 | src="chrome://browser/content/preferences/sync.js"/> |
michael@0 | 36 | <script type="application/javascript" |
michael@0 | 37 | src="chrome://browser/content/sync/utils.js"/> |
michael@0 | 38 | |
michael@0 | 39 | |
michael@0 | 40 | <deck id="weavePrefsDeck"> |
michael@0 | 41 | |
michael@0 | 42 | <!-- These panels are for the "legacy" sync provider --> |
michael@0 | 43 | <vbox id="noAccount" align="center"> |
michael@0 | 44 | <spacer flex="1"/> |
michael@0 | 45 | <description id="syncDesc"> |
michael@0 | 46 | &weaveDesc.label; |
michael@0 | 47 | </description> |
michael@0 | 48 | <separator/> |
michael@0 | 49 | <label class="text-link" |
michael@0 | 50 | onclick="event.stopPropagation(); gSyncPane.openSetup(null);" |
michael@0 | 51 | value="&setupButton.label;"/> |
michael@0 | 52 | <vbox id="pairDevice"> |
michael@0 | 53 | <separator/> |
michael@0 | 54 | <label class="text-link" |
michael@0 | 55 | onclick="event.stopPropagation(); gSyncPane.openSetup('pair');" |
michael@0 | 56 | value="&pairDevice.label;"/> |
michael@0 | 57 | </vbox> |
michael@0 | 58 | <spacer flex="3"/> |
michael@0 | 59 | </vbox> |
michael@0 | 60 | |
michael@0 | 61 | <vbox id="hasAccount"> |
michael@0 | 62 | <groupbox class="syncGroupBox"> |
michael@0 | 63 | <!-- label is set to account name --> |
michael@0 | 64 | <caption id="accountCaption" align="center"> |
michael@0 | 65 | <image id="accountCaptionImage"/> |
michael@0 | 66 | <label id="accountName" value=""/> |
michael@0 | 67 | </caption> |
michael@0 | 68 | |
michael@0 | 69 | <hbox> |
michael@0 | 70 | <button type="menu" |
michael@0 | 71 | label="&manageAccount.label;" |
michael@0 | 72 | accesskey="&manageAccount.accesskey;"> |
michael@0 | 73 | <menupopup> |
michael@0 | 74 | <menuitem label="&viewQuota.label;" |
michael@0 | 75 | oncommand="gSyncPane.openQuotaDialog();"/> |
michael@0 | 76 | <menuseparator/> |
michael@0 | 77 | <menuitem label="&changePassword2.label;" |
michael@0 | 78 | oncommand="gSyncUtils.changePassword();"/> |
michael@0 | 79 | <menuitem label="&myRecoveryKey.label;" |
michael@0 | 80 | oncommand="gSyncUtils.resetPassphrase();"/> |
michael@0 | 81 | <menuseparator/> |
michael@0 | 82 | <menuitem label="&resetSync2.label;" |
michael@0 | 83 | oncommand="gSyncPane.resetSync();"/> |
michael@0 | 84 | </menupopup> |
michael@0 | 85 | </button> |
michael@0 | 86 | </hbox> |
michael@0 | 87 | |
michael@0 | 88 | <hbox> |
michael@0 | 89 | <label id="syncAddDeviceLabel" |
michael@0 | 90 | class="text-link" |
michael@0 | 91 | onclick="gSyncPane.openAddDevice(); return false;" |
michael@0 | 92 | value="&pairDevice.label;"/> |
michael@0 | 93 | </hbox> |
michael@0 | 94 | |
michael@0 | 95 | <vbox> |
michael@0 | 96 | <label value="&syncMy.label;" /> |
michael@0 | 97 | <richlistbox id="syncEnginesList" |
michael@0 | 98 | orient="vertical" |
michael@0 | 99 | onselect="if (this.selectedCount) this.clearSelection();"> |
michael@0 | 100 | <richlistitem> |
michael@0 | 101 | <checkbox label="&engine.addons.label;" |
michael@0 | 102 | accesskey="&engine.addons.accesskey;" |
michael@0 | 103 | preference="engine.addons"/> |
michael@0 | 104 | </richlistitem> |
michael@0 | 105 | <richlistitem> |
michael@0 | 106 | <checkbox label="&engine.bookmarks.label;" |
michael@0 | 107 | accesskey="&engine.bookmarks.accesskey;" |
michael@0 | 108 | preference="engine.bookmarks"/> |
michael@0 | 109 | </richlistitem> |
michael@0 | 110 | <richlistitem> |
michael@0 | 111 | <checkbox label="&engine.passwords.label;" |
michael@0 | 112 | accesskey="&engine.passwords.accesskey;" |
michael@0 | 113 | preference="engine.passwords"/> |
michael@0 | 114 | </richlistitem> |
michael@0 | 115 | <richlistitem> |
michael@0 | 116 | <checkbox label="&engine.prefs.label;" |
michael@0 | 117 | accesskey="&engine.prefs.accesskey;" |
michael@0 | 118 | preference="engine.prefs"/> |
michael@0 | 119 | </richlistitem> |
michael@0 | 120 | <richlistitem> |
michael@0 | 121 | <checkbox label="&engine.history.label;" |
michael@0 | 122 | accesskey="&engine.history.accesskey;" |
michael@0 | 123 | preference="engine.history"/> |
michael@0 | 124 | </richlistitem> |
michael@0 | 125 | <richlistitem> |
michael@0 | 126 | <checkbox label="&engine.tabs.label;" |
michael@0 | 127 | accesskey="&engine.tabs.accesskey;" |
michael@0 | 128 | preference="engine.tabs"/> |
michael@0 | 129 | </richlistitem> |
michael@0 | 130 | </richlistbox> |
michael@0 | 131 | </vbox> |
michael@0 | 132 | </groupbox> |
michael@0 | 133 | |
michael@0 | 134 | <groupbox class="syncGroupBox"> |
michael@0 | 135 | <grid> |
michael@0 | 136 | <columns> |
michael@0 | 137 | <column/> |
michael@0 | 138 | <column flex="1"/> |
michael@0 | 139 | </columns> |
michael@0 | 140 | <rows> |
michael@0 | 141 | <row align="center"> |
michael@0 | 142 | <label value="&syncDeviceName.label;" |
michael@0 | 143 | accesskey="&syncDeviceName.accesskey;" |
michael@0 | 144 | control="syncComputerName"/> |
michael@0 | 145 | <textbox id="syncComputerName" |
michael@0 | 146 | onchange="gSyncUtils.changeName(this)"/> |
michael@0 | 147 | </row> |
michael@0 | 148 | </rows> |
michael@0 | 149 | </grid> |
michael@0 | 150 | <hbox> |
michael@0 | 151 | <label class="text-link" |
michael@0 | 152 | onclick="gSyncPane.startOver(true); return false;" |
michael@0 | 153 | value="&unlinkDevice.label;"/> |
michael@0 | 154 | </hbox> |
michael@0 | 155 | </groupbox> |
michael@0 | 156 | <hbox id="tosPP" pack="center"> |
michael@0 | 157 | <label class="text-link" |
michael@0 | 158 | onclick="event.stopPropagation();gSyncUtils.openToS();" |
michael@0 | 159 | value="&prefs.tosLink.label;"/> |
michael@0 | 160 | <label class="text-link" |
michael@0 | 161 | onclick="event.stopPropagation();gSyncUtils.openPrivacyPolicy();" |
michael@0 | 162 | value="&prefs.ppLink.label;"/> |
michael@0 | 163 | </hbox> |
michael@0 | 164 | </vbox> |
michael@0 | 165 | |
michael@0 | 166 | <vbox id="needsUpdate" align="center" pack="center"> |
michael@0 | 167 | <hbox> |
michael@0 | 168 | <label id="loginError" value=""/> |
michael@0 | 169 | <label class="text-link" |
michael@0 | 170 | onclick="gSyncPane.updatePass(); return false;" |
michael@0 | 171 | value="&updatePass.label;"/> |
michael@0 | 172 | <label class="text-link" |
michael@0 | 173 | onclick="gSyncPane.resetPass(); return false;" |
michael@0 | 174 | value="&resetPass.label;"/> |
michael@0 | 175 | </hbox> |
michael@0 | 176 | <label class="text-link" |
michael@0 | 177 | onclick="gSyncPane.startOver(true); return false;" |
michael@0 | 178 | value="&unlinkDevice.label;"/> |
michael@0 | 179 | </vbox> |
michael@0 | 180 | |
michael@0 | 181 | <!-- These panels are for the Firefox Accounts identity provider --> |
michael@0 | 182 | <vbox id="fxaDeterminingStatus" align="center"> |
michael@0 | 183 | <spacer flex="1"/> |
michael@0 | 184 | <p>&determiningAcctStatus.label;</p> |
michael@0 | 185 | <spacer flex="1"/> |
michael@0 | 186 | </vbox> |
michael@0 | 187 | |
michael@0 | 188 | <vbox id="noFxaAccount"> |
michael@0 | 189 | <label>&welcome.description;</label> |
michael@0 | 190 | <label class="text-link" |
michael@0 | 191 | onclick="gSyncPane.signUp(); return false;" |
michael@0 | 192 | value="&welcome.createAccount.label;"/> |
michael@0 | 193 | <label class="text-link" |
michael@0 | 194 | onclick="gSyncPane.signIn(); return false;" |
michael@0 | 195 | value="&welcome.signIn.label;"/> |
michael@0 | 196 | <separator/> |
michael@0 | 197 | <label class="text-link" |
michael@0 | 198 | onclick="gSyncPane.openOldSyncSupportPage(); return false;" |
michael@0 | 199 | value="&welcome.useOldSync.label;"/> |
michael@0 | 200 | </vbox> |
michael@0 | 201 | |
michael@0 | 202 | <vbox id="hasFxaAccount"> |
michael@0 | 203 | <groupbox id="fxaGroup"> |
michael@0 | 204 | <caption label="&syncBrand.fxAccount.label;"/> |
michael@0 | 205 | |
michael@0 | 206 | <deck id="fxaLoginStatus"> |
michael@0 | 207 | |
michael@0 | 208 | <!-- logged in and verified and all is good --> |
michael@0 | 209 | <hbox> |
michael@0 | 210 | <label id="fxaEmailAddress1"/> |
michael@0 | 211 | <vbox flex="1"> |
michael@0 | 212 | <label class="text-link" |
michael@0 | 213 | onclick="gSyncPane.manageFirefoxAccount();" |
michael@0 | 214 | value="&manage.label;"/> |
michael@0 | 215 | </vbox> |
michael@0 | 216 | <vbox> |
michael@0 | 217 | <button id="fxaUnlinkButton" |
michael@0 | 218 | oncommand="gSyncPane.unlinkFirefoxAccount(true);" |
michael@0 | 219 | label="&disconnect.label;"/> |
michael@0 | 220 | </vbox> |
michael@0 | 221 | </hbox> |
michael@0 | 222 | |
michael@0 | 223 | <!-- logged in to an unverified account --> |
michael@0 | 224 | <hbox flex="1"> |
michael@0 | 225 | <description flex="1"> |
michael@0 | 226 | &signedInUnverified.beforename.label; |
michael@0 | 227 | <span id="fxaEmailAddress2"></span> |
michael@0 | 228 | &signedInUnverified.aftername.label; |
michael@0 | 229 | </description> |
michael@0 | 230 | <vbox align="end"> |
michael@0 | 231 | <button oncommand="gSyncPane.verifyFirefoxAccount();" |
michael@0 | 232 | label="&verify.label;"/> |
michael@0 | 233 | <label class="text-link" |
michael@0 | 234 | onclick="/* no warning as account can't have previously synced */ gSyncPane.unlinkFirefoxAccount(false);" |
michael@0 | 235 | value="&forget.label;"/> |
michael@0 | 236 | </vbox> |
michael@0 | 237 | </hbox> |
michael@0 | 238 | |
michael@0 | 239 | <!-- logged in locally but server rejected credentials --> |
michael@0 | 240 | <hbox flex="1"> |
michael@0 | 241 | <description flex="1"> |
michael@0 | 242 | &signedInLoginFailure.beforename.label; |
michael@0 | 243 | <span id="fxaEmailAddress3"></span> |
michael@0 | 244 | &signedInLoginFailure.aftername.label; |
michael@0 | 245 | </description> |
michael@0 | 246 | <vbox align="end"> |
michael@0 | 247 | <button oncommand="gSyncPane.reSignIn();" |
michael@0 | 248 | label="&signIn.label;"/> |
michael@0 | 249 | <label class="text-link" |
michael@0 | 250 | onclick="gSyncPane.unlinkFirefoxAccount(true);" |
michael@0 | 251 | value="&forget.label;"/> |
michael@0 | 252 | </vbox> |
michael@0 | 253 | </hbox> |
michael@0 | 254 | </deck> |
michael@0 | 255 | </groupbox> |
michael@0 | 256 | |
michael@0 | 257 | <groupbox id="syncOptions"> |
michael@0 | 258 | <caption label="&syncBrand.shortName.label;"/> |
michael@0 | 259 | <hbox id="fxaSyncEngines"> |
michael@0 | 260 | <vbox> |
michael@0 | 261 | <checkbox label="&engine.tabs.label;" |
michael@0 | 262 | accesskey="&engine.tabs.accesskey;" |
michael@0 | 263 | preference="engine.tabs"/> |
michael@0 | 264 | <checkbox label="&engine.bookmarks.label;" |
michael@0 | 265 | accesskey="&engine.bookmarks.accesskey;" |
michael@0 | 266 | preference="engine.bookmarks"/> |
michael@0 | 267 | <hbox> |
michael@0 | 268 | <checkbox id="fxa-pweng-chk" |
michael@0 | 269 | label="&engine.passwords.label;" |
michael@0 | 270 | accesskey="&engine.passwords.accesskey;" |
michael@0 | 271 | preference="engine.passwords"/> |
michael@0 | 272 | |
michael@0 | 273 | <vbox id="fxa-pweng-help"> |
michael@0 | 274 | <spacer flex="1"/> |
michael@0 | 275 | <hbox id="fxa-pweng-help-link"> |
michael@0 | 276 | <image onclick="gSyncUtils.openMPInfoPage(event);" /> |
michael@0 | 277 | </hbox> |
michael@0 | 278 | <spacer flex="1"/> |
michael@0 | 279 | </vbox> |
michael@0 | 280 | </hbox> |
michael@0 | 281 | <checkbox label="&engine.history.label;" |
michael@0 | 282 | accesskey="&engine.history.accesskey;" |
michael@0 | 283 | preference="engine.history"/> |
michael@0 | 284 | <checkbox label="&engine.addons.label;" |
michael@0 | 285 | accesskey="&engine.addons.accesskey;" |
michael@0 | 286 | preference="engine.addons"/> |
michael@0 | 287 | <checkbox label="&engine.prefs.label;" |
michael@0 | 288 | accesskey="&engine.prefs.accesskey;" |
michael@0 | 289 | preference="engine.prefs"/> |
michael@0 | 290 | </vbox> |
michael@0 | 291 | <spacer/> |
michael@0 | 292 | </hbox> |
michael@0 | 293 | </groupbox> |
michael@0 | 294 | <hbox align="center"> |
michael@0 | 295 | <label value="&syncDeviceName.label;" |
michael@0 | 296 | accesskey="&syncDeviceName.accesskey;" |
michael@0 | 297 | control="syncComputerName"/> |
michael@0 | 298 | <textbox id="fxaSyncComputerName" |
michael@0 | 299 | flex="1" |
michael@0 | 300 | onchange="gSyncUtils.changeName(this)"/> |
michael@0 | 301 | </hbox> |
michael@0 | 302 | <spacer flex="1"/> |
michael@0 | 303 | <hbox id="tosPP" pack="center"> |
michael@0 | 304 | <label class="text-link small" |
michael@0 | 305 | onclick="event.stopPropagation();gSyncUtils.openToS();" |
michael@0 | 306 | value="&prefs.tosLink.label;"/> |
michael@0 | 307 | <label class="text-link small" |
michael@0 | 308 | onclick="event.stopPropagation();gSyncUtils.openPrivacyPolicy();" |
michael@0 | 309 | value="&fxaPrivacyNotice.link.label;"/> |
michael@0 | 310 | </hbox> |
michael@0 | 311 | </vbox> |
michael@0 | 312 | </deck> |
michael@0 | 313 | </prefpane> |
michael@0 | 314 | </overlay> |