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