|
1 <?xml version="1.0"?> |
|
2 <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- --> |
|
3 <!-- |
|
4 |
|
5 This Source Code Form is subject to the terms of the Mozilla Public |
|
6 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
7 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
8 |
|
9 <?xml-stylesheet href="chrome://mozapps/skin/profile/profileSelection.css" type="text/css"?> |
|
10 |
|
11 <!DOCTYPE window [ |
|
12 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> |
|
13 %brandDTD; |
|
14 <!ENTITY % profileDTD SYSTEM "chrome://mozapps/locale/profile/profileSelection.dtd"> |
|
15 %profileDTD; |
|
16 ]> |
|
17 |
|
18 <dialog |
|
19 id="profileWindow" |
|
20 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
21 class="non-resizable" |
|
22 title="&windowtitle.label;" |
|
23 orient="vertical" |
|
24 buttons="accept,cancel" |
|
25 style="width: 30em;" |
|
26 onload="startup();" |
|
27 ondialogaccept="return acceptDialog()" |
|
28 ondialogcancel="return exitDialog()" |
|
29 buttonlabelaccept="&start.label;" |
|
30 buttonlabelcancel="&exit.label;"> |
|
31 |
|
32 <stringbundle id="bundle_profileManager" |
|
33 src="chrome://mozapps/locale/profile/profileSelection.properties"/> |
|
34 <stringbundle id="bundle_brand" |
|
35 src="chrome://branding/locale/brand.properties"/> |
|
36 |
|
37 <script type="application/javascript" src="chrome://mozapps/content/profile/profileSelection.js"/> |
|
38 |
|
39 <description class="label">&pmDescription.label;</description> |
|
40 |
|
41 <separator class="thin"/> |
|
42 |
|
43 <hbox class="profile-box indent" flex="1"> |
|
44 |
|
45 <vbox id="managebuttons"> |
|
46 <button id="newbutton" label="&newButton.label;" |
|
47 accesskey="&newButton.accesskey;" oncommand="CreateProfileWizard();"/> |
|
48 <button id="renbutton" label="&renameButton.label;" |
|
49 accesskey="&renameButton.accesskey;" oncommand="RenameProfile();"/> |
|
50 <button id="delbutton" label="&deleteButton.label;" |
|
51 accesskey="&deleteButton.accesskey;" oncommand="ConfirmDelete();"/> |
|
52 </vbox> |
|
53 |
|
54 <separator flex="1"/> |
|
55 |
|
56 <vbox flex="1"> |
|
57 <listbox id="profiles" rows="5" seltype="single" |
|
58 ondblclick="onProfilesDblClick(event)" |
|
59 onkeypress="onProfilesKey(event);"> |
|
60 </listbox> |
|
61 |
|
62 <!-- Bug 257777 --> |
|
63 <checkbox id="offlineState" label="&offlineState.label;" accesskey="&offlineState.accesskey;"/> |
|
64 |
|
65 <checkbox id="autoSelectLastProfile" label="&useSelected.label;" |
|
66 accesskey="&useSelected.accesskey;"/> |
|
67 </vbox> |
|
68 |
|
69 </hbox> |
|
70 </dialog> |