reverted calendar.php