From 5cd3b628c5e7d8c4850a37be73f1d756272ef69b Mon Sep 17 00:00:00 2001 From: "David F. Skoll" Date: Tue, 2 Oct 2007 14:03:19 -0400 Subject: [PATCH] Minor tweaks. --- www/rem2html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/www/rem2html b/www/rem2html index e16b7915..06b1b7b5 100755 --- a/www/rem2html +++ b/www/rem2html @@ -368,19 +368,29 @@ sub draw_day_cell $msg = ' ' . escape_html($msg); } my $img; + my $alt; + my $title; if ($phase == 0) { $img = 'newmoon.png'; + $title = 'New Moon'; + $alt = 'new'; } elsif ($phase == 1) { $img = 'firstquarter.png'; + $title = 'First Quarter'; + $alt = '1st'; } elsif ($phase == 2) { $img = 'fullmoon.png'; + $alt = 'full'; + $title = 'Full Moon'; } else { $img = 'lastquarter.png'; + $alt = 'last'; + $title = 'Last Quarter'; } if ($Options{'imgbase'}) { $img = $Options{'imgbase'} . '/' . $img; } - print("
\"$img\"$msg
"); + print("
\"$alt\"$msg
"); } print "
$day

\n";