Update calendar.php

code tidy