ad_style_ec_search

one of the documented procedures in this installation of the ACS
Usage:
ad_style_ec_search   { string "" }   { tagset "" }
What it does:
Proc generated by ad_register_styletag to support the ec_search ADP tag.
Defined in: /web/philip/tcl/ecommerce-styles.tcl

Source code:

 
    upvar db db
    upvar category_id category_id

    if { ![info exists category_id] || $category_id == ""} {
	set category [DoubleApos [ns_set get $tagset "category"]]
	if {$category == ""} {
	    set category_id ""
	} else {
	    set category_id [database_to_tcl_string $db "select category_id from ec_categories where category_name = '$category'"]
	}
    }

    ec_search_widget $db $category_id $string


philg@mit.edu