Less verbose.

This commit is contained in:
David F. Skoll
2007-10-01 17:27:58 -04:00
parent 019783e1fa
commit 730505cff3

View File

@@ -223,7 +223,7 @@ sub small_calendar
if ($col == 0) {
print("<tr>\n");
}
print("<td class=\"rem-sc-empty-cell\">&nbsp;</td>\n");
print("<td class=\"rem-sc-empty-cell\">&nbsp;</td>");
}
for (my $day=1; $day <= $monlen; $day++) {
@@ -231,7 +231,7 @@ sub small_calendar
print("<tr>\n");
}
$col++;
print("<td class=\"rem-sc-cell\">$day</td>\n");
print("<td class=\"rem-sc-cell\">$day</td>");
if ($col == 7) {
print("</tr>\n");
$col = 0;
@@ -239,7 +239,7 @@ sub small_calendar
}
if ($col) {
while ($col < 7) {
print("<td class=\"rem-sc-empty-cell\">&nbsp;</td>\n");
print("<td class=\"rem-sc-empty-cell\">&nbsp;</td>");
$col++;
}
print("</tr>\n");