Address book popup now begins to look like something with
[citadel.git] / webcit / addressbook_popup.c
1 /*
2  * $Id:  $
3  *//**
4  * \defgroup AjaxAutoCompletion ajax-powered autocompletion...
5  * \ingroup ClientPower
6  */
7
8 /*@{*/
9 #include "webcit.h"
10
11 /**
12  * \brief Address book popup results
13  */
14 void display_address_book_inner_div(void) {
15         int i;
16
17         begin_ajax_response();
18
19         wprintf("<div align=center><form>"
20                 "<select name=\"whichaddr\" size=\"15\">\n");
21
22         for (i=0; i<100; ++i) {
23                 wprintf("<option>Contact %d &lt;contact%d@example.com&gt;</option>\n", i, i);
24         }
25
26         wprintf("</select></form></div>\n");
27
28         end_ajax_response();
29 }
30
31
32 /** @} */