Index: openacs-4/packages/acs-templating/tcl/widget-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/widget-procs.tcl,v diff -u -r1.43 -r1.44 --- openacs-4/packages/acs-templating/tcl/widget-procs.tcl 29 Oct 2006 14:05:56 -0000 1.43 +++ openacs-4/packages/acs-templating/tcl/widget-procs.tcl 10 Jan 2007 21:22:12 -0000 1.44 @@ -116,7 +116,7 @@ set value [string trim [ns_queryget $element_id]] set is_optional [info exists element(optional)] - if { [empty_string_p $value] } { + if { $value eq "" } { if { [string is true $is_optional] } { return "" } else { @@ -125,7 +125,7 @@ } } - if { [string equal $value ":search:"] } { + if {$value eq ":search:"} { # user has selected 'search again' previously template::element::set_error $element(form_id) $element_id "Please enter a search string." return [list] @@ -288,7 +288,7 @@ # Spell-checker array set spellcheck [template::util::spellcheck::spellcheck_properties -element_ref element] - if { [string equal $element(mode) "edit"] && $spellcheck(render_p) } { + if { $element(mode) eq "edit" && $spellcheck(render_p) } { append output "
[_ acs-templating.Spellcheck]: [menu "$element(id).spellcheck" [nsv_get spellchecker lang_options] $spellcheck(selected_option) {}]" } @@ -316,16 +316,16 @@ } { upvar $attribute_reference attributes - if { ![string equal $mode "edit"] } { + if { $mode ne "edit" } { set output {} - if { ![empty_string_p $value] } { + if { $value ne "" } { append output "[ad_quotehtml $value]" } } else { set output "