dt_widget_year (public, deprecated)
dt_widget_year [ -calendar_details calendar_details ] [ -date date ] \ [ -days_of_week days_of_week ] \ [ -large_calendar_p large_calendar_p ] \ [ -master_bgcolor master_bgcolor ] \ [ -header_bgcolor header_bgcolor ] \ [ -header_text_color header_text_color ] \ [ -header_text_size header_text_size ] \ [ -day_number_template day_number_template ] \ [ -day_header_size day_header_size ] \ [ -day_header_bgcolor day_header_bgcolor ] \ [ -calendar_width calendar_width ] [ -day_bgcolor day_bgcolor ] \ [ -day_text_color day_text_color ] \ [ -empty_bgcolor empty_bgcolor ] \ [ -next_month_template next_month_template ] \ [ -prev_month_template prev_month_template ] [ -width width ]
Defined in packages/acs-datetime/tcl/acs-calendar-procs.tcl
Deprecated. Invoking this procedure generates a warning.
- Switches:
- -calendar_details (optional)
- -date (optional)
- -days_of_week (optional)
- -large_calendar_p (optional, defaults to
"0"
)- -master_bgcolor (optional, defaults to
"black"
)- -header_bgcolor (optional, defaults to
"black"
)- -header_text_color (optional, defaults to
"white"
)- -header_text_size (optional, defaults to
"+1"
)- -day_number_template (optional, defaults to
"<!--$julian_date-->$day_number"
)- -day_header_size (optional, defaults to
"1"
)- -day_header_bgcolor (optional, defaults to
"#666666"
)- -calendar_width (optional, defaults to
"0"
)- -day_bgcolor (optional, defaults to
"#DDDDDD"
)- -day_text_color (optional, defaults to
"white"
)- -empty_bgcolor (optional, defaults to
"white"
)- -next_month_template (optional)
- -prev_month_template (optional)
- -width (optional, defaults to
"2"
)- Returns:
- a year of small calendars given the starting month as a date. Defaults to this month. Data in calendar_details will be ignored.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc dt_widget_year if { $width < 1 || $width > 12 } { return "[_ acs-datetime.lt_Width_must_be_]" } if {$days_of_week eq ""} { set days_of_week "[_ acs-datetime.short_days_of_week]" } set output "<table><tr valign=top>\n" set current_width 0 for { set n 1 } { $n <= 12 } { incr n } { dt_get_info $date append output " <td> [dt_widget_month_small -calendar_details $calendar_details -date $date -days_of_week $days_of_week -large_calendar_p $large_calendar_p -master_bgcolor $master_bgcolor -header_bgcolor $header_bgcolor -header_text_color $header_text_color -header_text_size $header_text_size -day_number_template $day_number_template -day_header_size $day_header_size -day_header_bgcolor $day_header_bgcolor -calendar_width $calendar_width -day_bgcolor $day_bgcolor -day_text_color $day_text_color -empty_bgcolor $empty_bgcolor -next_month_template $next_month_template -prev_month_template $prev_month_template ] </td>\n" incr current_width if { $current_width == $width && $n != 12} { set current_width 0 append output "</tr><tr valign=top>\n" } set date $next_month } return [concat $output "</tr></table>\n"]XQL Not present: Generic, PostgreSQL, Oracle