Index: openacs-4/packages/xotcl-core/tcl/html-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/html-procs.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/xotcl-core/tcl/html-procs.tcl 7 Aug 2017 23:48:30 -0000 1.4 +++ openacs-4/packages/xotcl-core/tcl/html-procs.tcl 3 Sep 2024 15:37:54 -0000 1.5 @@ -1,10 +1,29 @@ +::xo::library doc { + + Tdom support functions. Just to make Tdom createNodeCmds available. + + @author Gustaf Neumann (neumann@wu-wien.ac.at) +} + package require tdom -proc require_html_procs {} { +ad_proc -public -deprecated require_html_procs {} { + Deprecated: polluting the root namespace. + + @see ::xo::require_html_procs +} { + ::xo::require_html_procs +} + +ad_proc -public ::xo::require_html_procs {} { + + Declare Tcl commands for building HTML elements + +} { if {[info commands ::html::a] eq ""} { namespace eval ::html { - # Declare Tcl commands for building HTML elements. This is an complete + # Declare Tcl commands for building HTML elements. This is a complete # set taken from W3C on http://www.w3.org/TR/html4/index/elements.html # @@ -42,7 +61,7 @@ # # Command generating HTML tags. All these commands have - # following sytax: ?-option value ...? ?script? + # following syntax: ?-option value ...? ?script? # # -option name of HTML attribute # value attribute value