From 0b7f228495c8c07871bb355f1900ac29c42356c5 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 21 Apr 2007 03:01:28 +0000 Subject: [PATCH] In addition to all available address book rooms, the address book popup now also has an option to select from the local system's user list. --- webcit/addressbook_popup.c | 41 ++++++++++++++++++++++++++++---------- webcit/messages.c | 7 ++++++- 2 files changed, 37 insertions(+), 11 deletions(-) diff --git a/webcit/addressbook_popup.c b/webcit/addressbook_popup.c index 467d9356c..41753f33e 100644 --- a/webcit/addressbook_popup.c +++ b/webcit/addressbook_popup.c @@ -27,6 +27,11 @@ void display_address_book_middle_div(void) { " onChange=\"PopulateAddressBookInnerDiv($('which_addr_book').value,'%s')\">", bstr("target_input") ); + + wprintf("\n"); + serv_puts("LKRA"); serv_getln(buf, sizeof buf); if (buf[0] == '1') while(serv_getln(buf, sizeof buf), strcmp(buf, "000")) { @@ -63,22 +68,38 @@ void display_address_book_middle_div(void) { */ void display_address_book_inner_div() { char buf[256]; + char username[256]; begin_ajax_response(); wprintf("
" "\n"); diff --git a/webcit/messages.c b/webcit/messages.c index 86ec2a5ac..9e686029f 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -3074,7 +3074,12 @@ void display_enter(void) wprintf(""); wprintf(""); - wprintf(_("Subject (optional):")); + if (recipient_required) { + wprintf(_("Subject:")); + } + else { + wprintf(_("Subject (optional):")); + } wprintf(""); wprintf("" "