Index: openacs-4/packages/acs-tcl/tcl/widgets-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/widgets-procs.tcl,v diff -u -N -r1.23.2.8 -r1.23.2.9 --- openacs-4/packages/acs-tcl/tcl/widgets-procs.tcl 3 Jul 2020 07:27:29 -0000 1.23.2.8 +++ openacs-4/packages/acs-tcl/tcl/widgets-procs.tcl 8 Sep 2022 10:12:20 -0000 1.23.2.9 @@ -345,7 +345,7 @@ } } -ad_proc ad_html_colors {} "Returns an array of HTML colors and names." { +ad_proc -deprecated ad_html_colors {} "Returns an array of HTML colors and names." { return { { Black 0 0 0 } { Silver 192 192 192 } @@ -366,7 +366,14 @@ } } -ad_proc ad_color_widget_js {} "Returns JavaScript code necessary to use color widgets." { +ad_proc -deprecated ad_color_widget_js {} { + Returns JavaScript code necessary to use color widgets. + + DEPRECATED: HTML now has a native color widget that requires no + custom implementation. + + @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/color +} { return { var adHexTupletValues = '0123456789ABCDEF'; @@ -426,12 +433,17 @@ } } -ad_proc ad_color_widget { +ad_proc -deprecated ad_color_widget { name default { use_js 0 } } { Returns a color selection widget, optionally using JavaScript. Default is a string of the form '0,192,255'. + + DEPRECATED: HTML now has a native color widget that requires no + custom implementation. + + @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/color } { set out {
} append out [subst {