reverted update to calendar.php