# This page displays a year calendar. It does not include the user's calendar events. ||define||sp_calendar_year||true|| ||include||surgeplus_calendar_top.htm|| ||begin_list|| ||ifdef||pre_listing_setup|| # ---------- This section sets up the days and previous/next buttons ----------
  $$Previous Year$$ ||year_of(current_year)|| $$Next Year$$  
# ---------- This draws a month heading --------------------- ||elseifdef||is_month_callback|| ||if(equal(mod(month_num,4),0))|| ||endif|| ||if(equal(mod(month_num,4),3))|| ||endif|| # ---------- This draws an individual day --------------------- ||elseifdef||is_day_callback|| ||ifdef||is_week_start||||endif|| \ ||ifdef||is_week_end||||endif||\ ||endif|| ||end_list||
# ---------- This draws a end of month heading --------------------- ||elseifdef||is_month_callback_end||
||month_name(month_num)||
||trim(weekday_name(0),1)|| ||trim(weekday_name(1),1)|| ||trim(weekday_name(2),1)|| ||trim(weekday_name(3),1)|| ||trim(weekday_name(4),1)|| ||trim(weekday_name(5),1)|| ||trim(weekday_name(6),1)||
\ ||ifdef||is_empty_day_callback||||else||\ ||day_num||||endif||\
||include||surgeplus_web_bottom.htm||