[interchange-cvs] interchange - ramoore modified dist/foundation/templates/components/cart

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Wed Apr 2 01:29:00 2003


User:      ramoore
Date:      2003-04-02 06:27:00 GMT
Modified:  dist/foundation/templates/components cart
Log:
Add control component to show or hide continue shopping button.
Update image src= links inside button tags to work both in and out
of SSL mode.

Revision  Changes    Path
2.13      +8 -4      interchange/dist/foundation/templates/components/cart


rev 2.13, prev_rev 2.12
Index: cart
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/components/cart,v
retrieving revision 2.12
retrieving revision 2.13
diff -u -r2.12 -r2.13
--- cart	19 Feb 2003 13:59:41 -0000	2.12
+++ cart	2 Apr 2003 06:27:00 -0000	2.13
@@ -13,6 +13,10 @@
 	label: Put upsell come-in under item
 	type: yesno
 
+continue_shopping:
+        label: Show continue shopping button
+        type: yesno
+
 [/comment]
 <!-- BEGIN COMPONENT [control component cart] -->
 
@@ -321,7 +325,7 @@
 	  <td align="center" valign="center"> 
     		[button
      		  text="[L]Check Out[/L]"
-		  src="__THEME__/checkout_button.gif"
+		  src="__IMAGE_DIR__/__THEME__/checkout_button.gif"
 		  hidetext=1
 		  form=basket
 		  ]
@@ -333,7 +337,7 @@
 	    [if type=explicit compare="[control continue_shopping]"]
     	      [button
 		text="[L]Continue shopping[/L]"
-     		src="continue_shopping.gif"
+     		src="__IMAGE_DIR__/__THEME__/continue_shopping.gif"
 		hidetext=1
 		form=basket
 	      ]
@@ -402,7 +406,7 @@
   [else]
       [button
           text="[L]Save This Cart[/L]"
-          src="__THEME__/savecart.gif"
+          src="__IMAGE_DIR__/__THEME__/savecart.gif"
           extra="class=contentbar2"
           hidetext=1
           form=basket
@@ -414,7 +418,7 @@
       [/button]
       [button
           text="[L]Set As Recurring Order[/L]"
-          src="__THEME__/saverecur.gif"
+          src="__IMAGE_DIR__/__THEME__/saverecur.gif"
           extra="class=contentbar2"
           hidetext=1
           form=basket