From: Art Cancro Date: Thu, 20 Jan 2005 21:24:27 +0000 (+0000) Subject: * When viewing a calendar room, the "Read all messages" link in the X-Git-Tag: v7.86~5128 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=759663ff99ce3d02988c9cc6e819fcf1795669e9;p=citadel.git * When viewing a calendar room, the "Read all messages" link in the room banner has been replaced by "Day view" and "Month view" links. (I have also imported icons for week and year views, in case we add these later.) --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 8a37d4670..e790d18d5 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,10 @@ $Log$ +Revision 528.15 2005/01/20 21:24:27 ajc +* When viewing a calendar room, the "Read all messages" link in the + room banner has been replaced by "Day view" and "Month view" links. + (I have also imported icons for week and year views, in case we add + these later.) + Revision 528.14 2005/01/20 16:13:56 ajc * Added in a bunch of stupid JavaScript to allow the instant message window to be dismissed. @@ -2203,3 +2209,4 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix + diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index f9f8164df..4f46c51cd 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -167,9 +167,6 @@ void calendar_month_view(int year, int month, int day) { "bgcolor=#204B78>\n"); wprintf("\n"); - wprintf("\n"); wprintf("
" - "Click on any date for day view " - ""); @@ -189,9 +186,7 @@ void calendar_month_view(int year, int month, int day) { (int)(tm.tm_year)+1900, tm.tm_mon + 1); wprintf("\n"); - wprintf("" - "Click on any date for day view " - "
\n"); + wprintf("\n"); /* Inner table (the real one) */ wprintf("" - "" - "" - "" - ); switch(WC->wc_view) { case VIEW_ADDRESSBOOK: - wprintf("View contacts"); + wprintf( + "\n" + ); break; case VIEW_CALENDAR: - wprintf("View calendar"); + wprintf( + "\n" + ); + wprintf( + "\n" + ); break; case VIEW_TASKS: - wprintf("View tasks"); + wprintf( + "\n" + ); break; case VIEW_NOTES: - wprintf("View notes"); + wprintf( + "\n" + ); break; default: - wprintf("All messages"); + wprintf( + "\n" + ); break; } - wprintf("\n"); } if (navbar_style == navbar_default) { diff --git a/webcit/static/day_view.gif b/webcit/static/day_view.gif new file mode 100644 index 000000000..64eada5d3 Binary files /dev/null and b/webcit/static/day_view.gif differ diff --git a/webcit/static/month_view.gif b/webcit/static/month_view.gif new file mode 100644 index 000000000..b8c930d44 Binary files /dev/null and b/webcit/static/month_view.gif differ diff --git a/webcit/static/week_view.gif b/webcit/static/week_view.gif new file mode 100644 index 000000000..95716b8c3 Binary files /dev/null and b/webcit/static/week_view.gif differ diff --git a/webcit/static/year_view.gif b/webcit/static/year_view.gif new file mode 100644 index 000000000..cf98bb834 Binary files /dev/null and b/webcit/static/year_view.gif differ
" + "" + "" + "" + "View contacts" + "" + "" + "" + "" + "Day view" + "" + "" + "" + "" + "Month view" + "" + "" + "" + "" + "View tasks" + "" + "" + "" + "" + "View notes" + "" + "" + "" + "" + "