HTML Calendar: Accept a string for the $attrib parameter

The last parameter for calendar can be a string but it creates a illegal action because it is always managed as an array even if we test if later to convert it as a string.
The patch fix this problem.