Index: openacs-4/packages/ecommerce/www/admin/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/index.adp,v diff -u -r1.6 -r1.7 --- openacs-4/packages/ecommerce/www/admin/index.adp 25 Aug 2008 19:11:39 -0000 1.6 +++ openacs-4/packages/ecommerce/www/admin/index.adp 5 Sep 2008 09:46:32 -0000 1.7 @@ -28,7 +28,7 @@
  • Potential Problems (@unresolved_problem_count@ unresolved problem@unresolved_problem_count_plural@)
  • -
  • Payment Gateway Administration
  • +
  • Payment Gateway Administration
  • Products (@n_products@ products; average price: @pretty_avg_price@)
  • Index: openacs-4/packages/ecommerce/www/admin/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/admin/index.tcl,v diff -u -r1.14 -r1.15 --- openacs-4/packages/ecommerce/www/admin/index.tcl 25 Aug 2008 12:09:23 -0000 1.14 +++ openacs-4/packages/ecommerce/www/admin/index.tcl 5 Sep 2008 09:46:32 -0000 1.15 @@ -59,9 +59,10 @@ set unresolved_problem_count [db_string unresolved_problem_count_select "select count(*) from ec_problems_log where resolved_date is null"] set unresolved_problem_count_plural [ec_decode $unresolved_problem_count 1 "" "s"] -set paymentgateway_key [ad_parameter -package_id [ec_id] PaymentGateway ecommerce] +set paymentgateway_key [parameter::get -package_id [ec_id] -parameter PaymentGateway -default ""] set paymentgateway_show 0 if { [string length $paymentgateway_key] > 1 } { + set paymentgateway_url [file join [apm_package_url_from_key $paymentgateway_key] admin] set paymentgateway_show 1 }