summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/im/content/addbuddy.xhtml
blob: 5c4fbfbf94b1a7b137d34c3897ca8392f119411e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/imMenulist.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/input-fields.css" type="text/css"?>

<!DOCTYPE html SYSTEM "chrome://messenger/locale/addbuddy.dtd">

<html
  id="addBuddyDialog"
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:html="http://www.w3.org/1999/xhtml"
  scrolling="false"
>
  <head>
    <title>&addBuddyWindow.title;</title>
    <script
      defer="defer"
      src="chrome://messenger/content/globalOverlay.js"
    ></script>
    <script
      defer="defer"
      src="chrome://global/content/editMenuOverlay.js"
    ></script>
    <script
      defer="defer"
      src="chrome://messenger/content/chat/addbuddy.js"
    ></script>
  </head>
  <html:body
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  >
    <dialog buttons="accept,cancel" buttondisabledaccept="true">
      <hbox>
        <vbox id="nameBox">
          <hbox align="center" flex="1">
            <label value="&name.label;" control="name" />
          </hbox>
          <hbox align="center" flex="1">
            <label value="&account.label;" control="accountlist" />
          </hbox>
        </vbox>
        <vbox id="accountBox">
          <html:input
            id="name"
            type="text"
            class="input-inline"
            oninput="addBuddy.oninput()"
          />
          <menulist id="accountlist" />
        </vbox>
      </hbox>
    </dialog>
  </html:body>
</html>