123687 - ui for adding ldap directory to addressbook - r=sspitzer, sr=bienvenu

This commit is contained in:
shliang%netscape.com 2002-05-30 01:52:33 +00:00
Родитель 1278a3e105
Коммит 39f931a59e
3 изменённых файлов: 12 добавлений и 3 удалений

Просмотреть файл

@ -247,6 +247,14 @@ function AbClose()
top.close();
}
function AbNewLDAPDirectory()
{
window.openDialog("chrome://messenger/content/addressbook/pref-directory-add.xul",
"",
"chrome,modal=yes,resizable=no,centerscreen",
null);
}
function AbNewAddressBook()
{
var dialog = window.openDialog(

Просмотреть файл

@ -142,6 +142,7 @@ Contributor(s):
<menuitem label="&newCard.label;" accesskey="&newCard.accesskey;" oncommand="AbNewCard('dirTree')"/>
<menuitem label="&newListCmd.label;" accesskey="&newListCmd.accesskey;" oncommand="AbNewList('dirTree')"/>
<menuitem label="&newAddressBookCmd.label;" accesskey="&newAddressBookCmd.accesskey;" oncommand="AbNewAddressBook()"/>
<menuitem label="&newLDAPDirectoryCmd.label;" accesskey="&newLDAPDirectoryCmd.accesskey;" oncommand="AbNewLDAPDirectory()"/>
<menuseparator/>
<menuitem id="menu_newNavigator"/>
<menuitem id="menu_newEditor"/>

Просмотреть файл

@ -33,9 +33,9 @@ Rights Reserved.
<!ENTITY newAddressBookCmd.label "Address Book...">
<!-- LOCALIZATION NOTE (newAddressBookCmd.accesskey) : DONT_TRANSLATE -->
<!ENTITY newAddressBookCmd.accesskey "b">
<!ENTITY newDirectoryCmd.label ".Directory">
<!-- LOCALIZATION NOTE (newDirectoryCmd.accesskey) : DONT_TRANSLATE -->
<!ENTITY newDirectoryCmd.accesskey "d">
<!ENTITY newLDAPDirectoryCmd.label "LDAP Directory...">
<!-- LOCALIZATION NOTE (newLDAPDirectoryCmd.accesskey) : DONT_TRANSLATE -->
<!ENTITY newLDAPDirectoryCmd.accesskey "D">
<!ENTITY importCmd.label "Import...">
<!ENTITY importCmd.accesskey "I">
<!ENTITY exportCmd.label "Export...">