# This page displays all the user's calendar events for an entire month ||define||sp_calendar_month||true|| ||include||surgeplus_calendar_top.htm|| ||begin_list|| ||ifdef||pre_listing_setup|| # ---------- This section sets up the days and previous/next buttons ----------

|  |  | ||month_name(month_number_of(current_month))||, ||year_of(current_month)|| |  |  | $$Today$$ |

||elseifdef||is_weekday_headings_callback|| ||ifdef||is_week_start||
||endif|| ||weekday_name(weekday_num)|| ||ifdef||is_week_end||
||endif|| ||elseifdef||is_start_day_callback|| # ---------- This draws a day heading --------------------- ||ifdef||is_week_start||
||endif||
||month_date_of(current_day_in_user_time))|| |  | $$Add$$
||elseifdef||is_end_day_callback|| # ---------- This ends a day heading ---------------------

||ifdef||is_week_end|| ||endif|| ||else|| # ---------- This draws a single event ---------------------
||web_encode(trimline(concatenate(short_time_of(event_time_today_in_user_time),( ),event_field_x_name),15))||
||endif|| ||end_list|| ||include||surgeplus_web_bottom.htm||