Index: openacs-4/packages/ecommerce/tcl/ecommerce-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/tcl/ecommerce-procs.tcl,v diff -u -r1.13 -r1.14 --- openacs-4/packages/ecommerce/tcl/ecommerce-procs.tcl 10 Sep 2002 22:22:36 -0000 1.13 +++ openacs-4/packages/ecommerce/tcl/ecommerce-procs.tcl 17 Sep 2002 03:36:38 -0000 1.14 @@ -208,40 +208,40 @@ # current_location can be "Shopping Cart", "Your Account", "Home", or # any category_id -ad_proc ec_footer { {current_location ""} {category_id ""} {subcategory_id ""} {search_text ""} } { returns the ecommerce footer } { - set to_return " -
-
- [ec_search_widget "$category_id|$subcategory_id" $search_text]" - if { [string compare $current_location "Shopping Cart"] == 0 } { - append to_return "Shopping Cart" - } else { - append to_return "Shopping Cart" - } - append to_return " | " - if { [string compare $current_location "Your Account"] == 0 } { - append to_return "Your Account" - } else { - append to_return "Your Account" - } - append to_return " | " - if { [string compare $current_location Home] == 0 } { - append to_return "[ec_system_name] Home" - } else { - append to_return "[ec_system_name] Home" - } - if { [llength [info procs ds_link]] == 1 } { - set ds_link [ds_link] - } else { - set ds_link "" - } - append to_return "
- [ad_system_name] -
-
- $ds_link" - return $to_return -} +# ad_proc ec_footer { {current_location ""} {category_id ""} {subcategory_id ""} {search_text ""} } { returns the ecommerce footer } { +# set to_return " +#
+#
+# [ec_search_widget "$category_id|$subcategory_id" $search_text]" +# if { [string compare $current_location "Shopping Cart"] == 0 } { +# append to_return "Shopping Cart" +# } else { +# append to_return "Shopping Cart" +# } +# append to_return " | " +# if { [string compare $current_location "Your Account"] == 0 } { +# append to_return "Your Account" +# } else { +# append to_return "Your Account" +# } +# append to_return " | " +# if { [string compare $current_location Home] == 0 } { +# append to_return "[ec_system_name] Home" +# } else { +# append to_return "[ec_system_name] Home" +# } +# if { [llength [info procs ds_link]] == 1 } { +# set ds_link [ds_link] +# } else { +# set ds_link "" +# } +# append to_return "
+# [ad_system_name] +#
+#
+# $ds_link" +# return $to_return +# } # For administrators ad_proc ec_shipping_cost_summary { base_shipping_cost default_shipping_per_item weight_shipping_cost add_exp_base_shipping_cost add_exp_amount_per_item add_exp_amount_by_weight } { returns cost summary } {