dt_widget_month_centered (public, deprecated)

 dt_widget_month_centered [ -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 ]

Defined in packages/acs-datetime/tcl/acs-calendar-procs.tcl

Deprecated. Invoking this procedure generates a warning.

DEPRECATED: modern HTML5 feature make this widget less relevant. It is also cumbersome to style and localize.

Switches:
-calendar_details
(optional)
-date
(optional)
-days_of_week
(optional)
-large_calendar_p
(defaults to "0") (optional)
-master_bgcolor
(defaults to "black") (optional)
-header_bgcolor
(defaults to "black") (optional)
-header_text_color
(defaults to "white") (optional)
-header_text_size
(defaults to "+1") (optional)
-day_number_template
(defaults to "<!--$julian_date-->$day_number") (optional)
-day_header_size
(defaults to "1") (optional)
-day_header_bgcolor
(defaults to "#666666") (optional)
-calendar_width
(defaults to "0") (optional)
-day_bgcolor
(defaults to "#DDDDDD") (optional)
-day_text_color
(defaults to "white") (optional)
-empty_bgcolor
(defaults to "white") (optional)
-next_month_template
(optional)
-prev_month_template
(optional)
Returns:
a calendar for a specific month, with details supplied by Julian date. Defaults to this month.
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 _ _ (public) ad_log_deprecated ad_log_deprecated (public) dt_get_info dt_get_info (public) dt_widget_month_small dt_widget_month_small (public, deprecated) dt_widget_month_centered dt_widget_month_centered dt_widget_month_centered->_ dt_widget_month_centered->ad_log_deprecated dt_widget_month_centered->dt_get_info dt_widget_month_centered->dt_widget_month_small

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc dt_widget_month_centered

    if {$days_of_week eq ""} {
        set days_of_week [_ acs-datetime.short_days_of_week]
    }
    set output ""

    dt_get_info $date

    append output "
    <table>
    <tr valign='top'>
    <td>

    [dt_widget_month_small -calendar_details $calendar_details -date $prev_month -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>

    <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>

    <td>
    [dt_widget_month_small -calendar_details $calendar_details -date $next_month -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>
    </tr>
    </table>\n"

    return $output
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: