I correct the errors which are found by Firefox Tiny Validator.
authorThierry Pasqualier <thierry@uncensored.citadel.org>
Wed, 7 Nov 2007 09:17:25 +0000 (09:17 +0000)
committerThierry Pasqualier <thierry@uncensored.citadel.org>
Wed, 7 Nov 2007 09:17:25 +0000 (09:17 +0000)
- a div tag in excess at the foot of the all pages (there remains one
  about it)
- a td tag which must be a th tag in the monthly view of the calendar

webcit/calendar_view.c
webcit/static/trailing.html

index 544db0c42b20638d0ae996e20178a4618bf56f8e..addfe9cac583b0316c24c8fa95ad061ad7dd151a 100644 (file)
@@ -539,7 +539,7 @@ void calendar_month_view(int year, int month, int day) {
                colheader_time = thetime + (i * 86400) ;
                localtime_r(&colheader_time, &colheader_tm);
                wc_strftime(colheader_label, sizeof colheader_label, "%A", &colheader_tm);
-               wprintf("<td align=center width=14%%>"
+               wprintf("<th align=center width=14%%>"
                        "<font color=\"#FFFFFF\">%s</font></th>", colheader_label);
 
        }
index 8148bfbc347a6376a0f7ed173afecedb358f6729..c23c16a2a30b892843121c359bbc7685926d378b 100644 (file)
@@ -7,6 +7,5 @@
  Rounded("div.tabcontent", "big transparent bottom");
  Rounded("div.tabcontent_submit", "big transparent bottom");
 </script>
-</div>
 </body>
 </html>