X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fpreferences.c;h=a83f8c878299a31fa8508313269cef88ca8894fc;hb=73eb8bcfde3291e5c5e8512a7be08af645d8da8d;hp=c854533387fc9c649a660bde5390a47e47913955;hpb=1117d6510041ac7371d11e558cd384e267a9c92d;p=citadel.git diff --git a/webcit/preferences.c b/webcit/preferences.c index c85453338..a83f8c878 100644 --- a/webcit/preferences.c +++ b/webcit/preferences.c @@ -197,6 +197,9 @@ void display_preferences(void) char buf[256]; int i; int time_format; + time_t tt; + struct tm tm; + char daylabel[32]; time_format = get_time_format_cached (); @@ -319,12 +322,38 @@ void display_preferences(void) wprintf("\n"); wprintf("\n"); + /** + * Day of week to begin calendar month view + */ + get_preference("weekstart", buf, sizeof buf); + if (buf[0] == 0) strcpy(buf, "17"); + wprintf(""); + wprintf(_("Week starts on:")); + wprintf(""); + + wprintf("\n"); + wprintf("\n"); + /** * Signature */ get_preference("use_sig", buf, sizeof buf); if (buf[0] == 0) strcpy(buf, "no"); - wprintf(""); + wprintf(""); wprintf(_("Attach signature to email messages?")); wprintf(""); @@ -372,7 +401,7 @@ void display_preferences(void) /** Character set to assume is in use for improperly encoded headers */ get_preference("default_header_charset", buf, sizeof buf); if (buf[0] == 0) strcpy(buf, "UTF-8"); - wprintf(""); + wprintf(""); wprintf(_("Default character set for email headers:")); wprintf(""); wprintf("