restored code to tccalendar.tpl that got removed