printf($layout_head, strftime("%B %Y", $when));
$cmon = true;
}
+ if (strlen($match[7]))
+ $title = '<a href="' . $match[7] . '">' . $match[5] . '</a>';
+ else
+ $title = $match[5];
+
if ($when == $today)
$color = 'ffff00';
- printf($layout_row, $color, $match[3], strftime("%A", $when), $match[5], $match[6], $match[4]);
+ printf($layout_row, $color, $match[3], strftime("%A", $when), $title, $match[6], $match[4]);
$color = $color == 'ffffff'?'d7d7d7':'ffffff';
}
}