Index: openacs-4/packages/ecommerce/www/contextbar.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/Attic/contextbar.adp,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/ecommerce/www/contextbar.adp 8 Mar 2004 19:46:11 -0000 1.3
+++ openacs-4/packages/ecommerce/www/contextbar.adp 28 Apr 2008 15:16:34 -0000 1.4
@@ -1 +1 @@
-
@context_bar;noquote@ [ Administer ]
+@context_bar;noquote@ [ Administer ] [ View Your Shopping Cart ]
Index: openacs-4/packages/ecommerce/www/contextbar.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/Attic/contextbar.tcl,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/ecommerce/www/contextbar.tcl 28 Apr 2008 13:01:33 -0000 1.7
+++ openacs-4/packages/ecommerce/www/contextbar.tcl 28 Apr 2008 15:16:34 -0000 1.8
@@ -25,9 +25,11 @@
set ec_admin_p [permission::permission_p -no_login -object_id [ad_conn package_id] -privilege admin]
if {$ec_admin_p} {
- set ec_admin_link "[apm_package_url_from_id [ad_conn package_id]]admin/"
+ set ec_admin_link "[ec_url]admin/"
}
+set cart_link "[ec_url]shopping-cart"
+
# Get the name of the ecommerce package
set ec_system_name [ec_system_name]