");
+ wprintf("");
char *tabnames[] = {
_("General"),
@@ -61,7 +62,9 @@ void display_siteconfig(void)
_("Tuning"),
_("Directory"),
_("Auto-purger"),
- _("Indexing/Journaling")
+ _("Indexing/Journaling"),
+ _("Push Email"),
+ _("Pop3")
};
sprintf(general, "%s ",
@@ -84,8 +87,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 ",
@@ -97,191 +104,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)], "
");
-
- tabbed_dialog(7, 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);
-
- wprintf(" ");
+ sprintf(&funambol[strlen(funambol)], "
");
+ sprintf(&pop3[strlen(pop3)], "
");
+
+ tabbed_dialog(9, tabnames);
+
+ begin_tab(0, 9); client_write(general, strlen(general)); end_tab(0, 9);
+ begin_tab(1, 9); client_write(access, strlen(access)); end_tab(1, 9);
+ begin_tab(2, 9); client_write(network, strlen(network)); end_tab(2, 9);
+ begin_tab(3, 9); client_write(tuning, strlen(tuning)); end_tab(3, 9);
+ begin_tab(4, 9); client_write(directory, strlen(directory)); end_tab(4, 9);
+ begin_tab(5, 9); client_write(purger, strlen(purger)); end_tab(5, 9);
+ begin_tab(6, 9); client_write(idxjnl, strlen(idxjnl)); end_tab(6, 9);
+ begin_tab(7, 9); client_write(funambol, strlen(funambol)); end_tab(7, 9);
+ begin_tab(8, 9); client_write(pop3, strlen(pop3)); end_tab(8, 9);
+ wprintf("");
wprintf(" ", _("Save changes"));
wprintf(" ");
wprintf(" \n", _("Cancel"));
wprintf("
\n");
- wprintf("
\n");
+ wprintf("