# 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 ----------
  $$Previous Year$$ $$Previous Month$$ ||month_name(month_number_of(current_month))||, ||year_of(current_month)|| $$Next Month$$ $$Next Year$$ $$Today$$  
||elseifdef||is_weekday_headings_callback|| ||ifdef||is_week_start|| ||endif|| ||ifdef||is_week_end|| ||endif|| ||elseifdef||is_start_day_callback|| # ---------- This draws a day heading --------------------- ||ifdef||is_week_start|| ||endif|| ||ifdef||is_week_end|| ||endif|| ||else|| # ---------- This draws a single event --------------------- ||endif|| ||end_list||
||weekday_name(weekday_num)||
||elseifdef||is_end_day_callback|| # ---------- This ends a day heading ---------------------
||month_date_of(current_day_in_user_time))||   $$Add$$
||web_encode(trimline(concatenate(short_time_of(event_time_today_in_user_time),( ),event_field_x_name),15))||
||include||surgeplus_web_bottom.htm||