Has anyone ever noticed this? Its from 4.6.3.
I have no idea what this widget is for or if its used anywhere. I does not seem to be used anywhere in the code base.
ad_proc -public template::widget::attachment {
element_reference
tag_attributes
} {
Render an attachment input widget.
@param element_reference Reference variable to the form element
@param tag_attributes HTML attributes to add to the tag
@return Form HTML for widget
} {
upvar $element_reference element
set output [input file element $tag_attributes]
set element(name) $element(attach_name)
set element(label) $element(attach_label)
set element(html) $element(attach_html)
append output [submit element $tag_attributes]
return $output
}