fixed bug in dt_widget_day that only shows up if activity is more than one hour long. Essentially the_hour was incrd by i to get a new index value. The previous index is later needed, so I added an expression to subtract i from the_hour
fixed more calendar navigation links. similar to previous fix. Also fixed list display so that it only shows activities for one day at a time. Also fixed link in url_template. Moved sort_by query grab to ad_page_contract as optional query var. --Tom Jackson