From 54ddba4eea4316b875609264774ffba467f96e5d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 8 Jun 2003 19:26:26 +0000 Subject: - Fixes CSS for archive calendar so that you can make non-link days padded in a sensible fashion. Also removes table width 100% and puts that in css. Patch #48 by Al. --- modules/archive/archive.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/archive') diff --git a/modules/archive/archive.module b/modules/archive/archive.module index 05848c06b..0f7370daa 100644 --- a/modules/archive/archive.module +++ b/modules/archive/archive.module @@ -71,7 +71,7 @@ function archive_calendar($original = 0) { // Generate calendar header: $output .= "\n\n"; $output .= "
"; - $output .= "\n"; + $output .= "
\n"; $output .= " \n"; // First day of week (0 => Sunday, 1 => Monday, ...) @@ -103,7 +103,7 @@ function archive_calendar($original = 0) { } // Start every week on a new line: if ($sday == $weekstart) { - $output .= " \n"; + $output .= " \n"; } // Print one cell: @@ -112,7 +112,7 @@ function archive_calendar($original = 0) { $daytext = l($nday, "archive/$year/$month/$nday"); } else { - $daytext = $nday; + $daytext = "
$nday
"; } if ($date == $requested) { $output .= " \n"; -- cgit v1.2.3
". l("<", "archive/". date("Y/m/d", $prev)) ." ". date("F Y", $requested) ." ". ($nextmonth <= time() ? l(">", "archive/". date("Y/m/d", $next)) : ">") ."
$daytext