Index: openacs-4/packages/acs-templating/tcl/date-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/date-procs.tcl,v diff -u -r1.37 -r1.37.2.1 --- openacs-4/packages/acs-templating/tcl/date-procs.tcl 29 Jul 2006 23:10:33 -0000 1.37 +++ openacs-4/packages/acs-templating/tcl/date-procs.tcl 13 Feb 2007 09:45:52 -0000 1.37.2.1 @@ -877,7 +877,7 @@ # Display text entry for some elements, or if the type is text if { [string equal $type t] || [regexp "year|short_year" $fragment] } { - set output "... tag. set attributes(id) "$element(form_id):elements:$element(name):$element(value)" + } elseif { [string equal $type "password"] || [string equal $type "text"] } { + set attributes(id) "$element(name)" } + # Handle display mode of visible normal form elements, i.e. not hidden, not submit, not button, not clear if { ![string equal $element(mode) "edit"] && [lsearch -exact { hidden submit button clear checkbox radio } $type] == -1 } { @@ -389,7 +392,7 @@ if { ![string equal $element(mode) "edit"] && [lsearch -exact { hidden submit button clear } $type] == -1 } { append output " disabled" - } + } if { [info exists element(value)] } { append output " value=\"[template::util::quote_html $element(value)]\"" @@ -655,7 +658,7 @@ } } default { - append output "