Index: openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs.tcl,v diff -u -r1.16 -r1.16.2.1 --- openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs.tcl 8 Mar 2004 19:46:11 -0000 1.16 +++ openacs-4/packages/ecommerce/tcl/ecommerce-widgets-procs.tcl 19 Dec 2004 12:17:25 -0000 1.16.2.1 @@ -16,20 +16,12 @@ } { set action_url "[ec_url]product-search" return " -
- - - - - - -
+ Search: [ec_combocategory_widget "f" $combocategory_id] for - - -
+ +
" } @@ -40,9 +32,9 @@ Category widget combining categories and subcategories } { if { $multiple_p == "f" } { - set select_tag "\n" } else { - set select_tag "\n" } set to_return "" set category_counter 0 @@ -75,9 +67,9 @@ # Check if the subcategory has been selected. if { [lsearch -exact $default "$category_id|$subcategory_id"] != -1 || [lsearch -exact $default $subcategory_name] != -1 } { - append to_return "" + append to_return "" } else { - append to_return "" + append to_return "" } } } @@ -594,9 +586,9 @@ db_foreach get_countries $sql { if { $default == $iso } { - append widget_value "\n" + append widget_value "\n" } else { - append widget_value "\n" + append widget_value "\n" } } append widget_value "\n" @@ -1179,3 +1171,25 @@ return "[ec_generic_html_form_select_widget $name_of_select $option_spec_list $default]" } + +ad_proc ec_state_widget { {default ""} {select_name "usps_abbrev"} } "Returns a state selection bar, based on state_widget" { + + set widget_value "\n" + return $widget_value +}