summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/addrbook/prefs/content/pref-editdirectories.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mailnews/addrbook/prefs/content/pref-editdirectories.xhtml')
-rw-r--r--comm/mailnews/addrbook/prefs/content/pref-editdirectories.xhtml77
1 files changed, 77 insertions, 0 deletions
diff --git a/comm/mailnews/addrbook/prefs/content/pref-editdirectories.xhtml b/comm/mailnews/addrbook/prefs/content/pref-editdirectories.xhtml
new file mode 100644
index 0000000000..381aee3050
--- /dev/null
+++ b/comm/mailnews/addrbook/prefs/content/pref-editdirectories.xhtml
@@ -0,0 +1,77 @@
+<?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://messenger/skin/messenger.css" type="text/css"?>
+
+<!DOCTYPE html SYSTEM "chrome://messenger/locale/addressbook/pref-directory.dtd">
+
+<html
+ 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>&pref.ldap.window.title;</title>
+ <link
+ rel="localization"
+ href="messenger/addressbook/aboutAddressBook.ftl"
+ />
+ <script
+ defer="defer"
+ src="chrome://messenger/content/addressbook/abCommon.js"
+ ></script>
+ <script
+ defer="defer"
+ src="chrome://messenger/content/addressbook/pref-editdirectories.js"
+ ></script>
+ </head>
+ <html:body
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ >
+ <dialog id="editDirectories" buttons="accept">
+ <stringbundle
+ id="bundle_addressBook"
+ src="chrome://messenger/locale/addressbook/addressBook.properties"
+ />
+
+ <label
+ value="&directoriesText.label;"
+ accesskey="&directoriesText.accesskey;"
+ control="directoriesList"
+ />
+ <hbox flex="1">
+ <richlistbox
+ id="directoriesList"
+ flex="1"
+ onselect="selectDirectory();"
+ ondblclick="dblClickDirectory(event);"
+ />
+ <vbox>
+ <button
+ id="addButton"
+ label="&addDirectory.label;"
+ accesskey="&addDirectory.accesskey;"
+ oncommand="addDirectory();"
+ />
+ <button
+ id="editButton"
+ label="&editDirectory.label;"
+ accesskey="&editDirectory.accesskey;"
+ disabled="true"
+ oncommand="editDirectory();"
+ />
+ <button
+ id="removeButton"
+ label="&deleteDirectory.label;"
+ accesskey="&deleteDirectory.accesskey;"
+ disabled="true"
+ oncommand="removeDirectory();"
+ />
+ </vbox>
+ </hbox>
+ </dialog>
+ </html:body>
+</html>