#include "webcit.h"
-/*
- * Call this right before wDumpContent() on any page which requires the address book popup
- */
-void address_book_popup(void) {
- /* Open a new div, hidden initially, for address book popups. */
- wc_printf("</div>\n"); /* End of 'content' div */
- wc_printf("<div id=\"address_book_popup\" style=\"display:none;\">");
- wc_printf("<div id=\"address_book_popup_container_div\">");
- wc_printf("<div id=\"address_book_popup_middle_div\"></div>");
- wc_printf("<div id=\"address_book_inner_div\"></div>");
- wc_printf("</div>");
- /* The 'address_book_popup' div will be closed by wDumpContent() */
-}
-
/*
* Address book popup window
*/
"RecurrenceShowHide(); \n"
"EnableOrDisableCheckButton(); \n"
);
- address_book_popup();
+ do_template("addressbook_popup");
+
wDumpContent(1);
if (created_new_vevent) {
ssize_t write(int fd, const void *buf, size_t count);
void cal_process_attachment(wc_mime_attachment *Mime);
-void address_book_popup(void);
void begin_ajax_response(void);
void end_ajax_response(void);