From d5014e5e2ae7542e11dbb048949b91da6b8f90a4 Mon Sep 17 00:00:00 2001 From: "hangas%netscape.com" Date: Sat, 15 May 1999 00:33:21 +0000 Subject: [PATCH] First Checked In. git-svn-id: svn://10.0.0.236/trunk@31705 18797224-902f-48f8-a5cc-f745e15eee43 --- .../mailnews/ui/ab/resources/addressbook.js | 34 +++++ mozilla/mailnews/ui/ab/resources/editcard.xul | 133 ++++++++++++++++++ 2 files changed, 167 insertions(+) create mode 100644 mozilla/mailnews/ui/ab/resources/addressbook.js create mode 100644 mozilla/mailnews/ui/ab/resources/editcard.xul diff --git a/mozilla/mailnews/ui/ab/resources/addressbook.js b/mozilla/mailnews/ui/ab/resources/addressbook.js new file mode 100644 index 00000000000..cc658ef8fa7 --- /dev/null +++ b/mozilla/mailnews/ui/ab/resources/addressbook.js @@ -0,0 +1,34 @@ +function EditCard() +{ + var toolkitCore = XPAppCoresManager.Find("ToolkitCore"); + if (!toolkitCore) + { + toolkitCore = new ToolkitCore(); + if (toolkitCore) + { + toolkitCore.Init("ToolkitCore"); + } + } + + if (toolkitCore) + { + toolkitCore.ShowWindow("chrome://addressbook/content/editcard.xul", window); + } +} + + +function AbNewCard() +{ + EditCard(); +} + + +function EditCardOKButton() +{ + dump("OK Hit\n"); +} + +function EditCardCancelButton() +{ + dump("Cancel Hit\n"); +} diff --git a/mozilla/mailnews/ui/ab/resources/editcard.xul b/mozilla/mailnews/ui/ab/resources/editcard.xul new file mode 100644 index 00000000000..0de4f55579b --- /dev/null +++ b/mozilla/mailnews/ui/ab/resources/editcard.xul @@ -0,0 +1,133 @@ + + + + + +]> + + + + + + + + + + + + Name + Address + Other + + + + + + + + First: + + + + + + Last: + + + + + + Display: + + + + + + Nickname: + + + + + + + + + * Primary email: + + + + + + Secondary email: + + + + + + Send email as plain text (no html) + + + + + + + + Work: + + + + + + Home: + + + + + + Fax: + + + + + + Pager: + + + + + + Cellular: + + + + + + + + Address tab empty + + + + Other tab empty + + + + + + + + + + + + + + + + +