Added show or no show to table of contents
Added blcok config option to show or not show category in table
fixed strtotime function for Y/m by replacing slashes with hyphens
corrected error by adding isset check