From: ich Date: Fri, 6 Aug 2010 09:09:48 +0000 (+0000) Subject: of course i forgot to add the proper "alt" tags... we need to make them translatable... X-Git-Tag: v8.01~950 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=762ba9d1859c0d75c92720f4e2137e2dce817cb7 of course i forgot to add the proper "alt" tags... we need to make them translatable at some point --- diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index 95da4cb89..004a6550b 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -581,7 +581,7 @@ void calendar_month_view(int year, int month, int day) { localtime_r(&previous_month, &tm); wc_printf("", (int)(tm.tm_year)+1900, tm.tm_mon + 1); - wc_printf("\"\"\n"); + wc_printf("\"previous\"\n"); wc_strftime(colheader_label, sizeof colheader_label, "%B", &starting_tm); wc_printf("  " @@ -593,7 +593,7 @@ void calendar_month_view(int year, int month, int day) { localtime_r(&next_month, &tm); wc_printf("", (int)(tm.tm_year)+1900, tm.tm_mon + 1); - wc_printf("\"\"\n"); + wc_printf("\"next\"\n"); wc_printf("\n"); @@ -709,7 +709,7 @@ void calendar_brief_month_view(int year, int month, int day) { /* Outer table (to get the background color) */ wc_printf("
" "
\n"); + "bgcolor=#204B78>
\n"); wc_printf("\n"); @@ -718,7 +718,7 @@ void calendar_brief_month_view(int year, int month, int day) { localtime_r(&previous_month, &tm); wc_printf("", (int)(tm.tm_year)+1900, tm.tm_mon + 1); - wc_printf("\"\"\n"); + wc_printf("\"previous\"\n"); wc_strftime(month_label, sizeof month_label, "%B", &tm); wc_printf("  " @@ -730,7 +730,7 @@ void calendar_brief_month_view(int year, int month, int day) { localtime_r(&next_month, &tm); wc_printf("", (int)(tm.tm_year)+1900, tm.tm_mon + 1); - wc_printf("\"\"\n"); + wc_printf("\"next\"\n"); wc_printf("
\n"); @@ -753,7 +753,7 @@ void calendar_brief_month_view(int year, int month, int day) { wc_strftime(&weeknumber[0], sizeof(weeknumber), "%U", &tm); wc_printf("" " \n", - _("Week"), + _("Week"), weeknumber, _("Hours"), _("Subject"), @@ -1300,7 +1300,7 @@ void calendar_day_view(int year, int month, int day) { wc_printf(""); wc_strftime(d_str, sizeof d_str, @@ -1318,7 +1318,7 @@ void calendar_day_view(int year, int month, int day) { wc_printf("");
%s %s
%s%s%s%s
"); wc_printf("", yesterday.year, yesterday.month, yesterday.day); - wc_printf("\"\""); + wc_printf("\"previous\""); wc_printf(""); wc_printf("", tomorrow.year, tomorrow.month, tomorrow.day); - wc_printf("\"\"\n"); wc_printf("