");
+ wprintf("");
char *tabnames[] = {
_("General"),
@@ -64,7 +93,9 @@ void display_siteconfig(void)
_("Tuning"),
_("Directory"),
_("Auto-purger"),
- _("Indexing/Journaling")
+ _("Indexing/Journaling"),
+ _("Push Email"),
+ _("Pop3")
};
sprintf(general, "%s ",
@@ -87,8 +118,12 @@ void display_siteconfig(void)
sprintf(directory, "%s %s ",
_("Configure the LDAP connector for Citadel"),
- _("Changes made on this screen will not take effect "
- "until you restart the Citadel server.")
+ (serv_info.serv_supports_ldap
+ ? _("Changes made on this screen will not take effect "
+ "until you restart the Citadel server.")
+ : _("NOTE: This Citadel server has been built without "
+ "LDAP support. These options will have no effect.")
+ )
);
sprintf(purger, "%s %s ",
@@ -100,191 +135,201 @@ void display_siteconfig(void)
_("Indexing and Journaling"),
_("Warning: these facilities are resource intensive.")
);
+ sprintf(funambol, "%s ",
+ _("Push Email")
+ );
-
+ sprintf(pop3, "%s ",
+ _("POP3")
+ );
+
wprintf("
");
sprintf(&purger[strlen(purger)], "
");
sprintf(&idxjnl[strlen(idxjnl)], "
");
+ sprintf(&funambol[strlen(funambol)], "
");
+ sprintf(&pop3[strlen(pop3)], "
");
- tabbed_dialog(7, tabnames);
+ tabbed_dialog(9, tabnames);
- begin_tab(0, 7); wprintf("%s", general); end_tab(0, 7);
- begin_tab(1, 7); wprintf("%s", access); end_tab(1, 7);
- begin_tab(2, 7); wprintf("%s", network); end_tab(2, 7);
- begin_tab(3, 7); wprintf("%s", tuning); end_tab(3, 7);
- begin_tab(4, 7); wprintf("%s", directory); end_tab(4, 7);
- begin_tab(5, 7); wprintf("%s", purger); end_tab(5, 7);
- begin_tab(6, 7); wprintf("%s", idxjnl); end_tab(6, 7);
+ begin_tab(0, 9); StrBufAppendBufPlain(WCC->WBuf, general, strlen(general), 0); end_tab(0, 9);
+ begin_tab(1, 9); StrBufAppendBufPlain(WCC->WBuf, access, strlen(access), 0); end_tab(1, 9);
+ begin_tab(2, 9); StrBufAppendBufPlain(WCC->WBuf, network, strlen(network), 0); end_tab(2, 9);
+ begin_tab(3, 9); StrBufAppendBufPlain(WCC->WBuf, tuning, strlen(tuning), 0); end_tab(3, 9);
+ begin_tab(4, 9); StrBufAppendBufPlain(WCC->WBuf, directory, strlen(directory), 0); end_tab(4, 9);
+ begin_tab(5, 9); StrBufAppendBufPlain(WCC->WBuf, purger, strlen(purger), 0); end_tab(5, 9);
+ begin_tab(6, 9); StrBufAppendBufPlain(WCC->WBuf, idxjnl, strlen(idxjnl), 0); end_tab(6, 9);
+ begin_tab(7, 9); StrBufAppendBufPlain(WCC->WBuf, funambol, strlen(funambol), 0); end_tab(7, 9);
+ begin_tab(8, 9); StrBufAppendBufPlain(WCC->WBuf, pop3, strlen(pop3), 0); end_tab(8, 9);
- wprintf(" ");
+ begin_tab(9, 9);
wprintf(" ", _("Save changes"));
wprintf(" ");
wprintf(" \n", _("Cancel"));
- wprintf("
\n");
- wprintf("
\n");
+ end_tab(9, 9);
+
+ wprintf("\n");
+ wprintf("