From 97722b7dc03c635483cf18bdeec9a8f18c1d7260 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Sat, 30 Dec 2006 03:56:36 -0500 Subject: [PATCH] fixed run.php .htaccess example so it'll work for directory with no filename improved css for calendar --- examples/calendar.css | 12 ++++++++++-- run.php | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/examples/calendar.css b/examples/calendar.css index 4269b6f..67651e0 100644 --- a/examples/calendar.css +++ b/examples/calendar.css @@ -24,7 +24,15 @@ div.calendar td.nonday,td.busy_day,td.busy_weekend,td.empty_day,td.empty_weekend font-size: 13px; } -div.calendar a { +div.calendar td.busy_weekend a { + display: block; + height: 100%; + border: 1px solid #444; + padding: 2px; + color: blue; +} + +div.calendar td.busy_day a { display: block; height: 100%; border: 1px solid #444; @@ -59,4 +67,4 @@ div.calendar td.empty_weekend { div.calendar td.nonday { background: #999; } -div.calendar td.year { text-align: center; font-size: 16px; height: auto; } +div.calendar td.year { background: #ddd; text-align: center; font-size: 16px; height: auto; } diff --git a/run.php b/run.php index d3fab6b..3a3d85a 100644 --- a/run.php +++ b/run.php @@ -53,6 +53,7 @@ # http://example.com/foo/bar.html # RewriteEngine on +# RewriteRule ^$ /foo/run.php # RewriteRule .*\.html$ /foo/run.php function run_php($basename = false) { -- 1.7.10.4